Spaces in my URL

Discuss practical ways rearrange URLs using mod_rewrite.

Spaces in my URL

Postby im_chaz » Tue Feb 08, 2005 2:27 pm

I have a URL that looks like this:

http://www.gvnw.net/empdetail.php?posit ... 1&posid=26

As you see after POSITION, their is a PLUS sign between Telecom+Consultant to indicate its a space.

But I am having difficulty creating the correct syntax. I have...

RewriteRule ^(.*)JobID(.*),([0-9]),(.*),([0-9]),([0-9]*)$ $1empdetail.php?position=$2&type=$3&docpath=$4&listing=$5&posid=$6

I assume I am having the problem at
JobID(.*)
because there is a space in my URI. How do I fix this problem.

Thanks in advance,
Chuck
im_chaz
 
Posts: 7
Joined: Tue Feb 01, 2005 12:42 pm

Postby Caterham » Tue Feb 15, 2005 7:12 am

As you see after POSITION, their is a PLUS sign between Telecom+Consultant to indicate its a space.
But I am having difficulty creating the correct syntax. I have...
But what is your incomming static request url??? The pattern depends upon the static url.
Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 29 guests

cron