BenV's notes

Tag: rewrite

Apache2, vhost config and .htaccess

by on Jul.27, 2009, under Software

As usual this doesn’t work automagically (unless you’re lazy and put AllowOverride All in your vhost configs).
Wordpress wanted RewriteEngine on, but of course this disabled itself since apache didn’t like it with my default permissions.
So:

To allow Rewrite stuff in the .htaccess file, put ‘FileInfo’ and ‘FollowSymlinks’ (or SymLinksifOwnerMatch) in AllowOverride.

(of course putting the rewrite stuff in the vhost config is faster than the .htaccess stuff, but who cares)

Leave a Comment :, , more...