PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : htaccess



x45
27.09.03, 14:28
Hi!
Ich habe auf meinem Server Apache installiert (Version weiß ich jetzt nicht).
Wie bzw. wo kann ich die Unterstützung für htaccess aktivieren?

x45

reno
27.09.03, 17:50
Ja griaß Di,
mit der AllowOverride (http://httpd.apache.org/docs/mod/core.html#allowoverride) Direktive.

DarkSorcerer
04.02.04, 09:05
Habe auch eine Frage zu Apache und .htaccess:
Ich habe eine .htaccess im DocumentRoot und will einen Redirect machen


Redirect / http://10.1.1.185/cms/


In der Apache Konfiguration habe ich die AllowOverride Direktive auf All gesetzt:


<Directory "/usr/local/lamp/apache/2.0.48/htdocs">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>



Apache neu gestartet und dann versucht, ob der Redirekt funktioniert. Bekomme folgende Fehlermeldung:


Redirection Limit for this URL exceeded. Unable to load the requestet page. This may be caused by cookies that are blocked.

Diese Fehlermeldung kommt beim Mozilla. Mit dem IE erhalte ich nur ein "Die Seite kann nicht angezeigt werden".
Irgendwelche Tipps?