mod_rewrite is not working!!!!!!!1
Posted: Sat Nov 10, 2007 8:10 am
In the first place: i take it off the comment from the mod_rewrite module.
Restart server.
I have a website where on the page I have the following link:
http://localhost/infogen/site/stiri.php?cat=med&id=147
In .htaccess I put the following cod:
Options +FollowSymLinks
RewriteEngine on
RewriteRule stiri-cat-(.*)-id-(.*)\.htm$ stiri.php?cat=$1&id=$2
After I put the htaccess file still it's show me the link from the above.
I been aspected to see the following link:
http://www.infogen.ro/stiri-cat-med-id-147.htm
Anybody know that's wrong?
Thanks in advance
Restart server.
I have a website where on the page I have the following link:
http://localhost/infogen/site/stiri.php?cat=med&id=147
In .htaccess I put the following cod:
Options +FollowSymLinks
RewriteEngine on
RewriteRule stiri-cat-(.*)-id-(.*)\.htm$ stiri.php?cat=$1&id=$2
After I put the htaccess file still it's show me the link from the above.
I been aspected to see the following link:
http://www.infogen.ro/stiri-cat-med-id-147.htm
Anybody know that's wrong?
Thanks in advance