httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithil S" <Mithi...@mphasis.com>
Subject [users@httpd] Apache Redirection Issue + + for Encoding/Decoding
Date Fri, 05 Feb 2010 09:58:02 GMT
Hi All,
 
http://www.domain-name.com/templatedata/Offer/Datasheet/data/en/shared/c
ontrol/appy_relays.xml&f=NNM1:appy+%26+fiss+Relays~!NNM2:appy+relays~!NN
M3:appy%20relays
<http://www.domain-name.com/templatedata/Offer/Datasheet/data/en/shared/
control/appy_relays.xml&f=NNM1:appy+%26+fiss+Relays%7E%21NNM2:appy+relay
s%7E%21NNM3:appy%20relays> 
 
Here in The URL all the special Character for a perticular text are
encoded in
UTF-8 format
For example: Function Name NNM1:Appy+%26+Fiss+Relays where "&" is
replaced by
%26.
 
There is code written in the redirect_corporate.conf file 
 
RewriteRule ^(/templatedata/Offer/Datasheet/data/en/.*?/control/.*)$
/sites/corporate/en/products-services/control/products-offer/presentatio
n.page?c_filepath=$1
[L,R=permanent]
 
Upon Apache Redirection Apache Decodes the %26 to &.
After Apache- Redirection
http://www.domain-name.com/sites/corporate/en/products-services/control/
products-offer/presentation.page?c_filepath=/templatedata/Offer/Datashee
t/data/en/shared/control/appy_relays.xml&f=NNM1:appy+&+fiss+Relays~!NNM2
:appy+relays~!NNM3:appy%20relays
<http://www.domain-name.com/sites/corporate/en/products-services/control
/products-offer/presentation.page?c_filepath=/templatedata/Offer/Datashe
et/data/en/shared/control/appy_relays.xml&f=NNM1:appy+&+fiss+Relays%7E%2
1NNM2:appy+relays%7E%21NNM3:appy%20relays> 
 
 
 
Kidly let me know what should i do to preserve the URL format which i
send to
Apache for redirection.

 

 

Mithil Shukla 

 

MphasiS | Applications
+91 22 67883488 office | +91 981.996.8300 mobile | mithil.s@mphasis.com

B Wing, 2nd Floor, Unit No. 101 & Unit No. 201, Infinity I.T Park Bldg.
No. 4, 239 General A .K .Vaidya Marg, Dindoshi, Malad (East), Mumbai,
India - 400097 
www.mphasis.com <http://www.mphasis.com/> 

 


Information transmitted by this e-mail is proprietary to MphasiS, its associated companies
and/ or its customers and is intended 
for use only by the individual or entity to which it is addressed, and may contain information
that is privileged, confidential or 
exempt from disclosure under applicable law. If you are not the intended recipient or it appears
that this mail has been forwarded 
to you without proper authority, you are notified that any use or dissemination of this information
in any manner is strictly 
prohibited. In such cases, please notify us immediately at mailmaster@mphasis.com and delete
this mail from your records.

Mime
View raw message