[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] php.ini and individual site setting.
- Subject: Re: [cobalt-users] php.ini and individual site setting.
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Wed Aug 22 21:41:18 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi TC,
In your httpd.conf file in /etc/httpd/conf/httpd.conf you can add the
following lines to every single vsite you have.
php_admin_value open_basedir /home/sites/siteX:/tmp
php_admin_value dir_upload /home/sites/siteX
These two lines will enable you to limit your customers to view files below
/home/sites/siteX, but they will still be able to perform uploads via the
/tmp directory.
If in addition you want to force the files that have been uploaded to be
moved to their directory you can add the second line to every
<virtualhost>...</virtualhost> section.
le 23.8.2001 11:30, Thiva Charanasri à thiva@xxxxxxxxxxxxxx a écrit :
> Dear All,
> I would like to know how to set values in php.ini for each individual site,
> such as $dir_upload
> and etc. Thanks for any help.
>
> Sincerely,
>
> -T.C.-
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
=======================================================================