Independente Vhost Config File

Does anyone know where some configurations like paths for the open base dir can be done, for a certain host? I know i could disable the restriction… which is not advised, so i’m trying to find a way to circumvent this. Has anyone dealt with this sort of stuff before?




You can edit the vhost of the domain in


where is the domain you’d like to edit

Then to restrict the open basedir you could add this

php_admin_value open_basedir “/path/dir/”

for example

php_admin_value open_basedir “/home/account/”

If you’d like to automaticly add the open_basedir to all new created accounts, then you’ll have to edit the /home/interworx/etc/vhost-base.conf

Just add something like this (for example)

php_admin_value open_basedir “<<PACKROOT>>”


php_admin_value open_basedir “<<WEBROOT>>:<<PACKROOT>>”

<<PACKROOT>> is like /home/account/
<<WEBROOT>> is like /home/account/domain.tld/html

Hope it helps