Mod_rewrite and folders under Serendipity
Posted: Wed Oct 11, 2006 10:08 pm
Got a tricky mod_rewrite question. I am using mod_rewrite in Serendipity. So for program scripts in subfolders I've just been turning it off.
But now I am having a bear of a time with ajchat. It uses mod_rewrite.
I get the landing page alright but when I log in it just kicks me back to the serendipity index.
Thoughts?
Code: Select all
RewriteEngine Off
DirectoryIndex index.phpCode: Select all
# BEGIN ajchat
DirectoryIndex index.php
<Files *.inc.php>
deny from all
</Files>
RewriteEngine on
RewriteRule ^help/?(.*)$$ help.php
RewriteRule ^chat/?(.*)$$ chat.php
RewriteRule ^schat/?(.*)$$ schat.php
php_flag register_globals off
# END ajchatThoughts?