modreoko
August 2nd, 2007, 23:20
Hi there,
I have one problem with rewrite rules. I have set up one simple rewrite rule where I would like to user relative path. it works in other servers, but mine.
here is the example:
Options Indexes
Options FollowSymLinks
RewriteEngine on
RewriteRule ^message/([^/]+)$ /index.php?Message=$1 [QSA,L]
#this does not work, but it should. it owrks in other servers....
RewriteRule ^message/([^/]+)$ http://domain/index.php?Message=$1 [QSA,L]
#this works, but it is not exactly ehat I need - it redirects to #another site
The other thing I realized is, that the browser can't go even back. I have to restart the browser.
thanx for help,
ivan
I have one problem with rewrite rules. I have set up one simple rewrite rule where I would like to user relative path. it works in other servers, but mine.
here is the example:
Options Indexes
Options FollowSymLinks
RewriteEngine on
RewriteRule ^message/([^/]+)$ /index.php?Message=$1 [QSA,L]
#this does not work, but it should. it owrks in other servers....
RewriteRule ^message/([^/]+)$ http://domain/index.php?Message=$1 [QSA,L]
#this works, but it is not exactly ehat I need - it redirects to #another site
The other thing I realized is, that the browser can't go even back. I have to restart the browser.
thanx for help,
ivan