[wp-hackers] Putting mod_rewrite rules in httpd.conf

Robert Deaton false.hopes at gmail.com
Fri Sep 1 18:34:53 GMT 2006


On 9/1/06, Scott Plumlee <wp-hackers at plumlee.org> wrote:
> I know there was a recent discussion about .htaccess files here.  My
> question, somewhat related, is whether it would be possible to make WP
> honor rules in httpd.conf versus using .htaccess files?  I mentioned
> this once on the support forums, and was properly reminded that not
> everyone has access to the main configuration file for apache.  But if I
> do have access, would this gain any performance increase, and is it even
> possible?
>
> Recommendation from Apache:
> http://httpd.apache.org/docs/trunk/howto/htaccess.html#when
>
> Basically they say use .htaccess if you don't have access to the config
> file.
>
> Possible? Desirable as an option only, not the default (ain't broken,
> don't fix it)?

WP should do nothing with httpd.conf. We provide the rules, if someone
is so inclined, they can put them in httpd.conf. They need to be put
in a <Directory> block for the WP root, and that's about it.

-- 
--Robert Deaton


More information about the wp-hackers mailing list