.htaccess

MacOSXs Apache ignoriert in der default Einstellung .htaccess Dateien. Wer dem Abhilfe schaffen möchte ändere in /private/etc/httpd/httpd.conf

#
# 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

in zB

AllowOverride All

dann in den User dirs (/private/etc/httpd/users/name.conf) ebenfalls ändern in

AllowOverride All

Genauere Informationen hier: http://www.clagnut.com/blog/350

2 Kommentare zu „.htaccess“

  1. mathias sagt:

    Die offizielle Apache-Doku rät allerdings davon ab, .htaccess zu
    verwenden, wenn man selbst Zugriff auf die http.conf hat *klugscheiss*.

    *klick*

  2. Christian Geier sagt:

    stimmt, aber wenn ich zb darin auch mod_rewrite regeln packe vereinfacht das mein leben doch deutlich wenn ich (erstmal) .htaccess files benutze, kann ich einfach hochladen ohne an den apache confs rumzuspielen und den neuzustarten…

Kommentieren