PDA

View Full Version : redirect configuration


divinequran
07-24-2009, 07:55 AM
Hi,

i have redirected using the following code.

RewriteEngine on
RewriteCond %{REQUEST_URI} ^/(.*).htm
RewriteRule ^(.*).htm http://www.mysite.com/test/test.php?ho=$1 [L]

My requirement is to display test.php?ho=hi.htm as hi.htm . it displays properly on my site. but not on my localhost, how do i configure it? in my apache.

jginspace
07-24-2009, 04:52 PM
I suspect 'divinequran' is not actually all that interested in reading the answers:
http://www.google.com/search?q=%22My+requirement+is+to+display+test.php%3Fho%3Dhi.htm+as+hi.htm%22&hl=en&filter=0