Hallo,
ich habe ein problem mit meinem Server. Hier erstmal ein paar infos zum Server.
Server version: Apache/2.0.53
Architecture: 32-bit
So nun zu meinem problem. Wenn ich /etc/init.d/apache2 restart mache erhalte ich diese Meldung:
Hier die httpd.include:
Also ich komme einfach nicht weiter. Vieleich könnt ihr mir ja weiter helfen.
ich habe ein problem mit meinem Server. Hier erstmal ein paar infos zum Server.
Server version: Apache/2.0.53
Architecture: 32-bit
So nun zu meinem problem. Wenn ich /etc/init.d/apache2 restart mache erhalte ich diese Meldung:
Code:
[Fri Jun 01 20:27:18 2007] [warn] module perl_module is already loaded, skipping
Syntax error on line 19 of /etc/apache2/httpd.include:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed
Hier die httpd.include:
Code:
NameVirtualHost **********:80
NameVirtualHost *************:443
ServerName ************.net
ServerAdmin root@************.net
DocumentRoot /var/www/vhosts/default/htdocs
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<Directory "/var/www/vhosts">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
php_admin_flag engine off
</Directory>
<Directory "/usr/lib/mailman">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
php_admin_flag engine off
</Directory>
<IfModule mod_userdir.c>
UserDir disabled
</IfModule>
<VirtualHost \
**********:80 \
>
ServerName default
UseCanonicalName Off
DocumentRoot /var/www/vhosts/default/htdocs
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory "/var/www/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhosts/default/htdocs>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
</IfModule>
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost ************:443 >
ServerName default-*************
UseCanonicalName Off
DocumentRoot /var/www/vhosts/default/httpsdocs
ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/certOG27351
<Directory "/var/www/vhosts/default/cgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /var/www/vhosts/default/httpsdocs>
SSLRequireSSL
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost \
****************:80 \
>
DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<Directory /usr/share/psa-horde>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost \
**********:443 \
>
DocumentRoot /usr/share/psa-horde/
Alias /horde/ /usr/share/psa-horde/
Alias /imp/ /usr/share/psa-horde/imp/
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /etc/apache2/httpd.pem
<Directory /usr/share/psa-horde>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/log:/usr/share/doc"
php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/pear:."
</IfModule>
SSLRequireSSL
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost \
***********:80 \
>
DocumentRoot /var/www/vhosts/default/htdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /icons/ /usr/lib/mailman/icons/
Alias /pipermail/ /usr/lib/mailman/archives/public/
<Directory /usr/lib/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost \
***********:443 \
>
DocumentRoot /var/www/vhosts/default/httpsdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /icons/ /usr/lib/mailman/icons/
Alias /pipermail/ /usr/lib/mailman/archives/public/
<Directory /usr/lib/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>
</IfModule>
Include /var/www/vhosts/*******/conf/httpd.include
Also ich komme einfach nicht weiter. Vieleich könnt ihr mir ja weiter helfen.