Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Apache Redirection Issue + + for Encoding/Decoding

Mithil S

2010-02-05

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi All,
 
http://www.domain-name.com/templatedata/Offer/Datasheet/data/en/shared/control/appy_relays.xml&f=NNM1:appy+%26+fiss+Relays~!NNM2:appy+relays~!NNM3: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/presentation.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/Datasheet/data/en/shared/control/appy_relays.xml&f=NNM1:appy+&+fiss+Relays~!NNM2:appy+relays~!NNM3: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

 

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.
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.