At 1:41 PM -0700 3/28/07, Jonathan Schwartz wrote:
This is by bad. I must not have explained this properly.
The old system is some other SUN server someplace, run cgi's to
deliver the web functionality. It was put to pasture.
The new system, (OS X Server/ with rewritten PHP talking to
FileMaker via fx.php) is now accepting the web traffic by
redirecting the IP.
According to the error logs, some traffic is coming in from
someplace, calling cgi scripts which *used to be* in service on the
retired server. There are no cgi scripts on the new system...just
php.
Ah.
Well this explains the request *and* the error.
I'm guessing that folks have book-marked pages from the old server
and as a result, the cgi queries are being delivered to the new
server (php only) and producing apache errors to the user and
entries in the log file.
Prolly this and spiders, yes.
Phew! That being re-stated, how do I trap these "Forbidden" errors
and gracefully deliver users to a more informative error handling
page.
Use a custom error page for this error code....
Or create a page with the filename and return that...
Or if they all were in a cgibin or something create a cgialias in Apache...
or... TMTOWTDI
I believe all this is covered in the Apache Cookbook.
The current error file specified in the Web/Sites/Settings isn't
working for these error,but it is working for run of the mill
missing html pages.
It is working, it's just not the same error code so it isn't
utilized. You can have error pages for each error code. See the
Apache docs.
--
-dhan
------------------------------------------------------------------------
Dan Shoop AIM: iWiring
Systems & Networks Architect http://www.ustsvs.com/
email@hidden http://www.iwiring.net/
1-714-363-1174
"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss
iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden