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

RE: [cobalt-users] Multiple domains using same scripts in global cgi-bin



>
> I am trying to setup my server so that I can offer customers the
> use of some
> predefined cgi scripts on my server.  I want them to be able to specify
> /cgi-bin/script.cgi or another directory name for cgi-bin if necessary and
> have the script fun from a central location in my
> /home/sites/home/web/cgi-bin directory.  I believe I need to use the
> ScriptAlias directive.  I have tried a couple of different configs with no
> luck.


Hi,
You just need to edit the srm.conf file and add something like the
following:
ScriptAlias /cgi-local/ /home/sites/home/web/cgi-local/
then just place any global scripts inside this directory and your users will
be able to call them by using /cgi-local/script_name in their coding.
Best wishes,
Charlie