one way is to mask it so the user sees the /this/that url and the server sees /page.php?action=that or whatever. You can achieve that by doing something like the following:
That will point anything in /people/ to the php page with username and attached extra query string.
The other way is to have it redirect them to the php request rather than masking, so the url changes from /people/username to /people.php?username=whatever at the client end. You can do that by adding the [R] option.
Depends on the server's operating system and what web server you're running. In apache you can find out what compiled in modules there are by running the following from the web server's bin directory:
httpd -l
If you don't see "mod_rewrite.c" in that list, check to see if "mod_rewrite.so" is in the Apache server's module directory.
If you're not in charge of running the Apache server, you may want to consult the administrators and see if it's installed or if they can have it installed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.