Red Hat Tux
I have a webserver that at times sees as many as 100 requests/second (and I know more are just being locked out). At that much traffic, the server is really unreliable (as I am hitting my memory limits). I've been trying to tweak apache to reduce memory loads with some success. The Server is operating RHEL4 AS.
I ran into Redhats TUX content accelerator, and am pretty much sold (as it operates on the same domains as apache, not seperate from it). I want to serve html, xml and image files from tux, and have it pass all other requests (php files) to apache. While this seems easy enough, I have a few problems first...
I am using mod_rewrite in apache to rewrite index.php?option=blah&task=bleh to a much prettier blah/bleh.html. Now, with tux, will it see that URI, not find the file, and issue a 404 without ever consulting apache (where the rewriting occurs)? Is there any way around this (while maintaing URL rewriting)?
I am using WHM, and as such, all vhost directories are /home/user/public_html. I can't see any easy way of configuring these as Vhosts in TUX these without symbolic linking /home/www/www.url.com/ to /home/user/public_html . Any ideas?
|