Hi,
Ok, I am trying to use mod_rewrite to persist session ids with PHP. The site
is at: http://rumour.roundlinux.com/site and when you connect this is
changed to: http://rumour.roundlinux.com/<session-id>/site where
<session-id> is an 32 character alpha-numeric md5 hash. So, I want
mod_rewrite to rewrite urls with the session id inside to urls without.
Currently, I am using this in an .htaccess file in the directory above
/site:
RewriteEngine On
RewriteBase http://rumour.roundlinux.com/site/
RewriteRule rumour.roundlinux.com/(.*)/site /www/rumour/site/$2
At the moment I am getting a 500 server error. Is there an easy way I can
tell if mod_rewrite is fuctioning on the server? What am I doing wrong? I
know the regex is very rough, but I just want to get this going at the
moment. I have read a few things about mod_rewrite on the internet, but I
still hardly understand how the damn thing works.
Any help gratefully received...
Raoul Parekh