Hi antondollmaier,
also es funktioniert bei mir irgendwie nicht. Weder mit mhost.conf aus dem Confixx-Forum noch mittels gen_mhost.pl.
Irgendwo mach ich da einen Fehler.
Ich poste dir mal meine momentane confixx_mhost.conf, bei der die SSL Verbindung zum Confixx-Menü nicht funktioniert:
Code: Select all
################### CONFIXX APACHE MAIN CONFIG FILE ######################
# created at Mon Sep 6 18:22:55 2004
#
# !!! Do not make any changes in this file !!!
#
# 1. We cannot guarantee that the software will work properly, if
# the contents of this file are modified.
# 2. This file would be rewritten after each Confixx software update and
# in some other cases. Thus all your changes would be lost unless you made
# a backup of the file.
#
# If you need to modify this file, you can insert some custom "Include"
# directives. E.g.
# Include /path/to/your/file
# Includes inserted directly after <VirtualHost> tag would keep their
# location inchanged after the file is updated. Other includes would
# be moved to be inserted before the </VirtualHost> tag.
##########################################################################
php_admin_value open_base_dir /home/www/confixx/html
php_admin_value include_path .
<Directory "/home/www/confixx/html">
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]
RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]
</IfModule>
AddDefaultCharset off
</Directory>
NameVirtualHost 217.160.179.196:80
<VirtualHost 217.160.179.196:80>
ServerName confixx.p15122351.pureserver.info
#User confixx
#Group users
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /home/www/confixx/tmp
php_admin_value include_path ".:/home/www/confixx/html/include:/home/www/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /home/www/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/httpd/confixx_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/httpd/confixx_error.log
</VirtualHost>
NameVirtualHost 217.160.179.196:443
<VirtualHost 217.160.179.196:443>
ServerName confixx.p15122351.pureserver.info
#User confixx
#Group users
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /home/www/confixx/tmp
php_admin_value include_path ".:/home/www/confixx/html/include:/home/www/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /home/www/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
<IfModule mod_ssl.c>
SSLEngine on
SSLCertificateKeyFile /etc/httpd/ssl.key/confixx.p15122351.pureserver.info.key
SSLCertificateFile /etc/httpd/ssl.crt/confixx.p15122351.pureserver.info.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
<Files ~ ".(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/home/www/confixx/html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
</IfModule>
CustomLog /var/log/httpd/p15122351.pureserver.info_access.ssl.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/httpd/p15122351.pureserver.info_error.ssl.log
</VirtualHost>
Include /etc/httpd/confixx_vhost.conf
# ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben
## /CONFIXX
dann habe ich so versucht eine neue zu erstellen:
Code: Select all
./gen_mhost.pl /etc/httpd/ 217.160.179.196 p15122351.pureserver.info /var/log/httpd/confixx_access.log /var/log/httpd/confixx_error.log
die erstellt er aber irgendwie nicht, gibt aber auch kein Fehler aus.
dann meine abgeänderte Version (aus dem Confixx-Forum)
Code: Select all
################### CONFIXX APACHE MAIN CONFIG FILE ######################
# created at Mon Sep 6 18:22:55 2004
#
# !!! Do not make any changes in this file !!!
#
# 1. We cannot guarantee that the software will work properly, if
# the contents of this file are modified.
# 2. This file would be rewritten after each Confixx software update and
# in some other cases. Thus all your changes would be lost unless you made
# a backup of the file.
#
# If you need to modify this file, you can insert some custom "Include"
# directives. E.g.
# Include /path/to/your/file
# Includes inserted directly after <VirtualHost> tag would keep their
# location inchanged after the file is updated. Other includes would
# be moved to be inserted before the </VirtualHost> tag.
##########################################################################
php_admin_value open_base_dir /home/www/confixx/html
php_admin_value include_path .
<Directory "/home/www/confixx/html">
AllowOverride all
<IfModule mod_access.c>
Allow from all
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
Options +FollowSymlinks
RewriteRule ^reseller/res[0-9]+/(.*)$ reseller/$1 [L]
RewriteRule ^user/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ user/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^ftplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+f[0-9]+/(.*)$ ftplogin/$1 [L]
RewriteRule ^poplogin/[a-zA-Z][-a-zA-Z0-9_]{0,4}[0-9]+p[0-9]+/(.*)$ poplogin/$1 [L]
</IfModule>
AddDefaultCharset off
</Directory>
NameVirtualHost 217.160.179.196:80
<VirtualHost 217.160.179.196:80>
ServerName confixx.p15122351.pureserver.info
#User confixx
#Group users
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /home/www/confixx/tmp
php_admin_value include_path ".:/home/www/confixx/html/include:/home/www/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /home/www/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/httpd/confixx_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/httpd/confixx_error.log
</VirtualHost>
NameVirtualHost 217.160.179.196:443
<VirtualHost 217.160.179.196:443>
ServerName confixx.p15122351.pureserver.info
#User confixx
#Group users
DocumentRoot /home/www/confixx/html
Options FollowSymLinks
php_admin_flag safe_mode Off
php_admin_flag file_uploads On
php_admin_flag track_vars On
php_admin_flag magic_quotes_runtime Off
php_admin_flag magic_quotes_gpc Off
php_admin_value upload_tmp_dir /home/www/confixx/tmp
php_admin_value include_path ".:/home/www/confixx/html/include:/home/confixx/html"
php_admin_value default_charset none
php_admin_value open_basedir /home/www/confixx
php_admin_value session.cookie_path /
php_admin_value session.auto_start 0
php_admin_value session.gc_maxlifetime 1800
php_admin_value session.use_cookies 1
php_admin_value session.cookie_lifetime 0
php_admin_value session.cookie_secure Off
php_admin_value session.use_trans_sid 0
ScriptAlias /cgi-bin/ /home/www/confixx/html/cgi-bin/
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/ssl.key/confixx.p15122351.pureserver.info.key
SSLCertificateKeyFile /etc/httpd/ssl.crt/confixx.p15122351.pureserver.info.crt
SetEnvIf User-Agent ".*MSIE.*"
nokeepalive ssl-unclean-shutdown
downgrade-1.0 force-response-1.0
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>
CustomLog /var/log/httpd/confixx_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
ErrorLog /var/log/httpd/confixx_error.log
</VirtualHost>
Include /etc/httpd/confixx_vhost.conf
# ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben
## /CONFIXX
hier sagt er dann, obwohl es der gleiche Pfad ist wie in der 1. conf
Code: Select all
Syntax error on line 126 of /etc/httpd/confixx_mhost.conf:
SSLCertificateFile: file '/eth/httpd/ssl.crt/p15122351.pureserver.info.crt' not
exists or empty
Irgendwie blick ich das nicht.
Es wäre nett von dir wenn du mir hier vielleicht auf die Sprünge helfen würdest.
Danke im Vorraus
MfG
Olli