Received: (qmail 63491 invoked by uid 501); 4 Aug 2000 09:18:52 -0000 Message-Id: <20000804091852.63490.qmail@locus.apache.org> Date: 4 Aug 2000 09:18:52 -0000 From: Olivier Terrier Reply-To: olivier.terrier@mkms.xerox.com To: submit@bugz.apache.org Subject: Rewrite rule wiht passtrough doesn't work correctly under Win NT X-Send-Pr-Version: 3.110 >Number: 6372 >Category: mod_rewrite >Synopsis: Rewrite rule with passtrough doesn't work correctly under Win NT >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Aug 04 02:20:00 PDT 2000 >Closed-Date: >Last-Modified: Mon Oct 02 05:54:31 PDT 2000 >Originator: olivier.terrier@mkms.xerox.com >Release: 1.3.6 - 1.3.13-dev >Organization: >Environment: Windows 2000 VC++6 >Description: This server configuration works well under Solaris (Apapche 1.3.6 with mod_proxy+mod_rewrite): ScriptAlias /cgi-bin/ /path/to/cgi-bin ... ProxyRequests on ... RewriteEngine on RewriteRule ^proxy:(.+)$ /cgi-bin/nph-foo?$1 [PT,L] The nph- script is invoked and the input URL $1 is rewritten. Under Windows 2000 (same Apache configuration) I have the following error [Fri Aug 04 11:13:28 2000] [error] [client 13.202.222.141] File does not exist: passthrough:/cgi-bin/nph-foo It seems that the Alias /cgi-bin is not handled correctly?? If I modify the Rewrite rule this way (proxy instead of passthrough): RewriteRule ^proxy:(.+)$ /cgi-bin/nph-foo?$1 [P,L] The script is normally invoked >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: wrowe State-Changed-When: Sun Aug 6 08:22:31 PDT 2000 State-Changed-Why: Please try Apache version 1.3.12 to see if this behavior has been addressed. Further, be aware that there are many Win32 corrections to mod_proxy in the forthcoming 1.3.13 release, and you may want to wait for that version in the first place, if you will be relying on mod_proxy. From: "Terrier, Olivier" To: "'wrowe@apache.org'" Cc: "'apbugs@Apache.Org'" Subject: RE: mod_rewrite/6372: Rewrite rule wiht passtrough doesn't work c orrectly under Win NT Date: Mon, 21 Aug 2000 11:43:02 +0200 Neither the 1.3.12 nor the 1.3.13-dev (from cvs) versions fix the problem -----Original Message----- From: wrowe@apache.org [mailto:wrowe@apache.org] Sent: Sunday, August 06, 2000 5:23 PM To: apache-bugdb@apache.org; olivier.terrier@mkms.xerox.com; wrowe@apache.org Subject: Re: mod_rewrite/6372: Rewrite rule wiht passtrough doesn't work correctly under Win NT [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Rewrite rule wiht passtrough doesn't work correctly under Win NT State-Changed-From-To: open-feedback State-Changed-By: wrowe State-Changed-When: Sun Aug 6 08:22:31 PDT 2000 State-Changed-Why: Please try Apache version 1.3.12 to see if this behavior has been addressed. Further, be aware that there are many Win32 corrections to mod_proxy in the forthcoming 1.3.13 release, and you may want to wait for that version in the first place, if you will be relying on mod_proxy. State-Changed-From-To: feedback-closed State-Changed-By: wrowe State-Changed-When: Fri Sep 29 22:41:19 PDT 2000 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. State-Changed-From-To: closed-open State-Changed-By: wrowe State-Changed-When: Mon Oct 2 05:54:30 PDT 2000 State-Changed-Why: Thanks for testing. Reopened this report so the problem is examined. Synopsis-Changed-From: Rewrite rule wiht passtrough doesn't work correctly under Win NT Synopsis-Changed-To: Rewrite rule with passtrough doesn't work correctly under Win NT Synopsis-Changed-By: wrowe Synopsis-Changed-When: Mon Oct 2 05:54:30 PDT 2000 Release-Changed-From-To: 1.3.6-1.3.6 - 1.3.13-dev Release-Changed-By: wrowe Release-Changed-When: Mon Oct 2 05:54:30 PDT 2000 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]