Help with mod-rewrite / apache errorhandling

Having trouble installing serendipity?
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

Once again I must say: kudos Judebert! Thanks for the very good explanation. And most of all: your patience.

I thought I read in the manual of WP that it doesn't need/use .htaccess for SEF url's, but that obvious was a mistake :oops:

My lay-out however is as follows:

/var/www <-- serendipity resides here
/var/www/other
/var/www/anotherdir

(etc).

In this lay-out I found out I *do* have to add the .htaccess because as soon as I turned on the mod_rewrite option in S9y, every url outside the root started to redirect to S9y...
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Thanks for the kind words. That's what I'm here for... when I'm here. Sigh.

In the directory structure you use, everything is in a subdirectory under Serendipity, so Serendipity's .htaccess will be used unless you provide another one. As you've discovered. Of course, you could also use <Directory> sections in the server configuration instead, but in general we consider this way too much trouble for personal sites.
Judebert
---
Website | Wishlist | PayPal
hgoor
Regular
Posts: 297
Joined: Thu Jan 06, 2005 11:46 am

Post by hgoor »

Ok,well basically I will have to learn to live with .htaccess files. I made one just like you pointed out and I just use it in every directory that needs to be on its own.

Thanks for the excellent help: the fact that I usually get some form of answer withing a few days is one of the reasons why I haven't switched to any other blog software yet.

You guys are most helpful.
"If life is worth living, it's worth documenting" -- Adam Curry ("Podfather")

Bloggers@large: http://www.vandegoor.com
iLounge Radio: http://www.hostingperfect.net:8004/listen.pls
Post Reply