Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Variable after Rewrited URL Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
nicojet
Newbie
Newbie


Joined: 02 August 2008
Location: France
Online Status: Offline
Posts: 1
Posted: 02 August 2008 at 4:42am | IP Logged Quote nicojet

Hi,

As shown under, I have rewrited a page named  liste.awp?q=myvar  to   liste_myvar.htm

RewriteRule /kitespirit_WEB/FR/liste_(.*)\.htm /kitespirit_WEB/FR/liste.awp\?q=$1

My problem is that I sometimes need to put a variable after the rewrited URL. Example :

liste_q.htm?var=myvar

For the moment, I have a 404 error

Is anyone have a salution please ?

Thank you. Nick.

 

 

Head of the Httpd.ini :


# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
# Block external access to the Helper ISAPI Extension
RewriteRule .*\.isrwhlp / [F,I,O]

Back to Top View nicojet's Profile Search for other posts by nicojet
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7559
Posted: 07 August 2008 at 6:46pm | IP Logged Quote Lexey

RewriteRule /kitespirit_WEB/FR/liste_(.*)\.htm(?:\?(.*))? /kitespirit_WEB/FR/liste.awp\?q=$1?2&$2: [I,L]
Back to Top View Lexey's Profile Search for other posts by Lexey
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum