Want to make mod_rewrite ignore certain urls
Posted: Sat Sep 02, 2006 7:23 am
On my site, Serendipity is not in a subdirectory, so if you go to mysite.com, serendipity opens right up. Unfortunately, this, combined with the fact that I'm using mod_rewrite, means that if I create a subdirectory and try to go to it (for example, mysite.com/coolstuff), I instead get the main Serendipity page. How do I prevent this?
I thought about editing .htaccess myself, but I wonder if maybe Serendipity might need full control over the file's contents, or else bad things could happen the next time I change settings in the admin pages. Maybe I should just not bother worrying, go ahead, and edit it anyway?
Yes, I know there are plugins for static pages, but I want to put a php script there, and I want it to send its output straight to the browser when requested.
I thought about editing .htaccess myself, but I wonder if maybe Serendipity might need full control over the file's contents, or else bad things could happen the next time I change settings in the admin pages. Maybe I should just not bother worrying, go ahead, and edit it anyway?
Yes, I know there are plugins for static pages, but I want to put a php script there, and I want it to send its output straight to the browser when requested.