Apache: file redirected/aliased to cgi-bin does not execute

Apache: file redirected/aliased to cgi-bin does not execute

Post by Manse Jenning » Wed, 30 Oct 1996 04:00:00

I am attempting to redirect/alias a single file in a directory to cgi-bin and actually have the script run.

I can both alias and redirect the file in question, however the server will disply the script text as oppsed to actually executing.

We do not alias .cgi types because users in general do not have cgi access, so that option is not very open to me.

I would like to offer an option so that a ~user URL can be redirected to execute a script in cgi-bin, such as allowing users to have a dynamic home page  when browser point to /~user/  as opposed to /cgi-bin/

So far, the execution part eludes me, comment and suggestions are most welcome.

Your time and effort is appreciated,



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. How does one list out all the files on any particular package

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

4. setting max IP packet size (for ALL traffic?)

5. Linux/Apache - my cgi-bin script can't write/redirect files in any directory

6. Memory for PCi II card?

7. Executing Superuser commands from Apache cgi-bin

8. Accessing Samba From Behind a NATing Router

9. scohttp80 will not execute scripts in cgi-bin -Reply

10. apache: cgi script not in cgi-bin

11. scohttp80 will not execute scripts in cgi-bin

12. apache cgi-bin directory alias

13. cgi-bin is NOT Alias