[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Subdomains in RaQ 4i - HELP
- Subject: [cobalt-users] Subdomains in RaQ 4i - HELP
- From: José Luis Chafardet Grimaldi <joseluis@xxxxxxxxxxxxxxxx>
- Date: Sun Feb 16 00:41:02 2003
- Organization: DGTal Studios
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
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>
then?
i guess i must do a link something like
#> cd /home/sites/site*/web
#> ln -s /home/sites/site*/sub /home/sites/site*/web/sub
????
Please tell me if i'm wrong or i need to do something more
Best regards and thanks in advance
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
José Luis Chafardet Grimaldi
DGTal Studios Information Communication & Design Intergrated Solutions
Presidente
http://www.dgtalstudios.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-