[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] virtual sites being redirected to wrong addresses.



I run a Cobalt Raq3 server with over 80 domains served
running my own DNS name server.

It's a pretty plain vanilla setup.  The only slightly
unusual feature is a resin servlet engine -- and this problem
predates my installation of this servlet engine.


In brief, sites get remapped and appear on the wrong URL
somehow.

Here's an example.

<http://www.solvechess.com> comes up correctly.
<http://solvechess.com> comes up incorrectly.


This has caused terrible problems for for me...

I've checked and checked and checked the Cobalt
interface, including the DNS control panel.

And I've checked httpd.conf, and the various named.conf files.

I'm going to paste the relevant information below for this
site (which is the only one not working right now... as
far as I know...)

What's PARTICULARLY weird is that <http://solvechess.com>
resolves to <http://www.timoore.com> which isn't
even on the same IP address!


Please help me... I'm at my wit's end with this one.


----------------------------------------

from /etc/httpd/httpd.conf

<VirtualHost 64.27.95.130>
ServerName www.solvechess.com
ServerAdmin site37
DocumentRoot /home/sites/site37/web
ServerAlias solvechess.com
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^64.27.95.130(:80)?$
RewriteCond %{HTTP_HOST}                !^www.solvechess.com(:80)?$
RewriteRule ^/(.*)                      http://www.solvechess.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site37/users/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /home/sites/site37/users/$1/web/$3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
</VirtualHost>

----------------------------------------

from /etc/named.conf

zone "solvechess.com" { type master; file "pri.solvechess.com"; };

----------------------------------------
/etc/named/pri.solvechess.com

$TTL 86400
solvechess.com. IN SOA www.editev.com. admin.www.editev.com. (
        2001052723
        10800
        3600
        604800
        86400
        )
solvechess.com. IN      NS      www.editev.com.
; End SOA Header
;
; Do Not edit BIND db files directly.
; Use the administrative web user interface
; /admin/ -> Control Panel -> DNS Parameters
; Custom additions may be made by creating a file of the same name as this but
; with a; .include suffix.  Click Save Changes in the DNS web interface and
;the inclusion will be made.
;
solvechess.com. in      a       64.27.95.130
www.solvechess.com.     in      a       64.27.95.130
solvechess.com. in      mx      30 www.solvechess.com.

...electronic a cappella madness <http://volectrix.com>.........
...extreme internet radio        <http://extremeNY.com/radio>...