Archiv verlassen und diese Seite im Standarddesign anzeigen : .htaccess Datei wird ignoriert :(
Guten Tag!
bei mir funktioniert die .htaccess datei nicht :( meine konfiguration in der httpd.conf ist :
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride All
Order deny,allow
Deny from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
die .htaccess datei:
AuthType Basic
AuthName "phpMyAdmin"
AuthUserFile /etc/apache2/.htpasswd
require valid-user
die .htpasswd (im verzeichniss etc/apache2)
mroth:WeBY7yg9.FZyM
mfg
hat die datei evtl. die falschen rechte?
-rw-r--r-- 1 root root 20 Feb 15 16:14 .htpasswd
und
-rwxrwxrwx 1 root root 96 Feb 15 16:21 .htaccess
lässt du den httpd als root laufen? wahrscheinlich nicht oder?
dann solltest du auch die beiden dateien dem nutzer geben der den httpd startet.
... steht was in den Logs?
... wie ist der konkrete Fehler? Kommst Du einfach so rein oder geht gar nichts?
... liegt die .htaccess in einem UVZ ausserhalb des Apache-/
Herr Kommisar
15.02.06, 20:37
probier mal
AllowOverride AuthConfig
... steht was in den Logs?
... wie ist der konkrete Fehler? Kommst Du einfach so rein oder geht gar nichts?
... liegt die .htaccess in einem UVZ ausserhalb des Apache-/
in den Logs steht nichts hilfreiches...
der feheer ist das ich einfach so rein komme ohne das was kommt es sei gesperrt...
und die .htaccess liegt in einem UVZ innehalb des ROOT von Apache (/htdocs/www/phpmyadmin)
probier mal
AllowOverride AuthConfig
immer noch gleich wie bei AllowOverride All
lässt du den httpd als root laufen? wahrscheinlich nicht oder?
dann solltest du auch die beiden dateien dem nutzer geben der den httpd startet.
wie hast du das gemeint lässt du httpd als root laufen? also den apache2 starte ich immer mit root. oder wie hast du das gemeint!?
habe noch rausgefunden das ich noch eine default-server.conf habe muss ich evtl. da noch was ändern? :
DocumentRoot "/srv/www/htdocs"
#
# Configure the DocumentRoot
#
<Directory "/srv/www/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 None
# 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 None
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
</Directory>
vielen dank für euere hilfe!
ok, wunderbar.
Poste nun bitte mal die komplette Apache-Konfig.
Alternativ gib mal das Directory konkret an mit einen AllowOverride AuthConfig
juchuu! habe es gefunden in der server-default.conf steht noch AllowOverride None!!!habe es auf ALL geändert!
Vielen Dank für eure Hilfe!!!!
All ist doof. mach' lieber nur ein AuthConfig...
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.