Forum Moderators: phranque
In addition, you should escape literal characters in your patterns which otherwise will be taken as regular-expressions operators, and add an [L] flag to any rule that, if applied, is the last thing you need to execute before serving content.
Applying this info to your rule, we get:
RewriteCond %{REMOTE_ADDR} ^161\.127\.48\.105$
RewriteRule ^cc2k_login\.startup$ /cust_credit_app$.startup$1 [PT,L]
Jim
RewriteEngine ON
RewriteLog D:\OraHome1\Apache\Apache\logs\rewrite.txt
RewriteLogLevel 1
RewriteCond %{REMOTE_ADDR} ^161\.127\.48\.105$
RewriteRule /cc2k_login\$\.startup$ /cust_credit_app\$\.startup$1 [PT,L]
and it still does not work...
RewriteRule /myperl/cc2k_login\$\.startup$ /myperl/cust_credit_app\$\.startup$1 [PT,L]
Is there a way to know if the requested url is a redirect from another server.