https://bz.apache.org/bugzilla/show_bug.cgi?id=69344

--- Comment #7 from Devendra <[email protected]> ---
(In reply to Yann Ylavic from comment #5)
> Each RewriteRule matches the current request path and (eventually) rewrites
> it to a new request path for the next RewriteRule or further httpd
> processing.
> Since 2.4.60, rewritten request pathes are forced to start with a slash if
> they don't already, so your rules should look like this:
> 
> >RewriteMap lowercase int:tolower
> >RewriteMap map-file  
> >txt:/prod/app/tv/dev_tv-launchpad_1.0.1_a/htdocs/maps/tv.dev.map
> >
> >RewriteRule ^/maps/ - [PT,L]
> >
> >RewriteCond %{REQUEST_URI} ^/tv/(.*)/? [NC]
> >RewriteRule ^/ ${map-file:${lowercase:%1}|--state--}
> >
> >RewriteCond %{REQUEST_URI} ^/tv/((([^/]+)/)?.*)/? [NC]
> >RewriteRule ^/--state-- ${map-file:${lowercase:%3}|--default--}
> >
> >RewriteCond %{REQUEST_URI} ^/(tv)/ [NC]
> >RewriteRule ^/(.*)  /--proto--/$1 [C]
> >RewriteRule ^/(--proto--)/--default-- /$1/${map-file:default|--error--}
> >
> >RewriteRule ^/(--proto--)/(.*)([0-9]\.glb.wellsfargo.net)/? 
> >/$1/${map-file:${lowercase:$2}|$2}$3





Hi Yann Ylavic - This solution worked for our lower environment. We did the
same as suggested in all our config files. 

I would like to keep this BUG open for couple of weeks as we are updating our
config templates. In case we see any other issue, I will update here and if
not, will close it as Successful.

Thanks again!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to