This forum has been moved here:
Helicon Tech Community Forum

ISAPI_Rewrite 3.0 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 3.0
Subject Topic: Problems with URL / GET params
Author
Message |
roelofb
Newbie


Joined: 08 September 2011
Location: Netherlands
Posts: 1
Posted: 08 September 2011 at 8:43am

Hello all..

My customer has a sit which uses adresses like these:

www.domain.com/dames/damesschoenen/janet&janet/

but also:

www.domain.com/dames/damesschoenen/tods/?selcolor=1

 

i use this:

#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)?(.*)$ $1&$2 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)(/.+)? /decode.asp?R=0&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0  [NC,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/([^/]*)/([^/]*)/([^/]*)/([^/]*)/(/.+)? /decode.asp?R=1&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0 [NC,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/([^/]*)/([^/]*)/([^/]*)/(/.+)? /decode.asp?R=2&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0 [NC,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/([^/]*)/([^/]*)/(/.+)? /decode.asp?R=3&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0 [NC,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/([^/]*)/(/.+)? /decode.asp?R=4&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0 [NC,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([^/]*)/(/.+)? /decode.asp?R=5&P1=$1&P2=$2&P3=$3&P4=$4&P5=$5&P6=$6&U=$0 [NC,QSA]

... lots of rules, because there can be a variable set of parameters.
It seems like the last part "/janet&janet/" , or , "/marip�" (e with apastrofe) gives me a problem.
The first returns "janet" , the second "marip" ... could this be solved (sorry .. i am a rookie )



Edited by roelofb - 08 September 2011 at 8:44am
Back to Top
 
Guests
Guest


Joined: 01 October 2003
Online Status: Online
Posts: -160
Posted: 09 September 2011 at 7:51am

These are special characters. What IIS(6 or 7+) do you use?

Regards
Andrew
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version