Ich möchte gerne local für eine Domain z.b.
php_admin_flag register_global off
haben.
Hier in diesem Pfad
/srv/www/vhosts/meine-domain.de/conf
Habe ich die vhost.con und die httpd.include.
Meine httpd.include sieht so aus
Code: Select all
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /srv/www/vhosts/dead-or-live.de/conf/vhost.conf
# /srv/www/vhosts/dead-or-live.de/subdomains/<subdomain-name>/conf/vhost.conf
<VirtualHost 85.114.132.64:80>
Include /srv/www/vhosts/dead-or-live.de/conf/vhost.conf
ServerName dead-or-live.de:80
ServerAlias www.dead-or-live.de
UseCanonicalName Off
SuexecUserGroup web0 psacln
ServerAdmin "admin@dead-or-live.de"
DocumentRoot /srv/www/vhosts/dead-or-live.de/httpdocs
CustomLog /srv/www/vhosts/dead-or-live.de/statistics/logs/access_log plesklog
ErrorLog /srv/www/vhosts/dead-or-live.de/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /srv/www/vhosts/dead-or-live.de/web_users
</IfModule>
ScriptAlias /cgi-bin/ /srv/www/vhosts/dead-or-live.de/cgi-bin/
Alias /plesk-stat /srv/www/vhosts/dead-or-live.de/statistics/
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /srv/www/vhosts/dead-or-live.de/statistics/webstat
Alias /webstat-ssl /srv/www/vhosts/dead-or-live.de/statistics/webstat-ssl
Alias /ftpstat /srv/www/vhosts/dead-or-live.de/statistics/ftpstat
Alias /anon_ftpstat /srv/www/vhosts/dead-or-live.de/statistics/anon_ftpstat
Alias /awstats-icon /usr/share/apache2/icons/awstats/icon
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /srv/www/vhosts/dead-or-live.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/srv/www/vhosts/dead-or-live.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/srv/www/vhosts/dead-or-live.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
Options +FollowSymLinks +ExecCGI
</IfModule>
Options +Includes +ExecCGI
</Directory>
<Directory /srv/www/vhosts/dead-or-live.de/web_users/lala>
Options +Includes +ExecCGI
AddHandler cgi-script .cgi
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_perl.c>
<Files ~ (.asp$)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global /tmp
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/srv/www/vhosts/dead-or-live.de/web_users/lala:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
php_admin_value open_basedir "/srv/www/vhosts/dead-or-live.de/web_users/lala:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi
Options +FollowSymLinks +ExecCGI
</IfModule>
</Directory>
Alias "/error_docs" "/srv/www/vhosts/dead-or-live.de/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
Include /srv/www/vhosts/dead-or-live.de/conf/vhost.conf
</VirtualHost>
Code: Select all
php_admin_flag register_global off
