open_basedir for exiting websites
I want to add open_basedir line for exiting hosts.
all web site configurations located on /etc/httpd/conf.d
and file name format : vhost_example.com
php_admin_value open_basedir "/chroot/home/$UNIXNAME/:/usr/share/pear/:/tmp/:/var/lib/php/session/"
vhost_example.conf file have a contains
SuexecUserGroup example example
How can i take example name from SuexecUserGroup line and put the $UNIXNAME after that
add open_basedir line under to CustomLog line
thanks in advance.