[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] SubDomain question - How to create one...
- Subject: RE: [cobalt-users] SubDomain question - How to create one...
- From: "José Luis Chafardet G." <joseluis@xxxxxxxxxxxxxxxx>
- Date: Tue Feb 4 12:44:02 2003
- Organization: DGTal Studios Information Communication & Design Integrated Solutions
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>I have dozens of domains done this way on my RaQ using an "extra" .conf
>file called in httpd.conf.
>
>A typical domain in the file:
>
><VirtualHost 123.456.78.90>
>ServerName www.sub.sample.com
>ServerAdmin admin
>DocumentRoot /home/sites/site31/web/sub
>RewriteEngine on
>RewriteCond %{HTTP_HOST} !^123.456.78.90(:80)?$
>RewriteCond %{HTTP_HOST} !^sub.sample.com(:80)?$
>RewriteRule ^/(.*) http://sub.sample.com/$1 [L,R]
>RewriteOptions inherit
>AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site31/users/$1/web/$3
>ServerAlias sub.sample.com
>#the site shares a cgi folder with the main domain
>ScriptAlias /cgi-bin/ /home/sites/site31/web/cgi-bin/
>#the site shares an images folder with the main domain
>Alias /images/ /home/sites/site31/web/images/
>AddHandler cgi-script .asp
>AddHandler cgi-wrapper .cgi
>AddHandler cgi-wrapper .pl
>AddType text/x-server-parsed-html .html .shtml
></VirtualHost>
>
>--
>C2003 Dan Kriwitsky
>
>Please reply to the list only. Off list replies are not read.
So I can add a new httpd.conf for each subdomain?
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users