confixx_vhost.conf Problem

larsf

Registered User
Hallo,
ich bin am Verzweifeln. Ich habe ein komisches Problem, wenn ich meinen vserver über Confix einstellen möchte (z.B. Domain ändern oder Subdomain anlegen) löscht confixx die Einträge in confixx_vhost.conf und ich komme egal was ich eingebe nur noch auf die Login Seite von Confixx. Wenn ich das Couterscript ausführe passiert das gleiche! Wenn ich es manuell eintrage in die confixx_vhost.conf dann funktioniert das. Kann mir jemand helfen das ich alles per Confixx einstellen kann?

Ich habe einen vserver mit Debian, Confixx 3pro
 
Hallo,

daß Confixx die confixx_vhost.conf bei jeder Einstellungsänderung löscht ist klar, manuelles Bearbeiten der Datei ist nicht dauerhaft.

Zeig mal die confixx_vhost.conf wie sie von Confixx erstellt wird und wie Du sie haben möchtest.
 
So sieht sie aus wenn alles funktioniert (selber bearbeitet):
Code:
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /var/www/empty/
LogFormat "%V:#:%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" con
fixx
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" confixx2
CustomLog |/root/confixx/pipelog.pl confixx

<Directory "/var/www">
  <Files ~ "^\.ht">
    deny from all
  </Files>
  AllowOverride None
  AllowOverride Indexes  AuthConfig Limit  FileInfo
  Options None
  Options +FollowSymLinks +Includes
</Directory>

<Directory "/var/www/web0/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  Options +ExecCGI
  AddHandler cgi-script .cgi
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
</Directory>

<VirtualHost 88.80.198.44:80>
  ServerName web0.v3397.vanager.de
  ServerAlias v3397.vanager.de www.v3397.vanager.de

  DocumentRoot /var/www/web0/html
  SuexecUserGroup web0 web0
  ScriptAlias /cgi-bin/ /var/www/web0/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /var/www/web0/html/:/var/www/web0/phptmp/:/var/ww
w/web0/files/:/var/www/web0/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /var/www/web0/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

<VirtualHost 88.80.198.44:80>
  ServerName just-pc.info
  ServerAlias v3397.vanager.de www.v3397.vanager.de

  DocumentRoot /var/www/web0/html
  SuexecUserGroup web0 web0
  ScriptAlias /cgi-bin/ /var/www/web0/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /var/www/web0/html/:/var/www/web0/phptmp/:/var/ww
w/web0/files/:/var/www/web0/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /var/www/web0/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

<VirtualHost 88.80.198.44:80>
  ServerName forum.just-pc.info
  ServerAlias v3397.vanager.de www.v3397.vanager.de

  DocumentRoot /var/www/web0/html/vb
  SuexecUserGroup web0 web0
  ScriptAlias /cgi-bin/ /var/www/web0/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /var/www/web0/html/:/var/www/web0/phptmp/:/var/ww
w/web0/files/:/var/www/web0/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /var/www/web0/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

Und wenn Confixx es aktualisiert:

Code:
UseCanonicalName Off
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /var/www/empty/
LogFormat "%V:#:%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" con
fixx
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\"" confixx2
CustomLog |/root/confixx/pipelog.pl confixx

<Directory "/var/www">
  <Files ~ "^\.ht">
    deny from all
  </Files>
  AllowOverride None
  AllowOverride Indexes  AuthConfig Limit  FileInfo
  Options None
  Options +FollowSymLinks +Includes
</Directory>

<Directory "/var/www/web0/html">
  Options -FollowSymLinks -SymLinksIfOwnerMatch
  Options +ExecCGI
  AddHandler cgi-script .cgi
  <IfModule mod_access.c>
    Allow from all
  </IfModule>
</Directory>

Ich kann bei Domains alles einstellen (subDomain u.s.w.) es kommt immer das selbe raus!
 
Hallo,

schluck, Dein Confixx macht ja garnix (sinnvolles). :confused:

Counterscript und Updatescript mehrfach von Hand aufrufen.
Confixx updaten wenn möglich.

Es gibt in Confixx die Möglichkeit als Reseller einen Kunden zu sperren, ist das versehentlich gesetzt?

Nicht web0 und res0 verwenden, sondern selbst einen Reseller (res1) und als dieser einen Kunden (web1) anlegen, die Domain bei web0 löschen und bei web1 eintragen. Falls schon wichtige Daten auf dem Server sind vorher vorsichtshalber Backup.
 
Vielen dank für die Hilfe, hat aber leider alles nichts genützt, dieses Confixx will nicht so wie ich es will. Werde wohl ein script laufen lassen das die richtige confixx_vhost.conf generiert und dann den apache neustarten. Ist wohl die einzige möglichkeit Viele Grüße Lars
 
Hallo,

so schnell würde ich nicht aufgeben, Confixx ist millionenfach (?) im Einsatz und funktioniert. Ich würde noch etwas warten ob hier noch jemand eine Idee hat und ansonsten den Support des Providers kontaktieren.
 
Hallo,

sorry, ich hatte das 3pro in Deinem ersten Post überlesen.

Bei Confixx 3 liegen die Vhosts nicht mehr in der confixx_vhost.conf sondern im Verzeichnis /etc/apache2/confixx_vhosts für jeden User (webX) eine eigene Datei, die Dateien werden in der confixx_vhost.conf nur eingebunden mit der Zeile
Code:
include /etc/apache2/confixx_vhosts/*.conf
(muß am Ende von confixx_vhost.conf stehen).

Allerdings sollte Confixx die Zeile selbst reinschreiben. :confused:
 
Back
Top