httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markw <markjwiltsh...@yahoo.com>
Subject [users@httpd] RewriteRule doing Redirect despite not have [R] option ???
Date Thu, 08 Oct 2009 15:15:27 GMT

Server version: Apache/2.0.59
Server built:   Apr 26 2007 18:33:43


in httpd.conf I have...
------------------------------------------------

RewriteLogLevel 1
RewriteLog /WEBS/wkeditions/croner-uk.wkatos.com/logs/mod_rewrite.log

RewriteMap productid txt:/usr/users/bv71/wwwroot/seo/product_map.txt
RewriteMap catid txt:/usr/users/bv71/wwwroot/seo/cat_map.txt
RewriteMap editorialid txt:/usr/users/bv71/wwwroot/seo/editorial_map.txt
<Directory "/usr/users/bv71/wwwroot">
    Options Indexes FollowSymLinks Includes
    AllowOverride All
    Order allow,deny
    Allow from all


    RewriteEngine On
    RewriteRule ^productDetails\/category\/(.*)\/product\/(.*)$
/croner/jsp/groupDetails.do?contentId=${productid:$2|120
2552}&channelId=${catid:$1|-280281}&BV_UseBVCookie=Yes
[T=application/x-httpd-cgi,L]
    RewriteRule ^bundleDetails\/category\/(.*)\/product\/(.*)$
/croner/jsp/bundleDetails.do?contentId=${productid:$2|120
2552}&channelId=${catid:$1|-280281}&BV_UseBVCookie=Yes
[T=application/x-httpd-cgi,L]
    RewriteRule ^editorialDetails\/category\/(.*)\/editorial\/(.*)$
/croner/jsp/Editorial.do?contentId=${editorialid:$2|
19066}&channelId=${catid:$1|-280281}&BV_UseBVCookie=Yes
[T=application/x-httpd-cgi,L]
    RewriteRule ^categoryDetails\/category\/(.*)$
/croner/jsp/CronerZoneChannel.do?channelId=${catid:$1|-236991}&BV_UseB
VCookie=Yes [T=application/x-httpd-cgi,L]

</Directory>

------------------------------------------------
I want this to do a server side redirect and leave the browser as is, but
using Charles Web Debug Proxy I can see it is doing a 302...

rewrite log message

172.16.7.88 - - [08/Oct/2009:15:59:58 +0100]
[172.16.0.141/sid#160478][rid#6b7a48/initial] (1) [per-dir
/usr/users/bv71/wwwroot/] internal redirect with
/croner/jsp/CronerZoneChannel.do [INTERNAL REDIRECT]


Now I am sure I had this working, and it looks like from the log it is, but
it is doing a 302 !!!! therefore changing the browser URL !!

what am i doing wrong, sorry this is driving me mad....


thanks

Mark


-- 
View this message in context: http://www.nabble.com/RewriteRule-doing-Redirect-despite-not-have--R--option-----tp25803243p25803243.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message