Received: (qmail 8268 invoked by uid 501); 5 Sep 2001 06:52:15 -0000 Message-Id: <20010905065215.8266.qmail@apache.org> Date: 5 Sep 2001 06:52:15 -0000 From: Bill MacPhee Reply-To: w-macphee@exodus.co.jp To: submit@bugz.apache.org Subject: Proxy option appears to have a bad rule X-Send-Pr-Version: 3.110 >Number: 8298 >Category: mod_rewrite >Synopsis: Proxy option appears to have a bad rule >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Sep 05 00:00:01 PDT 2001 >Closed-Date: Wed Sep 05 08:10:11 PDT 2001 >Last-Modified: Wed Sep 05 08:10:11 PDT 2001 >Originator: w-macphee@exodus.co.jp >Release: 1.3.19 (all?) >Organization: >Environment: Any >Description: According to the documentation the proxy redirection of a URL on a machine to another URL on the same machine is not allowed as it is labled "silly". However, there is at least one legitimate reason for doing this. If you have a dynamic site that can't have it's pages submitted to search engines (ie: everything is someURL/product.php?sku=1234) and you need to have pages listed in search engines so you redirect it to look static (ie: otherURL/product/sku/1234). If I understand the proxy option properly it should take the data from the dynamic url and feed it out to the new static url allowing the same page data to be found from either URL. >How-To-Repeat: >Fix: allow proxy to work from the same machine, and optimize if possible >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Wed Sep 5 08:10:11 PDT 2001 State-Changed-Why: No, you can do this with a RewriteRule. You don't need to proxy. Check the mod_rewrite docs. Thanks for using Apache. >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! ]