[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Trying to use a server wide script..... Without succes....
- Subject: Re: [cobalt-users] Trying to use a server wide script..... Without succes....
- From: "Chris Calabrese" <webmaster@xxxxxxxxxxxxxxx>
- Date: Thu Aug 16 13:29:07 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
----- Original Message -----
From: "DevSys Administrator" <devsys-admin@xxxxxxxxxx>
>
> Tried setting up a script in my /home/web directory which all other
virtual
> sites can use....
>
> So I tried setting up an Alias in srm.conf
>
> Alias /whatever/ /home/sites/home/web/
>
> Also tried a ScriptAlias /whatever/ /home/sites/home/web/
>
> But without success, the script will only run from the main site
itself....
>
> Probably has something to do with user or group id?
> To my understanding the group ID is the sitenumber? (sitexxx)
>
> How can I make a directory in /home/sites/home/web/ with a script in it
that
> can be used by each virtual site using an Alias /whatever/
>
> Tried setting the GID of the script to nobody, httpd etc..... no
success....
You need to set it up as:
Alias /whatever /home/sites/home/web/
without a / after the whatever. If you do have a / after the whatever, then
you can only access the alias by going to domain.com/whatever/ (with a
trailing slash).
~ Chris Calabrese