divinequran Posted July 24, 2009 Share Posted July 24, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/167234-htaccess-redirect/ Share on other sites More sharing options...
jginspace Posted July 24, 2009 Share Posted July 24, 2009 Before any helpers delve into this, see: http://www.google.com/search?q=%22My+requirement+is+to+display+test.php%3Fho%3Dhi.htm+as+hi.htm%22&hl=en&filter=0 Quote Link to comment https://forums.phpfreaks.com/topic/167234-htaccess-redirect/#findComment-882038 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.