RycoDePsyco
01.02.11, 19:01
Da ich in einem anderen Forum nicht mehr weiterkomme, stelle ich hier die frage.
... http://www.howtoforge.de/forum/showthread.php?t=3988&page=2
Hallo, ich habe aus versehen bei ISPConfig 3 - unter Umleitung zwar den Pfad gelöscht aber nicht den Type.
Somit habe ich jetzt den zustand:
Redirect Type: L
Redirect Path: ist leer
Das hat zur folge das ich kein Zugriff mehr auf das web sowie auf ispconfig3 und Webmail habe.
Was kann ich tun um das Problem zu lösen um ispc3 sowie das web wieder sichtbar/funktionsfähig zu machen.
Dies ist die Datei MEINE_DOMAIN.de.vhost in /etc/apache2/sites-enabled/
<Directory /var/www/MEINE_DOMAIN.de>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot /var/www/MEINE_DOMAIN.de/web
ServerName MEINE_DOMAIN.de
ServerAlias www.MEINE_DOMAIN.de
ServerAdmin webmaster@MEINE_DOMAIN.de
ErrorLog /var/log/ispconfig/httpd/MEINE_DOMAIN.de/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /var/www/MEINE_DOMAIN.de/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web1/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# cgi enabled
<Directory /var/www/clients/client1/web1/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client1/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web1 client1
# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# php as fast-cgi enabled
<IfModule mod_fcgid.c>
# SocketPath /tmp/fcgid_sock/
# IdleTimeout n (3600 seconds)
# An idle fastcgi application will be terminated after IdleTimeout seconds.
IdleTimeout 3600
# ProcessLifeTime n (7200 seconds)
# A fastcgi application will be terminated if lifetime expired, even no error is detected.
ProcessLifeTime 7200
# MaxProcessCount n (1000)
# The max count of total fastcgi process count.
# MaxProcessCount 1000
# DefaultMinClassProcessCount n (3)
# The minimum number of fastcgi application instances for any one fastcgi application.
# Idle fastcgi will not be killed if their count is less than n
# Set this to 0, and tweak IdleTimeout
DefaultMinClassProcessCount 0
# DefaultMaxClassProcessCount n (100)
# The maximum number of fastcgi application instances allowed to run for
# particular one fastcgi application.
DefaultMaxClassProcessCount 100
# IPCConnectTimeout n (3 seconds)
# The connect timeout to a fastcgi application.
IPCConnectTimeout 8
# IPCCommTimeout n (20 seconds)
# The communication timeout to a fastcgi application. Please increase this
# value if your CGI have a slow initialization or slow respond.
IPCCommTimeout 360
# BusyTimeout n (300 seconds)
# A fastcgi application will be terminated if handing a single request
# longer than busy timeout.
BusyTimeout 300
</IfModule>
<Directory /var/www/MEINE_DOMAIN.de/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web1/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^MEINE_DOMAIN.de [NC]
RewriteRule ^/(.*)$ /$1 [L]
RewriteCond %{HTTP_HOST} ^www.MEINE_DOMAIN.de [NC]
RewriteRule ^/(.*)$ /$1 [L]
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web1 client1
</IfModule>
<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
display_errors = off
</VirtualHost>
Hier die Fehlermeldung:
/etc/init.d/apache2 reload
Syntax error on line 131 of /etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:
Invalid command 'display_errors', perhaps misspelled or defined by a module not included in the server configuration
failed!
display_errors = off ist nun auskommentiert
Und mit dem Befehl:
apache2ctl -S
kommt der Fehler zu Stande, woran könnte dies liegen...
apache2ctl -S
[Mon Jan 31 20:06:36 2011] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
VirtualHost configuration:
xx.xx.xx.xx:80 is a NameVirtualHost
default server MEINE_DOMAIN.de (/etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:8)
port 80 namevhost MEINE_DOMAIN.de (/etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:8)
wildcard NameVirtualHosts and _default_ servers:
_default_:8081 vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-apps.vhost:10)
*:8080 is a NameVirtualHost
default server vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
port 8080 namevhost vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
*:80 is a NameVirtualHost
default server vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
Ich weis jetzt nicht mehr weiter...
EDIT:
Ein Neustart des Rechners hat geholfen und es geht wieder alles bisher.
1.) Nur woran lag der Fehler, welcher Dienst war defekt bzw. abgeschaltet.
2.) Wenn ich die display_errors wieder deauskomitiere also aktiviere dann kommt die Fehlermeldung wie oben wieder.
Aber wo liegt hier der Fehler?
THX
.
... http://www.howtoforge.de/forum/showthread.php?t=3988&page=2
Hallo, ich habe aus versehen bei ISPConfig 3 - unter Umleitung zwar den Pfad gelöscht aber nicht den Type.
Somit habe ich jetzt den zustand:
Redirect Type: L
Redirect Path: ist leer
Das hat zur folge das ich kein Zugriff mehr auf das web sowie auf ispconfig3 und Webmail habe.
Was kann ich tun um das Problem zu lösen um ispc3 sowie das web wieder sichtbar/funktionsfähig zu machen.
Dies ist die Datei MEINE_DOMAIN.de.vhost in /etc/apache2/sites-enabled/
<Directory /var/www/MEINE_DOMAIN.de>
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
<VirtualHost xx.xx.xx.xx:80>
DocumentRoot /var/www/MEINE_DOMAIN.de/web
ServerName MEINE_DOMAIN.de
ServerAlias www.MEINE_DOMAIN.de
ServerAdmin webmaster@MEINE_DOMAIN.de
ErrorLog /var/log/ispconfig/httpd/MEINE_DOMAIN.de/error.log
ErrorDocument 400 /error/400.html
ErrorDocument 401 /error/401.html
ErrorDocument 403 /error/403.html
ErrorDocument 404 /error/404.html
ErrorDocument 405 /error/405.html
ErrorDocument 500 /error/500.html
ErrorDocument 503 /error/503.html
<Directory /var/www/MEINE_DOMAIN.de/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web1/web>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# cgi enabled
<Directory /var/www/clients/client1/web1/cgi-bin>
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ /var/www/clients/client1/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
# suexec enabled
SuexecUserGroup web1 client1
# Clear PHP settings of this website
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
# php as fast-cgi enabled
<IfModule mod_fcgid.c>
# SocketPath /tmp/fcgid_sock/
# IdleTimeout n (3600 seconds)
# An idle fastcgi application will be terminated after IdleTimeout seconds.
IdleTimeout 3600
# ProcessLifeTime n (7200 seconds)
# A fastcgi application will be terminated if lifetime expired, even no error is detected.
ProcessLifeTime 7200
# MaxProcessCount n (1000)
# The max count of total fastcgi process count.
# MaxProcessCount 1000
# DefaultMinClassProcessCount n (3)
# The minimum number of fastcgi application instances for any one fastcgi application.
# Idle fastcgi will not be killed if their count is less than n
# Set this to 0, and tweak IdleTimeout
DefaultMinClassProcessCount 0
# DefaultMaxClassProcessCount n (100)
# The maximum number of fastcgi application instances allowed to run for
# particular one fastcgi application.
DefaultMaxClassProcessCount 100
# IPCConnectTimeout n (3 seconds)
# The connect timeout to a fastcgi application.
IPCConnectTimeout 8
# IPCCommTimeout n (20 seconds)
# The communication timeout to a fastcgi application. Please increase this
# value if your CGI have a slow initialization or slow respond.
IPCCommTimeout 360
# BusyTimeout n (300 seconds)
# A fastcgi application will be terminated if handing a single request
# longer than busy timeout.
BusyTimeout 300
</IfModule>
<Directory /var/www/MEINE_DOMAIN.de/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/clients/client1/web1/web>
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/php-fcgi-scripts/web1/.php-fcgi-starter .php
Options +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^MEINE_DOMAIN.de [NC]
RewriteRule ^/(.*)$ /$1 [L]
RewriteCond %{HTTP_HOST} ^www.MEINE_DOMAIN.de [NC]
RewriteRule ^/(.*)$ /$1 [L]
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web1 client1
</IfModule>
<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
display_errors = off
</VirtualHost>
Hier die Fehlermeldung:
/etc/init.d/apache2 reload
Syntax error on line 131 of /etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:
Invalid command 'display_errors', perhaps misspelled or defined by a module not included in the server configuration
failed!
display_errors = off ist nun auskommentiert
Und mit dem Befehl:
apache2ctl -S
kommt der Fehler zu Stande, woran könnte dies liegen...
apache2ctl -S
[Mon Jan 31 20:06:36 2011] [warn] NameVirtualHost xx.xx.xx.xx:443 has no VirtualHosts
VirtualHost configuration:
xx.xx.xx.xx:80 is a NameVirtualHost
default server MEINE_DOMAIN.de (/etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:8)
port 80 namevhost MEINE_DOMAIN.de (/etc/apache2/sites-enabled/MEINE_DOMAIN.de.vhost:8)
wildcard NameVirtualHosts and _default_ servers:
_default_:8081 vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-apps.vhost:10)
*:8080 is a NameVirtualHost
default server vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
port 8080 namevhost vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-ispconfig.vhost:10)
*:80 is a NameVirtualHost
default server vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost vserverXXXX.vserver-on.de (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
Ich weis jetzt nicht mehr weiter...
EDIT:
Ein Neustart des Rechners hat geholfen und es geht wieder alles bisher.
1.) Nur woran lag der Fehler, welcher Dienst war defekt bzw. abgeschaltet.
2.) Wenn ich die display_errors wieder deauskomitiere also aktiviere dann kommt die Fehlermeldung wie oben wieder.
Aber wo liegt hier der Fehler?
THX
.