arkinstall Posted October 25, 2006 Share Posted October 25, 2006 My client wants to have urls such ashttp://www.example.com/index.php/value1/value2/value3/But the server should see it like:http://www.example.com/index.php?a=value1&...e2&c=value3How can I do this? Link to comment Share on other sites More sharing options...
boen_robot Posted October 25, 2006 Share Posted October 25, 2006 You need to set the server to rewrite URLs. See the URL rewriting guide for more info. The particular thing you're trying to do is also covered in the AListApart's "URLs! URLs! URLs!" article. The Apache mod_rewrite is truly a piece of art. If you can master all of it's uses (not just the ones shown in those examples), you may practically call yourself an Apache expert . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now