[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Subdomains in RaQ 4i - HELP
- Subject: Re: [cobalt-users] Subdomains in RaQ 4i - HELP
- From: José Luis Chafardet Grimaldi <joseluis@xxxxxxxxxxxxxxxx>
- Date: Sun Feb 16 18:43:01 2003
- Organization: DGTal Studios
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Sunday 16 February 2003 21:08, José Luis Chafardet Grimaldi wrote:
> How long do i have to wait to see the subdomain answering ?
It should answer as soon as you are done.
If not try restarting httpd.
Gerald
--
It didnt !
What i did:
Created 2 ( A ) Records:
www.sub.domain.com
sub.domain.com
created a file called subdomains.conf with:
<VirtualHost 216.12.215.29>
ServerName www.bachaco.tucaracas.com
ServerAdmin admin
ServerAlias bachaco.tucaracas.com
DocumentRoot /home/sites/site1/users/bachaco/web
RewriteEngine on
RewriteCond %{HTTP_HOST} !^216.12.215.29(:80)?$
RewriteCond %{HTTP_HOST} !^www.bachaco.tucaracas.com(:80)?$
RewriteRule ^/(.*) http://www.bachaco.tucaracas.com/$1 [L,R]
RewriteOptions inherit
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
</VirtualHost>
edited /etc/httpd/conf/httpd.conf
the last line down the </VirtualHost> tag added the next line
include subdomains.conf
and restarted httpd
the subdomain doesnt work
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
José Luis Chafardet Grimaldi
DGTal Studios Information Communication & Design Intergrated Solutions
Presidente
http://www.dgtalstudios.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-