Page 1 of 1

confixx_vhost.conf wird nicht überschrieben !

Posted: 2003-12-11 13:52
by luckyluke
Moin,

von Confixx erstellt: (confixx_vhost.conf)

<VirtualHost xxx>
ServerName xxx
ServerAlias xxx
DocumentRoot /home/www/web7/html
User web7
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web7/html/cgi-bin/
php_admin_value open_basedir /home/www/web7/
php_admin_value upload_tmp_dir /home/www/web7/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

meine neue Datei: (my_vhost.conf)

<VirtualHost xxx>
ServerName xxx
ServerAlias xxx
DocumentRoot /home/www/web7/html
User web7
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web7/html/cgi-bin/
php_admin_value open_basedir /home/www/web7:/usr/bin:/usr/share/php:/tmp
php_admin_value upload_tmp_dir /home/www/web7/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

in der httpd steht:

Include /etc/httpd/confixx_vhost.conf
Include /etc/httpd/my_vhost.conf

# ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben

Da ich eine open basedir fehlermeldung bekomme scheint dieser eintrag
"open_basedir /home/www/web7:/usr/bin:/usr/share/php:/tmp"
nicht erkannt zu werden.

Jemand ne Idee ??

Gruß LL

Habe schon diverses ausprobiert.. ohne Erfolg !

Posted: 2003-12-11 16:29
by luckyluke
Z.B. in der httpd.conf unter dem Include confixx_vhost.conf eintrag:

<VirtualHost xxx>
ServerName xxx
ServerAlias xxx
DocumentRoot /home/www/web7/html
User web7
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web7/html/cgi-bin/
php_admin_value open_basedir /home/www/web7:/usr/bin:/usr/share/php:/tmp
php_admin_value upload_tmp_dir /home/www/web7/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

geht auch nicht !!!


Habe den Block auch schon in "root/confixx/save/confixx_vhost.conf.tmp" gesetzt.
Wird auch wieder überschrieben !

Gibt es denn ausser Httpd Spezial keine möglichkeit einen user
auf "php_admin_value open_basedir /home/www/web7:/usr/bin:/usr/share/php:/tmp"
zu ändern ??

Hat keiner ne Idee ??? :cry:

Re: confixx_vhost.conf wird nicht überschrieben !

Posted: 2003-12-30 23:31
by iggemonster
Hey ich habe genau das selbe Problem

Nachdem ich nen httpd spezial eintrag für open basedir gemacht habe, nimmt der keine änderung mehr an... bin schon seit 3 stunden beschäftigt, nix geht mehr :/

Hat jemand ne Lösung ?