[lug] cgi-bin Apache
John Starkey
jstarkey at advancecreations.com
Sun Dec 10 01:30:08 MST 2000
Check out the mod_userdir section of httpd.conf. You'll need to add
ExecCGI to the Options in the Directory container and I *think* everything
is smooth from there, ScriptAlias should be ok, I think, if you already
have it working with ServerRoot. It's been a couple months since I
config'd ~user/cgi-bin though. And that was my first.
This will atleast get you started.
On Sat, 9 Dec 2000, D. Stimits wrote:
> 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
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
More information about the LUG
mailing list