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

Steven Scotten steves at splicer.com
Sat Jul 25 17:00:53 UTC 2009


On Jul 25, 2009, at 7:19 AM, Ryan Chan wrote:

> Hello,
> I have install latest Drupal, I come across with a problem:
> If I move the content of .htaccess into httpd.conf, the site is not  
> accessible and error "HTTP 400 - BAD REQUEST" will be give out.
> If I leave the drupal config as in .htaccess, it is okay.

Did you remember to wrap the content from your .htaccess inside its  
own "Directory" directive?

<Directory /path/to/site>
  # .htaccess content goes here
</Directory>

Just a stab in the dark guess. About the best I can do without looking  
at your files.


Steve


More information about the support mailing list