mod_rewrite # sing problem
Hi,
I am using mod_rewrite with apache 2. bascially I want to convert.
»localhost/app/2.html with »localhost/app/p.php?id=2#2
Here is the rule I have in httpd.conf file.
<Location /app/>
rewriteRule ^(.*)([0-9]+).html$ p.php?id=$2\#$2 [L,R]
</Location>
this changes the URL, but encodes # symbol with %23 character. how will
i preserv # character during URL redirect.
|