Rewriteproxy not working for certain entries
6 posts
• Page 1 of 1
- cliffshare
- Posts: 3
- Joined: 06 May 2015, 11:20
Rewriteproxy not working for certain entries
Hi,
This is something that has worked OK in the past, but at some point (not exactly sure when) something has changed which now means that some of the rewriteproxy entries are no longer working.
The problem entry from our .htaccess file we have is:
RewriteProxy ^eforms2/(.*) https://eforms/eforms2/$1 [NC,L]
When browsing to our site with a /eforms2/... URL we just get a blank screen. On the web server where helicon ISAPI_Rewrite3 is running if we browse to https://eforms/eforms2/... then we get to the site/pages that we need.
There are other rewriterpoxy entries in the same .htaccess file that work fine such as:
RewriteProxy ^childillness/(.*) http://childillness/$1 [NC,L]
We have enabled the logging as follows:
RewriteLogLevel 9
LogLevel debug
but this does not really give us anything useful. Also in the .htaccess file supress errors is off.
Can anyone suggest some decent logging options so we can see what the problem is or perhaps have any suggestions on what the issue maybe.
Thanks
Cliff
This is something that has worked OK in the past, but at some point (not exactly sure when) something has changed which now means that some of the rewriteproxy entries are no longer working.
The problem entry from our .htaccess file we have is:
RewriteProxy ^eforms2/(.*) https://eforms/eforms2/$1 [NC,L]
When browsing to our site with a /eforms2/... URL we just get a blank screen. On the web server where helicon ISAPI_Rewrite3 is running if we browse to https://eforms/eforms2/... then we get to the site/pages that we need.
There are other rewriterpoxy entries in the same .htaccess file that work fine such as:
RewriteProxy ^childillness/(.*) http://childillness/$1 [NC,L]
We have enabled the logging as follows:
RewriteLogLevel 9
LogLevel debug
but this does not really give us anything useful. Also in the .htaccess file supress errors is off.
Can anyone suggest some decent logging options so we can see what the problem is or perhaps have any suggestions on what the issue maybe.
Thanks
Cliff
Re: Rewriteproxy not working for certain entries
Hello Cliff,
>Can anyone suggest some decent logging options so we can see what the problem is or perhaps have any suggestions on what the issue maybe.
Actually "RewriteLogLevel 9" put in httpd.conf should provide records on how the request is processed by ISAPI_Rewrite proxy, which is helpful.
Also please note that this section
<Helicon>
ProxySuppressErrors Off
</Helicon>
can only be put into httpd.conf.
>Can anyone suggest some decent logging options so we can see what the problem is or perhaps have any suggestions on what the issue maybe.
Actually "RewriteLogLevel 9" put in httpd.conf should provide records on how the request is processed by ISAPI_Rewrite proxy, which is helpful.
Also please note that this section
<Helicon>
ProxySuppressErrors Off
</Helicon>
can only be put into httpd.conf.
- cliffshare
- Posts: 3
- Joined: 06 May 2015, 11:20
Re: Rewriteproxy not working for certain entries
Hello Anton,
Thanks for your reply but having followed your suggestions but we are still NOT seeing any details in the logs that may indicate why the rewriteproxy enteries are not working.
Just confirming the file C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
now has
RewriteLogLevel 9
LogLevel debug
<Helicon>
ProxySuppressErrors Off
</Helicon>
C:\Program Files\Helicon\ISAPI_Rewrite3\error.log
[08/05/2015 13:35:44] C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf - Loaded successfully
[08/05/2015 13:35:47] d:\2010data\sites\www......80\.htaccess - Loaded successfully
[08/05/2015 13:36:03] d:\2010data\sites\www......80\.htaccess - Loaded successfully
Any other thoughts?
Cliff
Thanks for your reply but having followed your suggestions but we are still NOT seeing any details in the logs that may indicate why the rewriteproxy enteries are not working.
Just confirming the file C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
now has
RewriteLogLevel 9
LogLevel debug
<Helicon>
ProxySuppressErrors Off
</Helicon>
C:\Program Files\Helicon\ISAPI_Rewrite3\error.log
[08/05/2015 13:35:44] C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf - Loaded successfully
[08/05/2015 13:35:47] d:\2010data\sites\www......80\.htaccess - Loaded successfully
[08/05/2015 13:36:03] d:\2010data\sites\www......80\.htaccess - Loaded successfully
Any other thoughts?
Cliff
Re: Rewriteproxy not working for certain entries
Hello Cliff,
What is more critical is rewrite.log.
Proxy processing is recorded there.
Please find records related to your test request in it.
What is more critical is rewrite.log.
Proxy processing is recorded there.
Please find records related to your test request in it.
- cliffshare
- Posts: 3
- Joined: 06 May 2015, 11:20
Re: Rewriteproxy not working for certain entries
Hello Anton,
Just checked C:\Program Files\Helicon\ISAPI_Rewrite3\Rewrite.log
Nothing is being written to this file, the size is 0KB.
Thanks
Cliff
Just checked C:\Program Files\Helicon\ISAPI_Rewrite3\Rewrite.log
Nothing is being written to this file, the size is 0KB.
Thanks
Cliff
Re: Rewriteproxy not working for certain entries
Hello Cliff,
>Nothing is being written to this file, the size is 0KB.
Well, we need to try and get the logging working in this file, becasue this will show us if request is correctly processed by ISAPI_Rewrite proxy or not.
Please check that ISAPI_Rewrite install folder has List folder content permission granted, and that rewrite.log file has Write permission for the user account running the app pool for the target site.
Also please check IIS log to see the status code returned by IIS for the test request.
You may also consider using Failed request tracing tool in IIS to get the detailed picture of all request ptocessing steps.
>Nothing is being written to this file, the size is 0KB.
Well, we need to try and get the logging working in this file, becasue this will show us if request is correctly processed by ISAPI_Rewrite proxy or not.
Please check that ISAPI_Rewrite install folder has List folder content permission granted, and that rewrite.log file has Write permission for the user account running the app pool for the target site.
Also please check IIS log to see the status code returned by IIS for the test request.
You may also consider using Failed request tracing tool in IIS to get the detailed picture of all request ptocessing steps.
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests