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

RE: [cobalt-users] Trying to use a server wide script.....Without succes....STILL....



> > I forgot to say that you have to add these lines to the
> > /etc/httpd/conf/httpd.conf file.
> >
>
> Well tried it and still doesn't work....
>
> Let me explain some more....
>
> Say I have a script in http://site.com/test.cgi (in /home/sites/home/web/)
>
> I want every user on the Cobalt being able to use it through an alias
> http://usersite.com/script/

I recommend you create a cgi-bin directory in /home/sites/home/web

Then in the httpd.conf for the site you create you can add:

ScriptAlias /cgi-bin/ /home/sites/home/web/cgi-bin/

I believe you can add this to the srm.conf file to make it server wide so
your customers would not have a cgi-bin directory, but putting
/cgi-bin/somescript.pl would point to your "master" cgi-bin directory. When
they run the script it will appear to be under their domain but actually
will be in your cgi-bin.
--
Dan Kriwitsky