Ergebnis 1 bis 3 von 3

  1. Beiträge
    31
    Registriert seit
    21.12.2003

    Poppsworld Systemhaus

    Provider

    Confixx Installation unter Gentoo Linux

    Hallo,

    ich versuche gerade unter Gentoo Linux Confixx zu installieren. Allerdings schlägt dies mit der von Confixx generierten httpd.conf (Unter gentoo gibts hier mehrere Dateien, eine apache2.conf und eine commonapache2.conf welche zusammenarbeiten) fehl.

    Ohne die Confixx einträge funktioniert der Webserver aber ohne Probleme.

    Folgende Datei (apache2.conf / httpd.conf) wird generiert:

    ###
    ### Main Configuration Section
    ### You really shouldn't change these settings unless you're a guru
    ###
    ServerRoot /etc/apache2
    #ServerName localhost
    #LockFile /etc/apache2/apache2.lock
    PidFile /var/run/apache2.pid
    ErrorLog logs/error_log
    LogLevel warn
    DocumentRoot /var/www/localhost/htdocs

    ### Dynamic Shared Object (DSO) Support
    ###
    ### You should always leave these three, as they are needed for normal use.
    ### mod_access (Order, Allow, etc..)
    ### mod_log_config (Transferlog, etc..)
    ### mod_mime (AddType, etc...)
    ###
    LoadModule access_module modules/mod_access.so
    LoadModule auth_module modules/mod_auth.so
    LoadModule auth_anon_module modules/mod_auth_anon.so
    LoadModule auth_dbm_module modules/mod_auth_dbm.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule include_module modules/mod_include.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    .
    .
    .
    modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so

    ###
    ### New Modules for 2.0 (some are experimental)
    ###
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule echo_module modules/mod_echo.so
    LoadModule charset_lite_module modules/mod_charset_lite.so
    .
    .
    .
    .
    modules/mod_bucketeer.so
    LoadModule logio_module modules/mod_logio.so

    ###
    ### Global Configuration
    ###
    # Splitting up apache2.conf into two files makes it easier to support
    # multiple configurations on the same serer. In commonapache2.conf
    # you keep directives that apply to all implementations and in this
    # file you keep server-specific directives. While we don't yet have
    # multiple configurations out-of-the-box, this allows us to do that
    # in the future easily. (PERLPROXIED *ahem*)
    #
    # For Apache2 we load all conf files in conf/modules.d
    Include conf/modules.d/*.conf
    Include conf/commonapache2.conf

    ###
    ### IP Address/Port
    ###
    #BindAddress *
    Listen 80

    ###
    ###
    ### Log configuration Section
    ###
    <IfModule mod_log_config.c>
    #Single logfile with access, agent and referer information
    #This is the default, if vlogs are not defined for the main server
    CustomLog logs/access_log combined env=!VLOG
    #If VLOG is defined in conf/vhosts/vhosts.conf, we use this entry
    #CustomLog "|/usr/sbin/apache2splitlogfile" vhost env=VLOG
    </IfModule>

    ###
    ### Virtual Hosts
    ###
    # We include different templates for Virtual Hosting. Have a look in the
    # vhosts directory and modify to suit your needs.
    Include conf/vhosts/vhosts.conf
    #Include conf/vhosts/dynamic-vhosts.conf
    #Include conf/vhosts/virtual-homepages.conf

    ###
    ### Performance settings Section
    ###
    #
    # Timeout: The number of seconds before receives and sends time out.
    #
    Timeout 300

    #
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    #
    KeepAlive On
    #
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    #
    MaxKeepAliveRequests 100

    #
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    #
    KeepAliveTimeout 15

    # prefork MPM [THIS IS THE DEFAULT]
    # StartServers: number of server processes to start
    # MinSpareServers: minimum number of server processes which are kept spare
    # MaxSpareServers: maximum number of server processes which are kept spare
    # MaxClients: maximum number of server processes allowed to start
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule prefork.c>
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    MaxClients 150
    MaxRequestsPerChild 0
    </IfModule>
    # perchild MPM
    # NumServers: constant number of server processes
    # StartThreads: initial number of worker threads in each server process
    # MinSpareThreads: minimum number of worker threads which are kept spare
    # MaxSpareThreads: maximum number of worker threads which are kept spare
    # MaxThreadsPerChild: maximum number of worker threads in each server process
    # MaxRequestsPerChild: maximum number of connections per server process
    <IfModule perchild.c>
    NumServers 5
    StartThreads 5
    MinSpareThreads 5
    MaxSpareThreads 10
    MaxThreadsPerChild 20
    MaxRequestsPerChild 0
    </IfModule>

    ## CONFIXX
    <Directory "/var/www/confixx/html">
    AllowOverride all
    </Directory>
    NameVirtualHost xxx.xxx.xxx.xx:80
    <VirtualHost xxx.xxx.xxx.xx:80>
    ServerName confixx.xxxxxxxx.de
    #User confixx
    #Group users
    DocumentRoot /var/www/confixx/html
    #php_admin_value safe_mode_exec_dir /var/www/confixx/bin
    #php_admin_value upload_tmp_dir /var/www/confixx/tmp
    ScriptAlias /cgi-bin/ /var/www/confixx/html/cgi-bin/
    CustomLog /var/log/httpd/confixx.strickfabrik.de_access.log "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i""
    ErrorLog /var/log/httpd/confixx.strickfabrik.de_error.log
    </VirtualHost>
    Include /etc/apache2/conf/confixx_vhost.conf
    # ^- Dieser Eintrag sollte unbedingt am Ende der Datei bleiben
    ## /CONFIXX

    Wenn ich nun mit diesen Einstellungen den Server neu starte und versuche die Seite aufzurufen, dann erhalte ich einen 403er mit Forbidden.

    Die zusätzlich eingebundene commonapache.conf hat auch nur die Standartwerte. Gerne kann ich diese auch noch posten, aber bevor ich das ganze Forum zumülle...

    Ich hab auch versucht mal "User confixx" und die group auszukommentieren, allerdings mag das der Apache2 bei mir nicht...
    Hat jemand eine Idee, was ich falsch mache?

    Bin über jede Hilfe dankbar.

    Grüße
    Lars

  2. Registrieren, damit diese Werbung verschwindet.

  3. Beiträge
    31
    Registriert seit
    21.12.2003

    Poppsworld Systemhaus

    Provider

    hier ist noch die commonapache2.conf


  4. Beiträge
    8
    Registriert seit
    18.02.2004
    Neuer Benutzer

    Dein Apache läuft unter
    User Apache
    Group Apache

    Was hast du unter Confixx bei der Installation eingeben? Vorschlag der Gruppe www übernommen? Wenn ja, dann ändere das ab.


Content Relevant URLs by vBSEO 3.6.0