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

Re: [cobalt-users] [raq] Pointing Subdomain At A Directory



on 6/3/00 1:47 PM, Joe Kerns at joe@xxxxxxxxxxxxx wrote:
 
> The whole point of what I was doing was to AVOID making yet another site in
> the GUI. The way I specified just points
> at a directory rather than creating an entire site. I used this method to
> point at quite a few directories without
> unnecessarily adding sites to the GUI. Not sure, but I would hate to add 5
> sites for 5 different folders if they
> count against the 123 limit I have read about that causes logrotation
> problems.

Sorry about that -- I have not been able to figure out how the GUI actually
interfaces with the config files. In other words, what does it see and what
will break it.

In Apache, here's all you "should" need:

# point www.somesite.com to subdirectory somesite
<VirtualHost www.somesite.com somesite.com>
ServerName www.somesite.com
ServerAdmin admin@xxxxxxxxxxxx
DocumentRoot /home/sites/home/users/somesite
</VirtualHost>

This is the standard way in Apache. You can also add other things like:
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
Alias /icons/ /where ever these are/

Again, I have no idea what the GUI will do with this.

Scott
-- 
Scott Crumpton, Publisher                   Moriah Mountain Publishing
mailto:scott@xxxxxxxxxx                         http://www.moriah.com/

"With God, All Things Are Possible. Without God, Nothing Is Possible."