[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: subdomains
- Subject: [cobalt-users] Re: subdomains
- From: double.speed@xxxxxxxxxxx (Ralf Meischner)
- Date: Thu Apr 5 01:01:34 2001
- Organization: DoubleSpeed.de / w1a.de
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello cobalt-users,
OK. I did the following:
1. edit httpd.conf for an include-file
include subdomains.conf
2. make file subdomains.conf like this:
<VirtualHost ip.ad.re.ss>
ServerName 123.domain.com
ServerAdmin siteNN
ServerAlias 123.domain.com
DocumentRoot /home/sites/siteNN/users/123/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^ip.ad.re.ss(:80)?$
RewriteCond %{HTTP_HOST} !^www.123.domain.com(:80)?$
RewriteRule ^/(.*) http://www.123.domain.com/$1 [L,R]
RewriteOptions inherit
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
ScriptAlias /_vti_bin/_vti_adm/ /home/sites/siteNN/users/123/web/_vti_bin/_vti_adm/
ScriptAlias /_vti_bin/_vti_aut/ /home/sites/siteNN/users/123/web/_vti_bin/_vti_aut/
ScriptAlias /_vti_bin/ /home/sites/siteNN/users/123/web/_vti_bin/
</VirtualHost>
3. make a new A record 123.domain.com points to ip.ad.re.ss
make a new A record www.123.domain.com point to ip.ad.re.ss
This works fine with www.123.domain.com but it dont work with
123.domain.com.
Everything I try - it wont do it.
--
Best regards,
Ralf mailto:double.speed@xxxxxxxxxxx