apache directives fails...
Hi Falko and Folks,
great program ISPConfig, but another little problem:
when I define a new site I add the following apache directives:
php_admin_value open_basedir '/var/www/prova2 mysite.it/web:/tmp:/var/www/typo3_src'
all is OK, but when I switch to PHP_SAFE to ON, the file:
/etc/apache2/vhosts/Vhosts_ispconfig.conf
ignore my directives because the order is wrong, my directives are BEFORE the directives inserted automatically through the option PHP_SAVE setted.
This is the output:
<VirtualHost XXX.XXX.XXX.XXX:80>
php_admin_value open_basedir '/var/www/prova2.mysite.it/web:/tmp:/var/www/typo3_src'
(... skipped...)
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web1/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web1/phptmp/
php_admin_value session.save_path /var/www/web1/phptmp/
this is very *annoying* because safe_mode On option is set AFTER my directives, so that:
1. if I configure php.ini adding in it :
php_admin_value open_basedir '/var/www/prova2.mysite.it/web:/tmp:/var/www/typo3_src'
doesn't work because Vhosts file config override it
2. if I put my directives these will be overriden and has not effect
The only way is to change manually the Vhosts config file but this is a mad idea.....
My suggestion is to add an option so that I can decide the order (after or before the other directives automatically inserted) or this is a bug?!?
Thanx
|
Recent comments
1 day 5 hours ago
1 day 10 hours ago
1 day 15 hours ago
1 day 17 hours ago
2 days 7 hours ago
2 days 7 hours ago
2 days 12 hours ago
2 days 19 hours ago
2 days 19 hours ago
2 days 21 hours ago