Current time: 11-23-2024, 10:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
Kunden Domain keine funktion
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #31
RE: Kunden Domain keine funktion
ah - unten ist sowas wie: auf dieser IP kein Apache...

kannst du mal die apache konfig genauer ansehen- alls VirtualHostName und so

/J
09-25-2009 08:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Zuschauer Offline
Junior Member
*

Posts: 23
Joined: Sep 2009
Reputation: 0
Post: #32
RE: Kunden Domain keine funktion
ich höre sarkasmus? Big Grin

aus der ispcp.conf
Code:
NameVirtualHost 88.xxx.xxx.1:80

# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.
# httpd [kundendomain.tld] dmn group entry BEGIN.

<IfModule mod_cband.c>
    <CBandUser kundendomain.tld>
        # CBandUserLimit 0Mi
        # CBandUserScoreboard /var/www/scoreboards/kundendomain.tld
        # CBandUserPeriod 4W
        # CBandUserPeriodSlice 1W
        # CBandUserExceededURL http://admin.serverdomain.de/errors/bw_exceeded.html
    </CBandUser>
</IfModule>


# httpd [{SUB_NAME}] sub entry BEGIN.
# httpd [{SUB_NAME}] sub entry END.

# httpd [kundendomain.tld] dmn entry BEGIN.
<VirtualHost 88.xxx.xxx.1:80>

    <IfModule suexec_module>
           SuexecUserGroup vu2002 vu2002
    </IfModule>

    ServerAdmin     webmaster@kundendomain.tld
    DocumentRoot    /var/www/virtual/kundendomain.tld/htdocs

    ServerName      kundendomain.tld
    ServerAlias     www.kundendomain.tld kundendomain.tld *.kundendomain.tld

    Alias /errors   /var/www/virtual/kundendomain.tld/errors/

    RedirectMatch permanent ^/ftp([\/]?)        http://admin.serverdomain.de/ftp/
    RedirectMatch permanent ^/pma([\/]?)        http://admin.serverdomain.de/pma/
    RedirectMatch permanent ^/webmail([\/]?)    http://admin.serverdomain.de/webmail/

    ErrorDocument 401 /errors/401.html
    ErrorDocument 403 /errors/403.html
    ErrorDocument 404 /errors/404.html
    ErrorDocument 500 /errors/500.html
    ErrorDocument 503 /errors/503.html

    <IfModule mod_cband.c>
        CBandUser kundendomain.tld
    </IfModule>

    # httpd awstats support BEGIN.

   # httpd awstats support END.

    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/kundendomain.tld/cgi-bin/
    <Directory /var/www/virtual/kundendomain.tld/cgi-bin>
        AllowOverride AuthConfig
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.

    <Directory /var/www/virtual/kundendomain.tld/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options -Indexes Includes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    <IfModule mod_php5.c>
        php_admin_value open_basedir "/var/www/virtual/kundendomain.tld/:/var/www/virtual/kundendomain.tld/phptmp/:/usr/share/php/"
        php_admin_value upload_tmp_dir "/var/www/virtual/kundendomain.tld/phptmp/"
        php_admin_value session.save_path "/var/www/virtual/kundendomain.tld/phptmp/"
        php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
    </IfModule>
    <IfModule mod_fastcgi.c>
        ScriptAlias /php5/ /var/www/fcgi/kundendomain.tld/
        <Directory "/var/www/fcgi/kundendomain.tld">
            AllowOverride None
            Options +ExecCGI -MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    <IfModule mod_fcgid.c>
        <Directory /var/www/virtual/kundendomain.tld/htdocs>
            FCGIWrapper /var/www/fcgi/kundendomain.tld/php5-fcgi-starter .php
            Options +ExecCGI
        </Directory>
        <Directory "/var/www/fcgi/kundendomain.tld">
            AllowOverride None
            Options +ExecCGI MultiViews -Indexes
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>
    # httpd dmn entry PHP2 support END.

    Include /etc/apache2/ispcp/kundendomain.tld.conf

</VirtualHost>
# httpd [kundendomain.tld] dmn entry END.

# httpd [kundendomain.tld] dmn group entry END.


# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [88.xxx.xxx.1] virtual host entry END.
09-25-2009 08:40 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #33
RE: Kunden Domain keine funktion
ne, nicht Sarkasmus.

Aber es ist seltsam. In der Apache Config hast du den 88...1 drin, aber da ist nix los auf Port 80.

Ich weiss nun nicht weiter.

Wenn du den Apache restartest, dann müsste er auch auf der zweiten IP horchen - wenn kein Fehler passiert. Fehler sollten aber geloggt werden.

/Joxi
09-25-2009 04:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zuschauer Offline
Junior Member
*

Posts: 23
Joined: Sep 2009
Reputation: 0
Post: #34
RE: Kunden Domain keine funktion
bekomme nun auch folgende meldung beim restarten des apache servers

Code:
server1:/# /etc/init.d/apache2 restart
Restarting web server: apache2[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost haupt-ip:80 has no VirtualHosts
... waiting ...[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost haupt-ip:80 has no VirtualHosts
.
server1:/#
09-25-2009 09:38 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #35
RE: Kunden Domain keine funktion
Da steht garantiert:

Code:
*:80 has no virtual hosts
09-25-2009 09:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zuschauer Offline
Junior Member
*

Posts: 23
Joined: Sep 2009
Reputation: 0
Post: #36
RE: Kunden Domain keine funktion
Nein leider nicht.
Da steht die Haupt IP vom Server

Code:
server1:/# /etc/init.d/apache2 restart
Restarting web server: apache2[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost 88.xxx.xx.168:80 has no VirtualHosts
... waiting ...[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost 88.xxx.xx.168:80 has no VirtualHosts
.
server1:/#
09-25-2009 09:47 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #37
RE: Kunden Domain keine funktion
Hab grad bemerkt, dass IPs, die gelöscht werden in der apache config immernoch drin sind...

ich such mal danach.

Hängt aber nur bedingt mit deinem Wirrwarr zusammen :-/

/J
09-25-2009 09:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Zuschauer Offline
Junior Member
*

Posts: 23
Joined: Sep 2009
Reputation: 0
Post: #38
RE: Kunden Domain keine funktion
hehe Big Grin

ich habs nicht extra so angerichtet
(This post was last modified: 09-25-2009 09:52 PM by Zuschauer.)
09-25-2009 09:52 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #39
RE: Kunden Domain keine funktion
alo die leeren NameVirtualHost Einträge, die nicht zur Haupt-IP gehören kannst du in /etc/apache/working/ispcp.conf entfernen

Ein leerer Block sieht in etwa so aus:
Code:
# httpd [1.2.3.4] virtual host entry BEGIN.

NameVirtualHost 1.2.3.4:80

# httpd [{DMN_GRP}] dmn group entry BEGIN.
# httpd [{DMN_GRP}] dmn group entry END.

# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.

# httpd [1.2.3.4] virtual host entry END.

danach diese ispcp.conf nach /etc/apache2/sites-available kopieren...

Danach weitersuchen... Big Grin

/J
09-25-2009 10:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #40
RE: Kunden Domain keine funktion
wie sieht denn die /etc/apache2/ports.conf aus?

(09-25-2009 09:38 PM)Zuschauer Wrote:  bekomme nun auch folgende meldung beim restarten des apache servers

Code:
server1:/# /etc/init.d/apache2 restart
Restarting web server: apache2[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:46 2009] [warn] NameVirtualHost haupt-ip:80 has no VirtualHosts
... waiting ...[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost 88.xxx.xxx.2:80 has no VirtualHosts
[Fri Sep 25 13:36:50 2009] [warn] NameVirtualHost haupt-ip:80 has no VirtualHosts
.
server1:/#
09-25-2009 11:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)