[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: James Bond <jamesbond@xxxxxxxxxxx>
- Date: Tue Aug 21 16:58:42 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
You can do it easily with the following line
RewriteCond %{HTTP_HOST} ^([^:]+)
RewriteRule ^/whatever_folder/?$ proto://servername:80/new_folder
[L,R]
This will even look "Cobalt professional" since they do it in the same way
:-))
le 17.8.2001 1:04, DevSys Administrator à devsys-admin@xxxxxxxxxx a écrit :
> Hi,
>
> 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....
>
> Thanks for any help!
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
=======================================================================
James Bond
Secret agent 007
Her Majesty's secret service
=======================================================================