vielen Dank schon mal für deine Hilfe,
hier meine http.include, so wie die läuft, bis Plesk die überschreibt.
was ich nicht verstehe
im Abschnitt
<VirtualHost x.20.xx.23:80>:
will ich php_admin_flag safe_mode on auf OFF ändern.
dazu schreibe ich in meiner vhost.conf
php_admin_flag OFF, (Richtig?) nach Apache restart holt sich das System die Info (oder nicht?)
Gilt das dann für alle <VirtualHost> blöcke?
denn in den anderen darf es auf ON bleiben.
und wenn ich den Path in Block <VirtualHost x.20.xx.23:80>: ändere
php_admin_value open_basedir "/srv/www/vhosts/winter.de/"
schreibe ich das in einer Zeile in vhost.conf??
woher weiß das system dann, für welchen Block <VirtualHost xxxx> die Änderungen gemeint ist?
denn in Block <VirtualHost x.20.xx.23:443> kann der Path ja anders sein,
oder muß er in jeden Block gleich sein??
--------------------------------------------------------------------------------------------------------------------------------------------------------
die 4 Änderungen sind
Rot markiert
--------------------------------------------------------------------------------------------------------------------------------------------------------
# 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/winter.de/conf/vhost.conf
# /srv/www/vhosts/winter.de/conf/vhost_ssl.conf
# /srv/www/vhosts/winter.de/subdomains/<subdomain-name>/conf/vhost.conf
<IfModule mod_ssl.c>
<VirtualHost x.20.xx.23:443>
ServerName winter.de:443
ServerAlias
http://www.winter.de
UseCanonicalName Off
ServerAlias winter2.de
ServerAlias
http://www.winter2.de
ServerAlias winter3.com
ServerAlias
http://www.winter3.com
ServerAlias wintern.de
ServerAlias
http://www.wintern.de
ServerAlias xn--winter-zubehr-ttt.de
ServerAlias
http://www.xn--winter-zubehr-ttt.de
SuexecUserGroup xxx456 xx5
ServerAdmin
sommer@sommer.de
DocumentRoot /srv/www/vhosts/winter.de/httpdocs
CustomLog /srv/www/vhosts/winter.de/statistics/logs/access_ssl_log plesklog
ErrorLog /srv/www/vhosts/winter.de/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /srv/www/vhosts/winter.de/web_users
</IfModule>
ScriptAlias /cgi-bin/ /srv/www/vhosts/winter.de/cgi-bin/
Alias /plesk-stat /srv/www/vhosts/winter.de/statistics/
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /srv/www/vhosts/winter.de/statistics/webstat
Alias /webstat-ssl /srv/www/vhosts/winter.de/statistics/webstat-ssl
Alias /ftpstat /srv/www/vhosts/winter.de/statistics/ftpstat
Alias /anon_ftpstat /srv/www/vhosts/winter.de/statistics/anon_ftpstat
Alias /awstats-icon /usr/share/apache2/icons/awstats/icon
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-r0IIYf
<Directory /srv/www/vhosts/winter.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</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/winter.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/winter.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
SSLRequireSSL
Options +Includes +ExecCGI
</Directory>
<Directory /srv/www/vhosts/winter.de/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
<Directory "/srv/www/vhosts/winter.de/statistics">
AuthType Basic
AuthName "Domainstatistiken"
AuthUserFile /srv/www/vhosts/winter.de/pd/d..httpdocs@plesk-stat
require valid-user
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost x.20.xx.23:80>
ServerName winter.de:80
ServerAlias
http://www.winter.de
UseCanonicalName Off
ServerAlias winter2.de
ServerAlias
http://www.winter2.de
ServerAlias winter3.com
ServerAlias
http://www.winter3.com
ServerAlias wintern.de
ServerAlias
http://www.wintern.de
ServerAlias xn--winter-zubehr-t3b.de
ServerAlias
http://www.xn--winter-zubehr-t3b.de
SuexecUserGroup hdb234 psacln
ServerAdmin "
sommer@sommer.de"
DocumentRoot /srv/www/vhosts/winter.de/httpdocs
CustomLog /srv/www/vhosts/winter.de/statistics/logs/access_log plesklog
ErrorLog /srv/www/vhosts/winter.de/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /srv/www/vhosts/winter.de/web_users
</IfModule>
ScriptAlias /cgi-bin/ /srv/www/vhosts/winter.de/cgi-bin/
Redirect permanent /plesk-stat
https://winter.de/plesk-stat
Redirect permanent /webstat
https://winter.de/webstat
Redirect permanent /webstat-ssl
https://winter.de/webstat-ssl
Redirect permanent /ftpstat
https://winter.de/ftpstat
Redirect permanent /anon_ftpstat
https://winter.de/anon_ftpstat
Redirect permanent /awstats-icon
https://winter.de/awstats-icon
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /srv/www/vhosts/winter.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</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/winter.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/winter.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
<Directory /srv/www/vhosts/winter.de/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost x.20.xx.23:443>
ServerName cms.winter.de:443
ServerAlias cms.winter2.de
ServerAlias cms.winter3.com
ServerAlias cms.wintern.de
ServerAlias cms.xn--winter-zubehr-t3b.de
SuexecUserGroup hdb234 psacln
ServerAdmin "
sommer@sommer.de"
DocumentRoot /srv/www/vhosts/winter.de/subdomains/cms/httpdocs
CustomLog /srv/www/vhosts/winter.de/statistics/logs/access_ssl_log plesklog
ErrorLog /srv/www/vhosts/winter.de/statistics/logs/error_log
ScriptAlias /cgi-bin/ /srv/www/vhosts/winter.de/subdomains/cms/cgi-bin/
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/cert-r0IIYf
<Directory /srv/www/vhosts/winter.de/subdomains/cms/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</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/winter.de/subdomains/cms/httpdocs:/tmp"
php_admin_value open_basedir "/srv/www/vhosts/winter.de/httpdocs:/tmp" #GEÄNDERT
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode on
# php_admin_value open_basedir "/srv/www/vhosts/winter.de/subdomains/cms/httpdocs:/tmp"
php_admin_value open_basedir "/srv/www/vhosts/winter.de/httpdocs:/tmp" #GEÄNDERT
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
SSLRequireSSL
Options +Includes +ExecCGI
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost x.20.xx.23:80>
ServerName cms.winter.de:80
ServerAlias cms.winter2.de
ServerAlias cms.winter3.com
ServerAlias cms.wintern.de
ServerAlias cms.xn--winter-zubehr-t3b.de
SuexecUserGroup hdb234 psacln
ServerAdmin "
sommer@sommer.de"
DocumentRoot /srv/www/vhosts/winter.de/subdomains/cms/httpdocs
CustomLog /srv/www/vhosts/winter.de/statistics/logs/access_log plesklog
ErrorLog /srv/www/vhosts/winter.de/statistics/logs/error_log_2
ScriptAlias /cgi-bin/ /srv/www/vhosts/winter.de/subdomains/cms/cgi-bin/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /srv/www/vhosts/winter.de/subdomains/cms/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode Off #GEÄNDERT
# php_admin_value open_basedir "/srv/www/vhosts/winter.de/subdomains/cms/httpdocs:/tmp"
php_admin_value open_basedir "/srv/www/vhosts/winter.de/httpdocs:/tmp" #GEÄNDERT
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode Off #GEÄNDERT
# php_admin_value open_basedir "/srv/www/vhosts/winter.de/subdomains/cms/httpdocs:/tmp"
php_admin_value open_basedir "/srv/www/vhosts/winter.de/" #GEÄNDERT
</IfModule>
<IfModule mod_python.c>
<Files ~ (.py$)>
SetHandler python-program
PythonHandler mod_python.cgihandler
</Files>
</IfModule>
Options +Includes +ExecCGI
</Directory>
</VirtualHost>