Re: Safe Mode

From: Date: Sun, 22 Feb 2004 01:34:03 +0000
Subject: Re: Safe Mode
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178466@lists.php.net to get a copy of this message
Lucas Gonze wrote:
On Saturday, Feb 21, 2004, at 20:17 America/New_York, user@domain.invalid wrote:
Lucas Gonze wrote:
On Saturday, Feb 21, 2004, at 09:18 America/New_York, php4@nv.jakaranda.co.za wrote:
Is it possible to set Apache in such a way that everyting is run under safe-mode, except for a directory and everything underneath in a virtual domain?
Very likely yes, if your admin permits it. The place to look for an answer is in documentation for httpd.conf. Good luck. - Lucas
Can safe mode be turned off in the .htaccess file?
My guess is no. That is a decision which should belong to the server admin.
Definately no. It would not be safe mode if anyone can turn it off. I don't know the gallery script but setting safe_mode_include_dir should help. Ask the admin to set it to your directory for your virtual host. Another option would be to use ftp functions to upload the images to your directory, but you would have to rewrite the script.

« previous php.general (#178466) next »