mod_rewrite URL rewriting problem

Having trouble installing serendipity?
Post Reply
Random
Regular
Posts: 10
Joined: Sun Aug 14, 2005 7:06 pm
Location: London
Contact:

mod_rewrite URL rewriting problem

Post by Random »

I have just set Serendipity up on my webspace at www.andthenhesaid.com , in the root, so that that address resolves to the blog.

To do that, I shifted my existing site to a new subdirectory called "content".

I've now fallen foul of exactly the problem in the FAQ point titled: "When I use mod_rewrite URL rewriting, I cannot access any files in subdirectories of my Serendipity install! If I go to any of my own URLs it keeps redirecting me to my blog plage!"

But, I can't use the fix in that FAQ on the 'content' directory because the site is powered by a CMS (Etomite) that requires the .htaccess file to say 'RewriteEngine On' for its own URL rewriting system.

Is there any way round this problem?

Thanks in advance...
Life's a bitch - but then you're reincarnated...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: mod_rewrite URL rewriting problem

Post by garvinhicking »

Hi!

If that htaccess relies on rewriteengine, the CMS needs to fix it at its place by specifying hte RewriteBase to its directory.

The only other way I see is to put s9y within a subdirectory of your CMS, or create two independent dirs?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Random
Regular
Posts: 10
Joined: Sun Aug 14, 2005 7:06 pm
Location: London
Contact:

Post by Random »

Off I go to experiment then :)
Life's a bitch - but then you're reincarnated...
Post Reply