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

Re: [cobalt-users] Subdomains in RaQ 4i - HELP



On Sunday 16 February 2003 03:39, José Luis Chafardet Grimaldi wrote:
> To create a subdomain in a cobalt raq4i
>
> the steeps i should follow are?
>
> First add an (A) Reccord for the domain
>
> edit httpd.conf with the next data:
>
> <VirtualHost 216.12.215.29>
> ServerName sub.domain.com
> ServerAdmin admin
> DocumentRoot /home/sites/site*/web/sub
> ServerAlias sub.domain.com
> RewriteEngine on
> RewriteCond %{HTTP_HOST}                !^ipaddress(:80)?$
> RewriteCond %{HTTP_HOST}                !^sub.domain.com(:80)?$
> RewriteRule ^/(.*)                      http://sub.domain.com/$1 [L,R]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site*/users/$1/web/$3
> AddType application/x-httpd-php .php3
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> # AddHandler chiliasp .asp
> # AddHandler chiliasp .asa
> AddHandler cgi-wrapper .cgi
> AddHandler cgi-wrapper .pl
> AddHandler server-parsed .shtml
> AddType    text/html     .shtml
> </VirtualHost>
>
http://www.raqware.com/how2.html#sub-domains

Geralf
-- 
http://frontstreetnetworks.com | http://store.raqware.com
Front Street Networks LLC      |  Phone: 203-785-0699
229 Front Street, Ste #C, New Haven, CT 06513-3203