www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrik "Sjökvist" <patrik.sjokv...@europolitan.se>
Subject mod_rewrite/8051: RewriteRule seems to skip rewriting if the virtual path is to long.
Date Thu, 19 Jul 2001 11:29:47 GMT

>Number:         8051
>Category:       mod_rewrite
>Synopsis:       RewriteRule seems to skip rewriting if the virtual path is to long.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          support
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul 19 04:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     patrik.sjokvist@europolitan.se
>Release:        1.3.12 (Unix)
>Organization:
apache
>Environment:
OSF1 quake.europolitan.se V5.1 732 alpha
>Description:
I've used the following RewriteRule's...

RewriteRule ^/trams_salsa_test/owa/(.*)$   /trams/$1   [PT]
RewriteRule ^/trams_test/owa/(.*)$         /trams/$1   [PT]
RewriteRule ^/tramssalsatestopen/owa/(.*)$ /trams/$1   [PT]

The only one working is ^/trams_test/owa/(.*)$.
Here is a example from the log...

(2) init rewrite engine with requested uri /trams_test/owa/postnummer.html
(3) applying pattern '^/trams_salsa_test/owa/(.*)$' to uri '/trams_test/owa/postnummer.html'
(3) applying pattern '^/trams_test/owa/(.*)$' to uri '/trams_test/owa/postnummer.html'
(2) rewrite /trams_test/owa/postnummer.html -> /trams/postnummer.html
(2) forcing '/trams/postnummer.html' to get passed through to next API URI-to-filename handler
(2) init rewrite engine with requested uri /trams_salsa_test/owa/postnummer.html
(3) applying pattern '^/trams_salsa_test/owa/(.*)$' to uri '/trams_salsa_test/owa/postnummer.html'
(3) applying pattern '^/trams_test/owa/(.*)$' to uri '/trams_salsa_test/owa/postnummer.html'
(3) applying pattern '^/tramssalsatestopen/owa/(.*)$' to uri '/trams_salsa_test/owa/postnummer.html'
(1) pass through /trams_salsa_test/owa/postnummer.html
(2) init rewrite engine with requested uri /tramssalsatestopen/owa/postnummer.html
(3) applying pattern '^/trams_salsa_test/owa/(.*)$' to uri '/tramssalsatestopen/owa/postnummer.html'
(3) applying pattern '^/trams_test/owa/(.*)$' to uri '/tramssalsatestopen/owa/postnummer.html'
(3) applying pattern '^/tramssalsatestopen/owa/(.*)$' to uri '/tramssalsatestopen/owa/postnummer.html'
(1) pass through /tramssalsatestopen/owa/postnummer.html
>How-To-Repeat:
RewriteRule ^/trams_salsa_test/owa/(.*)$   /trams/$1   [PT]
RewriteRule ^/trams_test/owa/(.*)$         /trams/$1   [PT]
RewriteRule ^/tramssalsatestopen/owa/(.*)$ /trams/$1   [PT]
Alias /trams/ "/somepath/"
>Fix:
No
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]
 
 


Mime
View raw message