Apache - Verzeichnisschutz mit htaccess

Status
Nicht offen für weitere Antworten.
"Anschalten" musst du .htaccess nicht,aber du musst .htaccess-Dateien erlauben, dass sie Einstellungen in der httpd.conf überstimmen dürfen.

Suche mal in der httpd.conf folgendes:
Code:
<Directory "D:/Progzz/Apache Group/Apache/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>
Und ersetze die rot markierte Zeile durch
Code:
AllowOverride All
Es kann dann zwar sein, dass die selbe .htaccess auf nem Live-Server nicht funktioniert,weil der Server da anders konfiguriert ist, aber das merkst du dann schon :-)
 
speichere mal eine .htaccess mit irgendeinem sinnlosen Inhalt unter htdocs ab.....
und rufe dann irgendeine Seite auf dem Server auf.... kommt da ein Serverfehler?

BTW. in deinen Posts schreibst du immer htaccess--->hast du auch den Punkt im Dateinamen, [.htaccess]
 
Status
Nicht offen für weitere Antworten.
Zurück