Broken Links on Reverse Proxy
2 posts
• Page 1 of 1
Broken Links on Reverse Proxy
Using Helicon ISAPI-Rewrite3 on an Windows 2008 IIS7.5 server in a DMZ to an application behind a firewall.
Login page displays however No graphics and links are all broken.
What can I do?
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.104
RewriteEngine on
RewriteBase /
# RewriteCond ^xesecure\.com$ [NC]
RewriteRule ^(.*)$ http://10.13.0.3/uStore/login.aspx?StoreId=1/$1 [NC,P]
RewriteLogLevel 9
LogLevel debug
Error File
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) init rewrite engine with requested uri /uStore/ScriptResource.axd?d=DjELr28RiVxUfoCRIYpoIBIp5irKho852EYEVKzM0fsUYbusTcsgU1-uWqWR37c57lOm0JsL_2GRqbmWT_NjjDLp7XS1eFEyuexS2XJRKENYiMBl1QeFJ2F_yq-_EdvrN2waaxzVvJPe0mIeGMxc2O56rB7ZTdHWaeJpLrnMuXT8ICsO0&t=ca758f3
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (3) applying pattern '^(.*)$' to uri 'uStore/ScriptResource.axd'
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) forcing proxy-throughput with http://10.13.0.3/uStore/login.aspx?Stor ... source.axd
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) go-ahead with proxy request http://10.13.0.3/uStore/login.aspx?Stor ... source.axd [OK]
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) Rewrite URL to >> /uStore/ScriptResource.axdx.rwhlp?p=0
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) rewrite 'uStore/ScriptResource.axd' -> '/uStore/ScriptResource.axdx.rwhlp?p=0'
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) internal redirect with /uStore/ScriptResource.axdx.rwhlp?p=0 [INTERNAL REDIRECT]
Login page displays however No graphics and links are all broken.
What can I do?
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.104
RewriteEngine on
RewriteBase /
# RewriteCond ^xesecure\.com$ [NC]
RewriteRule ^(.*)$ http://10.13.0.3/uStore/login.aspx?StoreId=1/$1 [NC,P]
RewriteLogLevel 9
LogLevel debug
Error File
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) init rewrite engine with requested uri /uStore/ScriptResource.axd?d=DjELr28RiVxUfoCRIYpoIBIp5irKho852EYEVKzM0fsUYbusTcsgU1-uWqWR37c57lOm0JsL_2GRqbmWT_NjjDLp7XS1eFEyuexS2XJRKENYiMBl1QeFJ2F_yq-_EdvrN2waaxzVvJPe0mIeGMxc2O56rB7ZTdHWaeJpLrnMuXT8ICsO0&t=ca758f3
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (3) applying pattern '^(.*)$' to uri 'uStore/ScriptResource.axd'
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) forcing proxy-throughput with http://10.13.0.3/uStore/login.aspx?Stor ... source.axd
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) go-ahead with proxy request http://10.13.0.3/uStore/login.aspx?Stor ... source.axd [OK]
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (1) Rewrite URL to >> /uStore/ScriptResource.axdx.rwhlp?p=0
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) rewrite 'uStore/ScriptResource.axd' -> '/uStore/ScriptResource.axdx.rwhlp?p=0'
99.241.149.176 99.241.149.176 Sun, 15-Dec-2013 16:36:18 GMT [www.xesecure.com/sid#1][rid#455255704/initial] (2) internal redirect with /uStore/ScriptResource.axdx.rwhlp?p=0 [INTERNAL REDIRECT]
Re: Broken Links on Reverse Proxy
Hello,
It seems that the paths for links on the page do not follow the pattern you have in the rule, so you need to write a separate rule to handle them.
For example:
RewriteCond %{REQUEST_URI} ^.*\.(?:gif|png|jpg)
RewriteRule ... ...
It seems that the paths for links on the page do not follow the pattern you have in the rule, so you need to write a separate rule to handle them.
For example:
RewriteCond %{REQUEST_URI} ^.*\.(?:gif|png|jpg)
RewriteRule ... ...
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests