View Single Post
  #12  
Old 25th January 2010, 13:43
Mosquito Mosquito is offline
Member
 
Join Date: Nov 2006
Posts: 85
Thanks: 5
Thanked 6 Times in 5 Posts
Default

Nope, no SSL. I hunted through everything to make sure. No one tried to do SSL.

I put everything to *, so that I could see where client9 was redirecting. When it was *, everything except client9's main domain works. Their main domain then loads client7's index. I have no idea why. Here are the two vhost entries when everything on the server is *

Client 7
Code:
<Directory /var/www/andrewwegner.com>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost *:80>
    DocumentRoot /var/www/clients/client7/web6/web

    ServerName andrewwegner.com
    ServerAlias www.andrewwegner.com
    ServerAlias test.andrewwegner.com
    ServerAdmin webmaster@andrewwegner.com

    ErrorLog /var/log/ispconfig/httpd/andrewwegner.com/error.log

    ErrorDocument 400 /error/400.html
    ErrorDocument 401 /error/401.html
    ErrorDocument 403 /error/403.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 405 /error/405.html
    ErrorDocument 500 /error/500.html
    ErrorDocument 503 /error/503.html

    <Directory /var/www/andrewwegner.com/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client7/web6/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # suphp enabled
    <Directory /var/www/clients/client7/web6/web>
        suPHP_Engine on
        # suPHP_UserGroup web6 client7
        AddHandler x-httpd-suphp .php .php3 .php4 .php5
        suPHP_AddHandler x-httpd-suphp
    </Directory>

    RewriteEngine on
    RewriteCond %{HTTP_HOST}   ^test.andrewwegner.com [NC]
    RewriteRule   ^/(.*)$ /var/www/clients/client7/web6/web/test/$1  [L]


</VirtualHost>
Client 9
Code:
<Directory /var/www/team-vipers.com>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost *:80>
    DocumentRoot /var/www/clients/client9/web8/web

    ServerName team-vipers.com
    ServerAlias bans.team-vipers.com
    ServerAlias stats.team-vipers.com
    ServerAlias fastdl.team-vipers.com
    ServerAdmin webmaster@team-vipers.com

    ErrorLog /var/log/ispconfig/httpd/team-vipers.com/error.log

    ErrorDocument 400 /error/400.html
    ErrorDocument 401 /error/401.html
    ErrorDocument 403 /error/403.html
    ErrorDocument 404 /error/404.html
    ErrorDocument 405 /error/405.html
    ErrorDocument 500 /error/500.html
    ErrorDocument 503 /error/503.html

    <Directory /var/www/team-vipers.com/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /var/www/clients/client9/web8/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>

    # suphp enabled
    <Directory /var/www/clients/client9/web8/web>
        suPHP_Engine on
        # suPHP_UserGroup web8 client9
        AddHandler x-httpd-suphp .php .php3 .php4 .php5
        suPHP_AddHandler x-httpd-suphp
    </Directory>

    RewriteEngine on
    RewriteCond %{HTTP_HOST}   ^bans.team-vipers.com [NC]
    RewriteRule   ^/(.*)$ /var/www/clients/client9/web8/web/sourcebans/$1  [L]
    RewriteCond %{HTTP_HOST}   ^stats.team-vipers.com [NC]
    RewriteRule   ^/(.*)$ /var/www/clients/client9/web8/web/hlstatsce/$1  [L]
    RewriteCond %{HTTP_HOST}   ^fastdl.team-vipers.com [NC]
    RewriteRule   ^/(.*)$ /var/www/clients/client9/web8/web/fastdownload/$1  [L]


</VirtualHost>
Those subdomains that 9 has set up work in this configuration.
Reply With Quote