[CentOS] httpd .htaccess rewrite for images

Tue Aug 18 04:18:23 UTC 2009
Alan Sparks <asparks at doublesparks.net>

Dave wrote:
> In my httpd virtual host directive i have:
>
> alias /images "/var/www/test.example.com/images"
> <Directory "/var/www/test.example.com/images">
> Options None
> AllowOverride None
> order allow,deny
> Allow from all
> </Directory>
>
> Comments appreciated.
>   

Assume you mean that the rewrites are ignored.  Note that "AllowOverride
None" tells apache to completely ignore .htaccess files.
Either move your rewrite rules into the vhost container or consider
"AllowOverride FileInfo".
-Alan