Apache-Problem mit -htaccess

Post Reply
Message
Author
Thomas

Apache-Problem mit -htaccess

#1 Post by Thomas »

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

Leander Hanwald

Re: Apache-Problem mit -htaccess

#2 Post by Leander Hanwald »

Bitte nicht in mehr als einem Forum das selbe Posten, thx.

odauter
Posts: 460
Joined: 17. Apr 2000 20:05
Location: Hamburg
Contact:

Re: Apache-Problem mit -htaccess

#3 Post by odauter »

Hoi,
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.."

Thomas

Re: Apache-Problem mit -htaccess

#4 Post by Thomas »

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>

Labba

Re: Apache-Problem mit -htaccess

#5 Post by Labba »

<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group

Options -FollowSymLinks
AllowOverride all
</Directory>

Post Reply