Folgendes Problem:
auf den Apache sind bisher 2 Verzeichnisse mit .htaccess mit Passwortabfrage geschützt.
Nun habe ich ein weiteres Verzeichnis angelegt.
die .htaccess wurde aus dem anderen Verzeichnis übernommen. Zugriffrecht u.ä. stimmen mit den anderen Verzeichnissen überein.
Nun das Problem:
Beim zugriff auf eine Seite wird die .htaccess ignoriert.
Bin für jeden Tipp dankbar
Tom
Apache-Problem mit -htaccess
Re: Apache-Problem mit -htaccess
Bitte nicht in mehr als einem Forum das selbe Posten, thx.
Re: Apache-Problem mit -htaccess
Hoi,
schick mal den entsprechenden <directory>-Abschnitt der httpd.conf.
So aus dem Blauen heraus geht das nicht...
schick mal den entsprechenden <directory>-Abschnitt der httpd.conf.
So aus dem Blauen heraus geht das nicht...
bye.olli
--
"Where's Oswald when we need him.."
--
"Where's Oswald when we need him.."
Re: Apache-Problem mit -htaccess
Ich habe die fraglichen Abschnitte aus der Datei herauskopiert. Sie entspricht weitgehend dem Orginal aus
Suse 7.0
DocumentRoot "/usr/local/httpd/htdocs"
#
<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group
Options -FollowSymLinks
AllowOverride None
</Directory>
#
<Directory "/usr/local/httpd/htdocs">
#
Options Indexes -FollowSymLinks -Includes MultiViews
#
AllowOverride None
Order allow,deny
Allow from all
#
# don´t use DAV without access control !!
#
<IfDefine DAV>
DAV On
</IfDefine>
<Files index.html>
Options -FollowSymLinks +Includes
</Files>
<Files test.php3>
Order deny,allow
deny from all
allow from localhost
</Files>
</Directory>
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
Suse 7.0
DocumentRoot "/usr/local/httpd/htdocs"
#
<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group
Options -FollowSymLinks
AllowOverride None
</Directory>
#
<Directory "/usr/local/httpd/htdocs">
#
Options Indexes -FollowSymLinks -Includes MultiViews
#
AllowOverride None
Order allow,deny
Allow from all
#
# don´t use DAV without access control !!
#
<IfDefine DAV>
DAV On
</IfDefine>
<Files index.html>
Options -FollowSymLinks +Includes
</Files>
<Files test.php3>
Order deny,allow
deny from all
allow from localhost
</Files>
</Directory>
#
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
Re: Apache-Problem mit -htaccess
<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group
Options -FollowSymLinks
AllowOverride all
</Directory>
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group
Options -FollowSymLinks
AllowOverride all
</Directory>