[support] HTTP 400 - BAD REQUEST when moving .htaccess to httpd.conf

Jamie Holly hovercrafter at earthlink.net
Sun Aug 2 11:33:44 UTC 2009


Ryan Chan wrote:
>
> Thanks.
>
> This work, but before I wrap by a virtualhost, don't know why it
> didn't work though.
>
> Thanks anyway.
> --
>
>   
You can put the rules in the VHost directive, but they still need to be 
wrapped in the directory directive. That allows you to specify different 
rule sets for different directories in that virtual host (the same as 
having .htaccess in the document root, then another .htaccess in 
/files). When putting the rules in the VHost directive you still need to 
specify the absolute path to each directory.

Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net




More information about the support mailing list