the % problem

Discuss practical ways rearrange URLs using mod_rewrite.

the % problem

Postby Manoj Badar » Tue Sep 27, 2005 3:18 am

Hello to all,
I am converting an dynamic url to static one and the error occurs
ex:
http://192.168.0.17/expanse.php?code=0% APR
to
http://192.168.0.17/expanse.php/code/0% APR

i changed it and write an simple statement on my htaccess
rewritebase /
rewriterule ^expanse\.php/code/(.*)$ expanse.php?code=$1 [L]
but the problem is that
the code shown in browser looks
http://192.168.0.17/expanse.php/code/0%%20APR

I know the %20 is used for blank space, but the output not comes on screen it shows error

Your browser sent a request that this server could not understand.

Please tell me what i do.

Thanks for reply
Manoj Badar
 
Posts: 1
Joined: Tue Sep 27, 2005 3:08 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 17 guests

cron