You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Daniel Pocock <da...@skysoft.com.au> on 2000/04/01 08:00:26 UTC

mod_alias/5948: redirection problems

>Number:         5948
>Category:       mod_alias
>Synopsis:       redirection problems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 31 22:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     daniel@skysoft.com.au
>Release:        1.3.9
>Organization:
apache
>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:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]