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

Re: [cobalt-users] Shared CGI-BIN



> > > I'd like to make available some cgi scripts to all users on a RaQ4
from
> > > a shared area.  Search of the archives hasn't lead to much more that I
> > > think it can be done.
> > >
> > > Would be interested in a solution that someone has done and/or knows
> > > can be done.
> > >
> > > Thanks
> > > Thom

*cocking head*
Hmmm.
Couldn't you do this with symbolic links?
Bury the 'scripts' folder somewhere not web-accessible (like /home/scripts)
on the server (I say this so that people can't look at the scripts.), then
make a symbolic link so that whenever someone calls:
www.theirdomain.com/scripts/formmail.cgi
The server digs up and serves out:
/home/scripts/formmail.cgi

*cocking head the other way*
I'm sure it can be done, just not sure how. And you have to make sure that
ONLY localhost runs on the script are allowed so you don't become spam-bait.

Does the sym link sound like it would work, though?
Would you have to make a sym link from every domain's /home/sites/site#/web
directory or could you do a global link like /home/sites/*/web?

Carrie