andz Posted September 27, 2008 Share Posted September 27, 2008 I have a site with the URL http://localhost/?mode=testing How do I configure the AcceptPathInfo for the url to make http://localhost/testing ??? I'm using Apache on Windows XP. How / Where to configure AcceptPathInfo Thanks Link to comment https://forums.phpfreaks.com/topic/126072-howto-acceptpathinfo/ Share on other sites More sharing options...
wildteen88 Posted September 27, 2008 Share Posted September 27, 2008 You use mod_rewrite for that. Example RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule /(.*) index.php?mode=$1 [NC,L] Link to comment https://forums.phpfreaks.com/topic/126072-howto-acceptpathinfo/#findComment-651936 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.