[lug] cgi-bin Apache

D. Stimits stimits at idcomm.com
Sat Dec 9 22:06:32 MST 2000


I'm trying to set up a local linux machine to work similar to a Solaris
account I have (it uses Zeus, similar to the linux Apache). Right now
the linux box has a cgi-bin directory that works for the
http://localhost, but what I need is an individual per-user cgi-bin
directory. On the solaris account, for security reasons (which I tend to
agree with), cgi is allowed to execute only if it is in ~/cgi-bin/. For
the linux box, I'd like to mirror this on an individual per-user basis.
So I can use http://localhost/~someuser/myapp.cgi, and it will know to
search the cgi-bin directory of only that user. Is this a simple
configuration setup for Apache? I'd like to see any reference to a .cgi
file refused if it is not in the ~someuser/cgi-bin/ directory.

D. Stimits, stimits at idcomm.com




More information about the LUG mailing list