View Full Version : mod_rewrite server strain?

10-07-2004, 09:52 AM

I'm currently rewriting my site using php, calling up different pages using variables (index.php?section=something&page=somethingelse), and all of that works perfectly. I then use mod_rewrite to create a fake directory structure (/something/somethingelse/). I haven't had a single problem with any of this so I don't really need help as such, however before I make the site "live" i'm interested in knowing just how much strain mod_rewriting a whole - fairly large, few hundred page - site with over 1000 daily visitors would put on the server?

I've searched Google and here, and most results are vague at best about how much extra work the server has to do. I'm on shared hosting so I don't want to do anything that could crash the server, obviously.

Thank you in advance for any help, it's most appreciated.

10-07-2004, 11:17 AM
I'm not a server guru, though based on my experience, mod_rewrite, and specifically, using it to rewrite URLs shouldn't cause any real noticable drain on the server. Most resource probems I've heard is the result of using mod_rewrite to create search engine friendly URLs, resulting in Google for example mass crawling the pages.

10-07-2004, 02:03 PM
Thanks, that was just the answer I was hoping for. I've never seen it causing major problems myself, but it's best to double check as many possibilities before taking such a big plunge. :)

sir pannels
10-07-2004, 03:17 PM
I use it to change some urls that are dymanically generated.. I did it for SO reasons.. any different in server activity I noticed that it brought me up smart in google :D