>Number:         2046
>Category:       mod_rewrite
>Synopsis:       Rewrite Rule has different behavior form 1.2.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Apr  7 18:10:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.5
>Environment:
Solaris 2.5.1, gcc linked with ld
>Description:
I had a rewrite rule that under 1.2.1  that basically redirected everything
back to a certain machine, except for certain CGI's. *which are authenicated*

This worked fine under 1.2.1, but since I upgraded the server to 1.2.5, 
it no longer works, I am receiving Forbidden errors, for the
CGI's that I wish not to redirect.  See  example below.
>How-To-Repeat:
Here's my RewiteRule

RewriteCond %{REQUEST_URI} !^/protected-cgi-bin/foo.cgi
RewriteCond %{REQUEST_URI} !^/protected-cgi-bin/foo2.cgi
RewriteRule /(.*) http://www.server.com/$1 [L,R]
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to