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 Quote Link to comment 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] Quote Link to comment 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.