PDA

View Full Version : virtual host configuration with "Custom HTTPD Configurations"



cybercell
02-19-2008, 08:04 AM
Hello,

It seems like it's not valid in General Discussion, so I repost here.

Is it possible to edit virtual host configuration file via directAdmin to change php_admin_value sendmail_path?

For example, one has a host definition:

<VirtualHost ...>
...
<Directory ...>
...
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f username@username.xxx.com'
</Directory>
</VirtualHost>


And the desired definition could be something like (but not limited to):

<VirtualHost ...>
...
<Directory ...>
...
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f username@xxx.com'
</Directory>
</VirtualHost>

The main problem here is that you can only append lines to the VirtualHost -- not edit the file itself. What is the correct way to do this?

Sincerely,
C
Reply With Quote