CGI-PERL Script for Cookie and redirect URL

Completed Posted Jun 16, 2003 Paid on delivery
Completed Paid on delivery

I need your Help with below rewrite engine script to convert it to CGI-PERL script ---------------------------------------- RewriteEngine On RewriteLog logs/[url removed, login to view] RewriteLogLevel 1 RewriteCond %{HTTP_COOKIE} !.*userName.* RewriteCond %{REQUEST_URI} ^/abc/.*\.htm.* [OR] RewriteCond %{REQUEST_URI} ^/abc/[url removed, login to view] RewriteRule ^/(.*) http://WebLogic:7001/admin/serveLogin [P] --------------------------------------- What this rewrite does is anyone who types URL [url removed, login to view] or [url removed, login to view] 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 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? )so we are need to remove rewrite engine and generate a CGI-PERL script which does the same. Also we can't use htaccess as we need to authenticate from database which are having more than 100 users. Can anybody suggest or give CGi-PERL script which does the same ? I am using Apache [url removed, login to view] on Solaris 8. We need a CGI-PERL script which 1) validates Cookie .*userName.* 2) If cookie is NOT There in Client browser it will re-direct all requests with URL [url removed, login to view]*\.htm.* OR [url removed, login to view] To http://WebLogic:7001/admin/serveLogin 3) How to Configure Apache [url removed, login to view] to call this script Please Help. Any suggestions will be of great help. Thanks in advance BS

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

## Platform

Sun Solaris 8 Apache [url removed, login to view] Perl 5.X

Perl PHP

Project ID: #2945148

About the project

1 proposal Remote project Active Jun 17, 2003

Awarded to:

brunomartinsvw

See private message.

$29.75 USD in 14 days
(48 Reviews)
4.5