You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Bill Jones <sn...@fccj.org> on 1998/11/29 14:57:00 UTC

mod_rewrite/3458: [L] option to stop rewriting doesn't work...

>Number:         3458
>Category:       mod_rewrite
>Synopsis:       [L] option to stop rewriting doesn't work...
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Nov 29 06:00:00 PST 1998
>Last-Modified:
>Originator:     sneex@fccj.org
>Organization:
apache
>Release:        
>Environment:
Solaris 2.5.1, apache 1.3.3 w/the following modules enabled:

Server Settings, mod_perl.c, mod_setenvif.c, mod_unique_id.c, mod_usertrack.c, mod_headers.c, mod_expires.c, mod_auth_anon.c, mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c, mod_userdir.c, mod_speling.c, mod_actions.c, mod_imap.c, mod_asis.c, mod_cgi.c, mod_dir.c, mod_autoindex.c, mod_include.c, mod_info.c, mod_status.c, mod_negotiation.c, mod_mime.c, mod_log_config.c, mod_env.c, http_core.c
>Description:
Using [L] on a RewriteRule doesn't work.

See section on How to Duplicate.
>How-To-Repeat:
RewriteEngine On
RewriteOptions inherit
RewriteLog logs/rewrite_log
RewriteLogLevel 3

# Redirect end-user '~/usrID' page requests to main WWW server...
RewriteRule ^/~(.+) http://www.fccj.org/~$1 [L]

# Pass-thru 'Local Resource' to current WWW server...
RewriteCond %{REQUEST_URI} !-U
RewriteRule   ^(.+)  -  [L]


# Redirect 'Resource Not Found' to main WWW server...
RewriteCond %{REQUEST_URI} -U
RewriteRule ^(.+) http://www.fccj.org$1 [L]
>Fix:
No, but I am wondering if mod_perl is planning on
superceding the mod_rfewrite mod_rewrite module ?
>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 leave the subject line UNCHANGED.  This is not done]
[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!         ]