Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rewrite Performance issue

Status
Not open for further replies.

bhaveshah

Technical User
Jun 19, 2003
1
US
I need your Help with below rewrite engine
----------------------------------------
RewriteEngine On
RewriteLog logs/rewrite.log
RewriteLogLevel 1
RewriteCond %{HTTP_COOKIE} !.*userName.*
RewriteCond %{REQUEST_URI} ^/abc/.*\.htm.* [OR]
RewriteCond %{REQUEST_URI} ^/abc/setup.exe
RewriteRule ^/(.*) [P]
---------------------------------------

What this rewrite does is it checks for cookie named userName and if the cookie is not present in client browser anyone who types URL or it will be redirected to WebLogic server on port 7001 which invokes servLogin page which authenticates username and password from oracle Database and if authentication is successful it allows that particular user to access the link. Also it generates cookies so that as long as his/Her session is valid it won’t be authenticated again. This works fine but it having a serious performance impact on Web Server when this rewrite engine is ON CPU on Web server is always 0.0% idle even if abc link is not in use Don’t know Why anything wrong with this rewrite conf?
Please Help in resolving this rewrite performance issue.
I am ready to pay for consultancy $ if somebody helps me in resolving this configuration issue.
Thanks in advance
BS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top