Received: (qmail 94550 invoked by uid 65534); 1 Apr 2000 06:00:26 -0000 Message-Id: <20000401060026.94548.qmail@locus.apache.org> Date: 1 Apr 2000 06:00:26 -0000 From: Daniel Pocock Reply-To: daniel@skysoft.com.au To: submit@bugz.apache.org Subject: redirection problems X-Send-Pr-Version: 3.110 >Number: 5948 >Category: mod_alias >Synopsis: redirection problems >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Mar 31 22:10:00 PST 2000 >Closed-Date: Sun May 06 12:39:36 PDT 2001 >Last-Modified: Sun May 06 12:39:36 PDT 2001 >Originator: daniel@skysoft.com.au >Release: 1.3.9 >Organization: >Environment: Debian Linux >Description: I'm trying to redirect all URL's under a certain domain to a script using RedirectMatch. However, I want any URL's beginning with /wss/ to be ignored so that they can be processed by an Alias statement. Two problems have arisen 1) the substitution process for one of my two RedirectMatch statements works, but URL encodes the ? symbol I'm using to pass parameters to the script. Consequently, the script isn't invoked. Is it possible to correct this undocumented behaviour? 2) with my second RedirectMatch I use a regexp ^/(.*!wss/) which is meant to match any URL except those beginning with wss/ The redirect never matches though - either there is something wrong with my regexp or Apache can't cope with this particular regexp. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Comment-Added-By: lars Comment-Added-When: Fri Apr 14 16:22:07 PDT 2000 Comment-Added: Have you tried using mod_rewrite instead? State-Changed-From-To: open-closed State-Changed-By: rbb State-Changed-When: Sun May 6 12:39:36 PDT 2001 State-Changed-Why: The first part of this PR is being tracked in bug 7503. There is a patch in that PR that should solve the problem of the '?' being escaped. >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! ]