Hi all...
I can't make mod_rewrite to work.
I add the vhost.conf to /srv/www/vhosts/domain.com/conf with the following data:
===================
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /km/index.php?page=$1 [L]
===================
I run /usr/local/psa/admin/sbin/websrvmng -v -a
And when i try to see the result to page:
http://www.domain.com/km/index.php?page=1000
(which has to be retyped to: http://www.domain.com/1000.html )
nothing happens...
The rewrite works on the background. When i examined the logs of the rewrite engine i found that it PASSES THROUGH anything...
==================
(2) init rewrite engine with requested uri /km/index.php
(3) applying pattern '^([^/]*)\.html$' to uri '/km/index.php'
(1) pass through /km/index.php
==================
Does anyone knows why? Please advise.
Thank you.
Zeroborg.
I can't make mod_rewrite to work.
I add the vhost.conf to /srv/www/vhosts/domain.com/conf with the following data:
===================
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /km/index.php?page=$1 [L]
===================
I run /usr/local/psa/admin/sbin/websrvmng -v -a
And when i try to see the result to page:
http://www.domain.com/km/index.php?page=1000
(which has to be retyped to: http://www.domain.com/1000.html )
nothing happens...
The rewrite works on the background. When i examined the logs of the rewrite engine i found that it PASSES THROUGH anything...
==================
(2) init rewrite engine with requested uri /km/index.php
(3) applying pattern '^([^/]*)\.html$' to uri '/km/index.php'
(1) pass through /km/index.php
==================
Does anyone knows why? Please advise.
Thank you.
Zeroborg.