Apache/CGI: How to toggle an ErrorDocument from a CGI ?

Apache/CGI: How to toggle an ErrorDocument from a CGI ?

Post by Ga?l Rouallan » Fri, 19 Oct 2001 18:15:07


Is there a way of returning an HTTP Error from a CGI and have it handled
by the web server (through any ErrorDocument it might have setup)
instead of returning Status and an HTML error message ? I added an extra
output header for that (trivial patch), but I was wondering if there was
a standard way of doing it.





1. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

I've been seeing a number of attacks of this sort recently
from various sites in the http logs.  The time correlation
between the logs on various hosts suggests that the attacker
was scanning sequentially upward in IP addresses.  Since all
tcp and udp packets to ports below 1024 except for http,
smtp, and ident are filtered out for most, including the
attacking, sites, I'm not seeing anything else in the logs. - - [04/Jul/1998:07:19:27 -0500] "GET /cgi-bin/phf" 404 - - - [04/Jul/1998:07:19:28 -0500] "GET /cgi-bin/test-cgi" 404 - - - [04/Jul/1998:07:19:28 -0500] "GET /cgi-bin/handler" 404 -

Is this a signature of some known attackware?  If so, what
other attacks accompany these http probes?


2. Windowmaker problems...

3. WAP/WML cgi broken! apache/mod_perl CGI::WML

4. x3270 for Solaris 2.3??

5. apache: give /home/mailman/cgi-bin permissions to run cgi-scripts.

6. sco advance file and print sharing

7. Cannot execute CGI programs in /cgi-bin with Apache

8. SUSE 9.0: Incompatible with Shuttle SK41G?

9. Apache, cgi forms, cgi programs - issues - restart resolves issue??

10. Apache and <!--#exec cgi="/cgi-bin/counter/counter.cgi" -->

11. apache: cgi script not in cgi-bin

12. Apache, cgi forms, cgi programs - Issues and problems

13. Using .cgi/.pl to enable CGI script in Apache