iluminate
April 16th, 2007, 02:21 PM
Greetings all,
It's always a lottery to post something here on Servers and Security since many posts gets unanswered =)
Lets hope I get lucky then!
I am using mod_rewrite, and everything works perfect when adding the rules inside the htaccess file.
However, what I want now is to move the rules to the conf files, in this case to virtuall host config file.
Can someone let me know if this is possible or not, since I am experiencing problems when adding the rules to /sites-available/host1conf
Just can not figure it out how to.
Second, I have noticed a huge CPU increase when doing http requests. Sometimes the CPU load jumps to 50-70% - is this caused by mod_rewrite?
Also what is normal cpu load when doing a request if using smarty, mod_rewrite & php5?
The server is a dual Xeon with 4 GB mem.
Peace to all!
It's always a lottery to post something here on Servers and Security since many posts gets unanswered =)
Lets hope I get lucky then!
I am using mod_rewrite, and everything works perfect when adding the rules inside the htaccess file.
However, what I want now is to move the rules to the conf files, in this case to virtuall host config file.
Can someone let me know if this is possible or not, since I am experiencing problems when adding the rules to /sites-available/host1conf
Just can not figure it out how to.
Second, I have noticed a huge CPU increase when doing http requests. Sometimes the CPU load jumps to 50-70% - is this caused by mod_rewrite?
Also what is normal cpu load when doing a request if using smarty, mod_rewrite & php5?
The server is a dual Xeon with 4 GB mem.
Peace to all!