Portal Home > Knowledgebase > Articles Database > Apache Mod_rewrite issue
Posted by kselva, 01-04-2010, 06:21 AM I have linux vps in which in installed Apache/2.0.63 and enabled redirection with .htacces file . The example configuration is : RewriteCond %{REQUEST_URI} airport-loc-(.+)\.html$ RewriteRule ^(.*)$ http://mysite.com/airport-loc.php?country=$1 [L] the redirection is working but in the browser the url is shown instead of hiding.Example if i click the link http://mysite.com/aireport-loc-test.html,In browser the url is shown as http://mysite.com/aireport-loc.php?country=test instead of http://mysite.com/aireport-loc-test.html . How can i solve this issue.The same was working fine my cpanel vps in which i have hosted my site perviously
Add to Favourites Print this Article