Forum Moderators: coopster

Message Too Old, No Replies

php safe mode

can it be turned off for different virtual domains?

         

amznVibe

8:33 am on Jan 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I definitely need a php guru who has worked with their own server.
My host has php safe mode turned on but is usually willing to do almost any modification I ask for. Obviously they cannot disable safe mode for everyone, but will they be able to disable it for just one virtual domain for me? Or is it all or nothing?

andreasfriedrich

10:16 pm on Jan 26, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it can.
php_admin_value safe_mode 0¦1
within a
VirtualHost
container will toggle safe mode on/off just for that virtual host.

Note that this will need to be a true

VirtualHost
container. It will not work for dynamically configured virtual hosting using mod_vhost_alias or mod_rewrite.

But if your host will turn of safe mode for you then they should be willing to add a

VirtualHost
container for you as well.

Andreas