Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: Problem ISAPI REWRITE3 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
cfcunha
Newbie
Newbie


Joined: 07 October 2008
Location: Brazil
Online Status: Offline
Posts: 5
Posted: 07 October 2008 at 4:00pm | IP Logged Quote cfcunha

Dear, Good afternoon.

I'm having trouble using the Reverse Proxy using the Isapi Rewrite 3.

I can not open pages .asp

You could help me?

RewriteEngine on

RewriteBase /

RewriteCond %{HTTP_HOST} .* [NC]

RewriteCond %{REQUEST_URI} !-f

RewriteCond %{REQUEST_URI} !-d

RewriteRule (.*) https:// …. /$1 [NC,P]

RewriteLogLevel 9

LogLevel debug

THANKS

Back to Top View cfcunha's Profile Search for other posts by cfcunha
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 08 October 2008 at 3:02am | IP Logged Quote Anton

Please tell what error do you get, do your requested asp files really (physcally) exist?
Please provide rewrite log records for some specific request.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
cfcunha
Newbie
Newbie


Joined: 07 October 2008
Location: Brazil
Online Status: Offline
Posts: 5
Posted: 08 October 2008 at 9:01am | IP Logged Quote cfcunha

The page cannot be displayed

Back to Top View cfcunha's Profile Search for other posts by cfcunha
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 09 October 2008 at 5:30am | IP Logged Quote Anton

Can you please provide answers to the rest of questions.
And please check all permissions as per http://www.helicontech.com/isapi_rewrite/doc/security.htm

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
cfcunha
Newbie
Newbie


Joined: 07 October 2008
Location: Brazil
Online Status: Offline
Posts: 5
Posted: 14 October 2008 at 2:08pm | IP Logged Quote cfcunha

Guys,
I found why ASP pages were not working. We're redirecting requests from one IIS6 to another. Dynamic pages were not working because the option "Compress Application Files" was enabled in the second server. When this option was disabled, all requests worked fine.
However, I can't afford to have uncompressed connections between the servers. Is there any know issue related with compressed files through ISAPI_REWRITE 3?
Back to Top View cfcunha's Profile Search for other posts by cfcunha
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 15 October 2008 at 6:14am | IP Logged Quote Anton

We've never got any complaints about ISAPI_Rewrite not working with compression.
Please provide us a piece of rewrite log for the specific request with compression turned on.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
cfcunha
Newbie
Newbie


Joined: 07 October 2008
Location: Brazil
Online Status: Offline
Posts: 5
Posted: 15 October 2008 at 3:48pm | IP Logged Quote cfcunha

follows the logs with Compress Application Files enabled and the Compress Application Files disabled.

"Compress Application Files disabled " - Running -

xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (2) init rewrite engine with requested uri /index.asp
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (1) Htaccess process request D:\APPL\ISAPI_REwrite3\httpd.conf
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (3) applying pattern '(.*)' to uri 'index.asp'
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='uat.citifinancialbrazil.com' pattern='.*' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='/index.asp' pattern='' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='/index.asp' pattern='' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (1) escaping https://staging.citifinancialbrazil.citigroup.net:2046/index.asp
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:18:59 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (2) forcing proxy-throughput with /index.aspx.rwhlp?p=0

---------------------------------------------------------------------------------------------

"Compress Application Files enabled" - Not Running -

xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (2) init rewrite engine with requested uri /index.asp
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (1) Htaccess process request D:\APPL\ISAPI_REwrite3\httpd.conf
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (3) applying pattern '(.*)' to uri 'index.asp'
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='uat.citifinancialbrazil.com' pattern='.*' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='/index.asp' pattern='' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (4) RewriteCond: input='/index.asp' pattern='' => matched
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (1) escaping https://staging.citifinancialbrazil.citigroup.net:2046/index.asp
xxxx.xx.xxx.xxx xxxx.xx.xxx.xxx  Wed, 15-Oct-2008  15:07:05 GMT [uat.citifinancialbrazil.com/sid#352765681][rid#19734168/initial] (2) forcing proxy-throughput with /index.aspx.rwhlp?p=0

 

 

Back to Top View cfcunha's Profile Search for other posts by cfcunha
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 16 October 2008 at 4:27am | IP Logged Quote Anton

Can you please clarify whre do you switch on compression - on frontend or backend?
And if possible, please show this issue online.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
RFonseca
Newbie
Newbie


Joined: 16 October 2008
Location: Brazil
Online Status: Offline
Posts: 4
Posted: 16 October 2008 at 9:34am | IP Logged Quote RFonseca

Anton, I work with cfcunha and I'll try to help. The compress option is enabled in the backend server. The end users receives a generic error message and the backend webserver log show the connection with status code 200.
Since we're trying to use Isapi rewrite as reverse proxy, its not an option to have compression disabled.

Do you have any way to do a online meeting?
Back to Top View RFonseca's Profile Search for other posts by RFonseca
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 17 October 2008 at 8:30am | IP Logged Quote Anton

Can you please make a direct request to your backend (without using ISAPI_Rewrite as reverse proxy) and provide us wfetch report and request
body for it.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
RFonseca
Newbie
Newbie


Joined: 16 October 2008
Location: Brazil
Online Status: Offline
Posts: 4
Posted: 17 October 2008 at 2:25pm | IP Logged Quote RFonseca

I made the test with compression enabled in Backend and worked fine. If I make the request in the frontend, I receive the result "ERROR_INTERNET_INTERNAL_ERROR". Follow the wfetch results:

started....
WWWConnect::Connect("staging.citifinancialbrazil.citigroup.net","2046")\n
source port: 1209\r\n
REQUEST: **************\n
GET /index.asp HTTP/1.1\r\n
Host: staging.citifinancialbrazil.citigroup.net\r\n
Accept: */*\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 200 OK\r\n
Cache-Control: private\r\n
Pragma: no-cache\r\n
Content-Length: 19\r\n
Content-Type: text/html\r\n
Expires: Sat, 01 Jan 2005 00:00:01 GMT\r\n
Set-Cookie: ASPSESSIONIDQETQDBQA=EIPPMPGAKCKFJFNANDOBJHNJ; secure; path=/\r\n
Date: Fri, 17 Oct 2008 18:58:31 GMT\r\n
\r\n
LACBRA940AS0234\tASP
WWWConnect::Close("staging.citifinancialbrazil.citigroup.net","2046")\n
closed source port: 1209\r\n
finished.
Back to Top View RFonseca's Profile Search for other posts by RFonseca
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 20 October 2008 at 3:53am | IP Logged Quote Anton

Please clarify is the above wfetch represents backend response?
Please also provide wfetch and IIS logs for the frontend.
And specify your version of ISAPI_Rewrite.



__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum