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

RE: [cobalt-users] pointing a domain 2 a directory



> 
> that way I can use i cms to update 3 sites in there own style.
> 
> foreinstance
> 
www.domainname.com /home/site1/web/

www.domainname.biz gos 2 /home/site1/web/biz

www.domainname.inf gos 2 /home/site1/web/info

or any given directory

must this be done in the DNS?

You can do it in httpd.conf or access.conf or by having an included conf
file referenced in httpd.conf. Just copy the existing block for
www.domainename.com from httpd.conf and change it to point to /biz as
the root directory. You might also want to insert some lines like:
ScriptAlias /cgi-bin/ /home/sites/site#/web/cgi-bin/
if you want to share CGI/Perl scripts. Ditto for images if you want a
common images directory:
Alias /images/ /home/sites/site#/web/images/
That way you don't need duplicate copies of image files.
-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.