Page 1 of 1

Confixx2 auf Confixx3 Update...

Posted: 2004-10-12 20:25
by olli325
Hallo Leutz,
ich habe (fast) erfolgreich ein Update der Confixx-Software von Ver. 2.x auf 3 durchgeführt.

Nun habe ich aber das Problem, das ich einen Fehler habe.
Wenn ich den Login per SSL aufrufe bekomme ich folgenden Fehler:

Code: Select all

Warning: main(page_functions.php): failed to open stream: No such file or directory in /home/www/confixx/html/functions.inc.php on line 6

Warning: main(): Failed opening 'page_functions.php' for inclusion (include_path='.') in /home/www/confixx/html/functions.inc.php on line 6

Warning: main(class.SQLString.php): failed to open stream: No such file or directory in /home/www/confixx/html/functions.inc.php on line 375

Warning: main(): Failed opening 'class.SQLString.php' for inclusion (include_path='.') in /home/www/confixx/html/functions.inc.php on line 375

Warning: main(class.SQLInteger.php): failed to open stream: No such file or directory in /home/www/confixx/html/functions.inc.php on line 376

Warning: main(): Failed opening 'class.SQLInteger.php' for inclusion (include_path='.') in /home/www/confixx/html/functions.inc.php on line 376

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/www/confixx/html/functions.inc.php:6) in /home/www/confixx/html/sessions.inc.php on line 18

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/www/confixx/html/functions.inc.php:6) in /home/www/confixx/html/sessions.inc.php on line 18

Warning: main(page_functions.php): failed to open stream: No such file or directory in /home/www/confixx/html/functions.inc.php on line 6

Warning: main(): Failed opening 'page_functions.php' for inclusion (include_path='.') in /home/www/confixx/html/functions.inc.php on line 6
Anscheinend wurden ein paar Direktiven in confixx_mhost.conf fehlerhaft oder gar nicht vorgenommen.

Nachdem ich eine mhost.conf von einem Bekannten zurückgespielt habe, funktioniert es trotzdem nicht.

Hat hier vielleicht jemand ne Idee?
bzw. hat jemand eine confixx_mhost.conf die unter Apache1.3.26 läuft?

Im Confixx-Forum ist zwar eine mhost.conf aber nur für Apache2.

Wenn ich das ganze unverschlüsselt aufrufe, habe ich keine Probleme.

MfG

Olli

Re: Confixx2 auf Confixx3 Update...

Posted: 2004-10-12 20:47
by antondollmaier
dann schau dir die mhost.conf für das unverschlüsselte an ...


außerdem: gen_mhost.pl ...


und: die mhost.conf für den Apache2 nehmen, statt Suexecusergroup "User" und "Group" schreiben (mit entsprechenden angaben), wenn suexecusergroup nicht existiert, unverändert übernehmen ...



mfg,
Anton

Re: Confixx2 auf Confixx3 Update...

Posted: 2004-10-13 14:57
by olli325
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