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. 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 Link to comment https://forums.phpfreaks.com/topic/167234-htaccess-redirect/#findComment-882038 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.