httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stein <der.st...@gmx.de>
Subject [users@httpd] wrong virthost
Date Tue, 24 Jan 2006 19:29:00 GMT
Hi there,
I have a server with serveral virthosts and ips.
All virthosts are working as I want.
But pellar.de is redirecting to first one. In the script
weddingdaycompny.de

I played something arround.
Is there a way to debug apache and show what it is doing?
Greetings
Michael

NameVirtualHost 217.114.218.63

# httpd [weddingdaycompany.de] dmn group entry BEGIN.

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

# httpd [weddingdaycompany.de] dmn entry BEGIN.
<VirtualHost weddingdaycompany.de>
    
    #
    #User vu2028
    #Group vu2028
    #
    
    #
    #SuexecUserGroup vu2028 vu2028
    #

    ServerAdmin     root@weddingdaycompany.de
    DocumentRoot    /var/www/virtual/weddingdaycompany.de/htdocs
    
    ServerName      weddingdaycompany.de
    ServerAlias     www.weddingdaycompany.de weddingdaycompany.de
    
    ErrorLog        /var/log/apache2/users/weddingdaycompany.de-error.log
    TransferLog     /var/log/apache2/users/weddingdaycompany.de-access.log
    
    CustomLog       /var/log/apache2/weddingdaycompany.de-traf.log traff
    CustomLog       /var/log/apache2/weddingdaycompany.de-combined.log combined
    
    Alias /errors   /var/www/virtual/weddingdaycompany.de/errors/
    Alias /usage   /var/www/virtual/weddingdaycompany.de/usage/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    # httpd dmn entry cgi support BEGIN.
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    # httpd dmn entry PHP2 support END.
    
    # httpd dmn entry cgi support BEGIN.
    ScriptAlias /cgi-bin/ /var/www/virtual/weddingdaycompany.de/cgi-bin/
    <Directory /var/www/virtual/weddingdaycompany.de/cgi-bin>
        AllowOverride None
        #Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    php_admin_value open_basedir "/var/www/virtual/weddingdaycompany.de/:/usr/share/pear/:/tmp/:/usr/sbin/"
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/weddingdaycompany.de/htdocs>
        # httpd dmn entry PHP support BEGIN.
        # httpd dmn entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [weddingdaycompany.de] dmn entry END.

# httpd [weddingdaycompany.de] dmn group entry END.

# httpd [pellar.de] dmn group entry BEGIN.

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

# httpd [pellar.de] dmn entry BEGIN.
<VirtualHost pellar.de>
    
    #
    #User vu2058
    #Group vu2058
    #
    
    #
    #SuexecUserGroup vu2058 vu2058
    #

    ServerAdmin     root@pellar.de
    DocumentRoot    /var/www/virtual/pellar.de/htdocs
    
    ServerName      pellar.de
    ServerAlias     www.pellar.de pellar.de
    
    ErrorLog        /var/log/apache2/users/pellar.de-error.log
    TransferLog     /var/log/apache2/users/pellar.de-access.log
    
    CustomLog       /var/log/apache2/pellar.de-traf.log traff
    CustomLog       /var/log/apache2/pellar.de-combined.log combined
    
    Alias /errors   /var/www/virtual/pellar.de/errors/
    Alias /usage   /var/www/virtual/pellar.de/usage/
    
    ErrorDocument 401 /errors/401/index.php
    ErrorDocument 403 /errors/403/index.php
    ErrorDocument 404 /errors/404/index.php
    ErrorDocument 500 /errors/500/index.php

    # httpd dmn entry cgi support BEGIN.
    # httpd dmn entry cgi support END.
    
    <Directory /var/www/vhcs2/gui>
        php_admin_value open_basedir "/var/www/vhcs2/gui/:/etc/vhcs2/:/proc/:/var/www/virtual/:/tmp/"
    </Directory>

    # httpd dmn entry PHP2 support BEGIN.
    # httpd dmn entry PHP2 support END.
    
    <Directory /var/www/virtual/pellar.de/htdocs>
        # httpd dmn entry PHP support BEGIN.
            php_admin_flag engine off
        # httpd dmn entry PHP support END.
        Options Indexes Includes FollowSymLinks MultiViews
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>
    
</VirtualHost>
# httpd [pellar.de] dmn entry END.

# httpd [pellar.de] dmn group entry END.







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message