Page 1 of 1

Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-02 21:04
by [sector]
hi Jungs, ich habe mir von suse alle php4 pakete gedownloadet und per rpm -Uhv installiert. Anschließend habe ich die apache pakete installiert (das apache.i586 dings, prefork, und das neu libapr)

danach habe ich confixx installiert.

nur irgendwie funzt das confixx nicht.

Wieso ? Hab kein Plan, vorallem weil ich php4 über yast installt habe und den apache und dann die updates gemacht habe und dann erst confixx installt habe.

Apache2 Errorlog:
[Sat Jul 02 20:56:28 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Sat Jul 02 20:56:29 2005] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Sat Jul 02 20:56:29 2005] [notice] Apache/2.0.54 (Linux/SUSE) configured -- resuming normal operations

confixx_mhost.conf

Code: Select all

################### CONFIXX APACHE MAIN CONFIG FILE ######################
# created at Sat Jul  2 20:45:07 2005
#
#            !!! 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_basedir /srv/www/htdocs
php_admin_value include_path .

<Directory "/srv/www/htdocs/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 81.169.183.215:80
<VirtualHost 81.169.183.215:80>

  ServerName servername

  #User confixx
  #Group confixx
  DocumentRoot /srv/www/htdocs/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 /srv/www/htdocs/confixx/tmp
  php_admin_value include_path ".:/srv/www/htdocs/confixx/html/include:/srv/www/htdocs/confixx/html"
  php_admin_value default_charset none
  php_admin_value open_basedir /srv/www/htdocs/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/ /srv/www/htdocs/confixx/html/cgi-bin/

  <IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.cgi index.php
  </IfModule>


  CustomLog /var/log/apache2/xxxxx.serverkompetenz.net_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
  ErrorLog /var/log/apache2/xxxxx.serverkompetenz.net_error.log


</VirtualHost>

[den 443 abschnitt habe ich weggelassen, ist ja egal]
Weiß nicht ob das nun ein vhost Problem ist oder nicht?

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-02 21:18
by lufthansen
brauchst du mod_python wenn nein lösch den link aus /mods-enable

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-02 21:20
by [sector]
hmm naja ich will ja python verwenden, da brauch ich das doch dazu oder ?

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-03 10:31
by lufthansen
was genau ist eigentlich der fehler ?

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-03 15:36
by [sector]
Der Fehler ist, das er die Confixx Seiten nicht mehr findet. Nix nada. Document Root ist aber auch richtig und so. Die Apache Errorlogs sind auch leer.

Also da kommt sozusagen immer beim aufrufen meiner serverdomain die Meldung Seite nicht gefunden. Diese IE Standardmeldung halt.

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-03 15:39
by antondollmaier
mod_rewrite geladen? ...

wird der login angezeigt, aber dann nach der eingabe der benutzerdaten der 404? ...

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-03 17:01
by [sector]
ja mod_rewrite ist geladen.

Und nein, es kommt direkt Seite nicht gefunden. Also ich komme noch nichtmal zum Login.

Re: Apache 2.0.54 mit PHP - Confixx geht nicht mehr

Posted: 2005-07-03 17:39
by [sector]
Kann es sein, dass der Apache 2.0.54 nicht mit der aktuellen mod_pyhon richtig zusammenarbeitet ?

Denn der Yast Standard Apache2 (weiß gerade net welche Version, habe aber SuSE 9.2) der funktioniert wenn ich python in die Module aufnehme. :?: