safe_mode setup question
| From: | Lutz Jaenicke | Date: | Mon, 15 Jan 2001 14:48:04 +0000 |
| Subject: | safe_mode setup question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34626@lists.php.net to get a copy of this message | ||
Hi!
On my webserver I want to switch to enable safe_mode setup, but not for
all directories.
1) I have one common directory, in which I have some root-owned files with
the header and footer of our lab. I want to allow all users to include
these files to easily make them look similar :-)
2) Besides this directory I would prefer safe_mode.
Unfortunately, when enabling safe_mode, requirement 1 fails, as the user's
web-pages are owned by the users themselves. They are colleagues with a
shell account, so include() must fail because of the different uid.
I did not manage to work around safe_mode in a partial manner (e.g. by
using "php_admin_value safe_mode Off" in a <Directory ...> statement),
I could only globally swith on and off safe_mode.
Are there any recommondations on how to allow for the partial use of
safe_mode?
Many thanks in advance,
Lutz
--
Lutz Jaenicke Lutz.Jaenicke@aet.TU-Cottbus.DE
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153