Any way to NOT require ErrorDocument?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Shanness
Regular
Posts: 12
Joined: Tue Jan 06, 2004 2:49 am

Any way to NOT require ErrorDocument?

Post by Shanness »

Hi,

My ISP won't enable the ErrorDocument directive in .htaccess :(

This totally breaks s9, which seems a shame, and will probably stop quite a lot of people being allowed to use it (ISP's will not allow Override All on shared websites).

I just thought there might be some tricky way around this problem, because I really like S9...

Alternatively, does anyone have any suggestions for another blog to use that might be more ISP friendly?

I don't know PHP very well, but I am an OO programmer (Java), so if someone can give me an overview, I might be able to patch S9 to handle not using ErrorDocument and make it configurable?

HELP!

Thanks,

Shanness
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks to Shanness, a patch to allow usage of s9y without .htaccess/ErrorDocument/mod_rewrite is now applied to CVS and free for testing. :)

Regards,
Garvin.
Shanness
Regular
Posts: 12
Joined: Tue Jan 06, 2004 2:49 am

Post by Shanness »

Thanks Garvin for neatening up the patch so well and applying it so fast!

I have given it a cursory testing and everything seems to be working. Serendipity no longer requires ErrorDocumand or mod_rewrite!

To turn on the new code, you need to change

$serendipity['rewrite'] = true;

to

$serendipity['rewrite'] = false;

in serendipity_config.inc.php

Thanks Garvin, and the whole s9y team!
flavour
Regular
Posts: 14
Joined: Mon Feb 02, 2004 12:11 pm

Post by flavour »

When I did that thing in the config nothing changed.
How to avoid using all those htaccess-stuff? :/
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Get *latest* CVS version

Go to configuration and set rewrite to "none"

OR

go to phpMyAdmin and in serendipity_config set/edit rewrite to "none"
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply