Mailinglisten-Archive |
Hi!
Ich will unter php4 den safe_mode fuer einen einzelnen VHost
aktivieren. Dazu habe ich den safe_mode in der php.ini global
deaktiviert und dann in der httpd.conf:
<VirtualHost xx.xx.xx.xx>
ServerName www.xyz.de
ServerAdmin admin_(at)_xyz.de
DocumentRoot /home/httpd/html_virtual_domains/xyz.de
ErrorLog /var/log/httpd/xyz.de/error_log
CustomLog /var/log/httpd/xyz.de/access_log "%h %l %u %t \"%r\" %>s %b"
CustomLog /var/log/httpd/xyz.de/referer_log "%{Referer}i -> %U"
CustomLog /var/log/httpd/xyz.de/agent_log "%{User-Agent}i"
<Directory /home/httpd/html_virtual_domains/xyz.de/>
php_flag safe_mode on
php_value doc_root /home/httpd/html_virtual_domains/xyz.de/
php_value upload_tmp_dir
/home/httpd/html_virtual_domains/xyz.de/tmp/
php_value open_basedir
/home/httpd/html_virtual_domains/xyz.de/include
php_value safe_mode_exec_dir
/home/httpd/html_virtual_domains/xyz.de/
AllowOverride AuthConfig
</Directory>
</VirtualHost>
Was ist an der Idee nicht richtig? Muss ich evtl. den safe_mode global
aktivieren und dann pro vhost _deaktivieren_?
Ingmar
--
Ingmar Heinrich <ingmar.heinrich_(at)_muenster.de>
Falkenried 69 - D-20251 Hamburg
tel# +49 (0)40 87 97 3888
fax# +49 (0)180 50 52 54 47 13 00
mob# +49 (0)172 97 45 130
php::bar PHP Wiki - Listenarchive