This is a discussion on mod_rewrite within the Apache Web Server forums, part of the Web Server and Related Forums category; I whould use mod_rewrite and rewrite an url like http://localhost/url.php?test=4&prova=5 to http://...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I whould use mod_rewrite and rewrite an url like
http://localhost/url.php?test=4&prova=5 to http://localhost/test/prova.html how can i do? (I've already searched in past questions) thanks Andrea |
|
|||
|
Muppy wrote:
> I whould use mod_rewrite and rewrite an url like > http://localhost/url.php?test=4&prova=5 > to > http://localhost/test/prova.html > how can i do? RewriteRule ^([^/]+)/([^/]+)\.html url.php?test=$1&prova=$2 [L,NS] -- Justin Koivisto - spam@koivi.com PHP POSTERS: Please use comp.lang.php for PHP related questions, alt.php* groups are not recommended. |