Strange symbols in URL

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 18
Joined: 19 Mar 2012, 11:25

Strange symbols in URL

12 Sep 2012, 05:26

I have this symbol in url :
http://Domain.com/notebook-fujitsu-life ... 531MPAB5HR

last segment: VFY:AH531MPAB5HR

and link does not work..
rewrite is like this..

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^?+]+)(?:\+([^?]+))?$ /product.asp?product=$1&code=$2?3\%2B$3 [NE,NC,L]

any help on this..

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Strange symbols in URL

12 Sep 2012, 08:59

So, do you mean the rule doesn't work with this link? Do the links without semicolon work fine?

Please enable logging in httpd.conf like this:

RewriteLogLevel 9

and provide rewrite.log records for this request.

User avatar
Posts: 18
Joined: 19 Mar 2012, 11:25

Re: Strange symbols in URL

14 Sep 2012, 02:53

i send logs in attchment
Last edited by Djive on 14 Sep 2012, 10:32, edited 1 time in total.

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Strange symbols in URL

14 Sep 2012, 05:17

Hello,

There are no records related to the problematic request in the rewrite.log and the reason might be the following: colon is very undesirable symbol in the URL.
Is there a reason you decided to use it?

User avatar
Posts: 18
Joined: 19 Mar 2012, 11:25

Re: Strange symbols in URL

14 Sep 2012, 10:31

this is article import from third party database..

and they use this as ID for products....

and cant say to them to change products IDs

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Strange symbols in URL

17 Sep 2012, 03:53

I see, but the error occurs before the request comes to ISAPI_Rewrite (that's why there is nothing in the rewrite.log), so I can't think of a way we can help you...

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 44 guests