Hi,
Ich habe auf meinem Server 3 Domains laufen.
Alle 3 liefen wunderbar, bis ich Depp bei Domain 3 eine Subdomain angelegt habe.
Jetzt kann ich weder die Haupt- noch die Subdomain aufrufen.
Ich habe gelesen, dass man irgendwie den Bind dafür einrichten muss. Aber wie?
Die anderen zwei laufen wie gewohnt wunderbar.
Ausserdem habe ich Apache von Version 1.3.19 auf 1.3.27 upgedated und jetzt laufen die CGI Scripte nicht mehr.
Es kommt die Meldung:
Internal Server Error
Das Perl Module liegt aber da, wo es verlangt wird:
<IfModule mod_perl.c>
Perlrequire /usr/include/apache/modules/perl/startup.perl
PerlModule Apache::Registry
<Location /perl>
Auch habe ich schon alle Pfade asuprobiert. (#!/usr/bin/perl usw.)
Oder muss ich Perl auch updaten?
Errorlog meint:
error: command not in docroot /home/www/site/html/cgi-bin/file.cgi
Kann mir bitte jemand helfen?
Danke und Gruss.
Ich könnt heulen.Domains gehen nicht mehr.
Re: Ich könnt heulen.Domains gehen nicht mehr.
stell dein Backup von Apache vor dem Update wiederher und gehe schrittweise vor..
Ansonsten wird die Fehlerursachensuche ungleich schwerer!
Ansonsten:
Domains -> bitte VHost-Abschnitt hier posten
Bind sollte eigentlich nicht nötig sein, du musst auf dem authorative NS nur eine Subdomain anlegen (lassen).
Ansonsten wird die Fehlerursachensuche ungleich schwerer!
Ansonsten:
Domains -> bitte VHost-Abschnitt hier posten
Bind sollte eigentlich nicht nötig sein, du musst auf dem authorative NS nur eine Subdomain anlegen (lassen).
Re: Ich könnt heulen.Domains gehen nicht mehr.
Hi Jtb,
danke für die schnelle Hilfe.
Soweit ich gelesen habe, ist die Suexec irgendwie defekt, d.h. sie gibt die Rechte für die Scripte nicht mehr frei. Wie kann ich diese erneuern? Suexec austauschen?
Hier ist meine vhost.config
------------------------------------------------------------------------------------
NameVirtualHost xxx.xxx.xxx.xx
#Nun folgt die Individualkonfiguration
<Directory "/home/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options -FollowSymLinks -SymLinksIfOwnerMatch Includes
</Directory>
<Directory "/home/www/customer1/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer1/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer1
</Directory>
<Directory "/home/www/customer2/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer2/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer2
</Directory>
<Directory "/home/www/customer3/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer3/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer3
</Directory>
<VirtualHost xxx.xxx.xxx.xx>
ServerName customer2.server.de
DocumentRoot /home/www/customer2/html
User customer2
Group ftponly
php_admin_value open_basedir /home/www/customer2
php_admin_value upload_tmp_dir /home/www/customer2/phptmp
CustomLog /home/www/customer2/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias http://www.domain2.de
ServerAlias domain2.de
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName log.customer2.server.de
DocumentRoot /home/www/customer2/logs
User customer2
Group ftponly
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName customer3.server.de
DocumentRoot /home/www/customer3/html
User customer3
Group ftponly
php_admin_value open_basedir /home/www/customer3
php_admin_value upload_tmp_dir /home/www/customer3/phptmp
CustomLog /home/www/customer3/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias domain3.de
ServerAlias http://www.domain3.de
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName log.customer3.server.de
DocumentRoot /home/www/customer3/logs
User customer3
Group ftponly
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName sub.domain3.de
Redirect / http://www.domain3.de/sub/
CustomLog /home/www/customer3/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
</VirtualHost>
danke für die schnelle Hilfe.
Soweit ich gelesen habe, ist die Suexec irgendwie defekt, d.h. sie gibt die Rechte für die Scripte nicht mehr frei. Wie kann ich diese erneuern? Suexec austauschen?
Hier ist meine vhost.config
------------------------------------------------------------------------------------
NameVirtualHost xxx.xxx.xxx.xx
#Nun folgt die Individualkonfiguration
<Directory "/home/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options -FollowSymLinks -SymLinksIfOwnerMatch Includes
</Directory>
<Directory "/home/www/customer1/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer1/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer1
</Directory>
<Directory "/home/www/customer2/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer2/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer2
</Directory>
<Directory "/home/www/customer3/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/customer3/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user customer3
</Directory>
<VirtualHost xxx.xxx.xxx.xx>
ServerName customer2.server.de
DocumentRoot /home/www/customer2/html
User customer2
Group ftponly
php_admin_value open_basedir /home/www/customer2
php_admin_value upload_tmp_dir /home/www/customer2/phptmp
CustomLog /home/www/customer2/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias http://www.domain2.de
ServerAlias domain2.de
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName log.customer2.server.de
DocumentRoot /home/www/customer2/logs
User customer2
Group ftponly
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName customer3.server.de
DocumentRoot /home/www/customer3/html
User customer3
Group ftponly
php_admin_value open_basedir /home/www/customer3
php_admin_value upload_tmp_dir /home/www/customer3/phptmp
CustomLog /home/www/customer3/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias domain3.de
ServerAlias http://www.domain3.de
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName log.customer3.server.de
DocumentRoot /home/www/customer3/logs
User customer3
Group ftponly
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xx>
ServerName sub.domain3.de
Redirect / http://www.domain3.de/sub/
CustomLog /home/www/customer3/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
</VirtualHost>