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

Re: [cobalt-users] Raq2 - centralized cgi directory?



-- Jason Pilon <jason@xxxxxxxxxxxxxxxxxx> wrote:
> How can I create a centralized cgi-bin for all virtual sites to use?
> 
> For example:   /home/sites/cgi-bin
> 
> Instead of this:   /home/sites/site10/web/cgi-bin

If you edit http.conf (or whatever ... srm.conf maybe?), you should be able
to  add a line like so:
    ScriptAlias /cgi-jason/ /home/sites/cgi-bin/
(don't forget the trailing /).

then restart apache (/etc/rc.d/init.d/httpd.init restart).

then any user has access to
    http://www.ihavealamedomainnamedotcom.com/cgi-jason/foo.pl

Paul

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com