[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] CGI above the /web directory...



> > I know this issue has been discussed to some degree in the archives...
> > But the reason I post it again is because I found a lot of
> contradicting and
> > mis-information...
> > Can someone (who had done it successfully) please offer advice
> on the proper
> > way to setup a cgi directory above the /web directory.
>
>
> ScriptAlias /cgi-bin/ /home/sites/site#/cgi-bin/
> AddHandler cgi-script .cgi
> AddHandler cgi-script .pl
>

I'm trying to understand what the point of doing this is? Is it for
security?
With the scriptalias can't anyone still browse to
www.domain.com/cgi-bin/file.ext  and just get pointed to the
/home/sites/site#/cgi-bin/ instead of /home/sites/site#/web/cgi-bin/

I could see doing this with a cgi-bin someplace on the server and a script
alias tag in all sites pointing to that for a global cgi-bin or a shared
cgi-bin for sites created outside of the GUI.
--
Dan Kriwitsky