Servus zusammen,
habe gerade ein SSL-Zertifikat eingebunden, funktioniert auch wunderbar - allerdings nicht bei PHP-Seiten
Da erzeugt Apache sofort einen 500er-Error
Code:
# SSL-Eintrag
<VirtualHost IPADRESSE:443>
DocumentRoot /var/www/virtual/domainname.com/htdocs
ServerName domainname.com
ServerAdmin webmaster@domainname.com
ErrorLog /var/log/ssl_error_log
TransferLog /var/log/ssl_access_log
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/www_domainname_com.crt
SSLCertificateKeyFile /etc/apache2/ssl/www_domainname_com.key
SSLSessionCacheTimeout 300
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser domainname.com
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/domainname.com
ProxyPassReverse /stats http://localhost/stats/domainname.com
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
# httpd dmn entry cgi support END.
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php4.c>
php_admin_value open_basedir "/var/www/virtual/domainname.com/:/var/www/virtual/domainname.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/domainname.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/domainname.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2024 -t -i'
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/domainname.com/:/var/www/virtual/domainname.com/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/domainname.com/phptmp/"
php_admin_value session.save_path "/var/www/virtual/domainname.com/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2024 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/domainname.com/
ScriptAlias /php5/ /var/www/fcgi/domainname.com/
<Directory "/var/www/fcgi/domainname.com">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
<Directory /var/www/virtual/domainname.com/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Include /etc/apache2/ispcp/domainname.com.conf
</VirtualHost>
# /SSL EINTRAG
Im SSL-Log steht:
Code:
[Sun Jan 11 10:00:31 2009] [error] [client IP] FastCGI: comm with (dynamic) server "/var/www/fcgi/domainname.com/php5-fcgi-starter" aborted: (first read) idle timeout (30 sec)
[Sun Jan 11 10:00:31 2009] [error] [client IP] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domainname.com/php5-fcgi-starter"
Im Apache Error-Log steht:
Code:
[Sun Jan 11 10:02:20 2009] [warn] FastCGI: (dynamic) server "/var/www/fcgi/domainname.com/php5-fcgi-starter" has failed to remain running for 30 seconds given 3 attempts, its restart interval has been b$
Die PHP-Seite lässt sich ohne https einwandfrei anzeigen.
Besten Dank!