Page 1 of 1

Any way to NOT require ErrorDocument?

Posted: Tue Jan 06, 2004 2:58 am
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

Posted: Tue Jan 06, 2004 11:23 am
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.

Posted: Tue Jan 06, 2004 2:47 pm
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!

Posted: Tue Feb 03, 2004 5:47 pm
by flavour
When I did that thing in the config nothing changed.
How to avoid using all those htaccess-stuff? :/

Posted: Wed Feb 04, 2004 12:10 am
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"