The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Speedup apache disabling .htaccess  (Read 7392 times)

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 579
Speedup apache disabling .htaccess
« on: May 03, 2010, 10:17:03 PM »

Disabling htaccess is a good idea to speed up apache. If AllowOverride is set to All apache will watch all folders recursiv for htaccess files. Than coasts performance. First IO operation on the harddisc and than using that rules from htaccess coast cpu usage and time.
The hardest thing about putting the rules from .htaccess into the httpd.conf is how to rewrite the rules that they work in the httpd.conf? I found a nice page with offers a php script to generates the code from your htaccess files for the httpdc.conf

http://blog.preinheimer.com/index.php?/archives/340-.htaccess-to-httpd.conf.html

Have fun and a better performance
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13