Page 1 of 1
Testing an Apache config.
Posted: Mon Oct 22, 2007 4:09 pm
by onion2k
I've added some custom ErrorDocument stuff to Apache but I'm a bit stumped about how to test it. I can test my custom 404 handler easily, but what about 403 and 500? Is there a standard way to test that sort of thing?
Posted: Mon Oct 22, 2007 4:14 pm
by VladSun
You can easily make them appear:
error 500 - make a none executable script in your cgi-bin and browse to it;
error 403 - try to browse your cgi-bin directory - it should have directory indexing forbidden;
Posted: Mon Oct 22, 2007 4:24 pm
by onion2k
Cool, they both worked.
Well, I mean didn't work.
Err... you know what I mean.