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

RE: [cobalt-users] [RaQ 4] Domain Directing



> We tried but she keeps on insisting that this works fine with 
> other providers and they do not charge her for another domain.
> 

You can use an included .conf file in your httpd.conf to point that
domain to the sub-directory. Plenty of instructions on to do that in the
archives. e.g.

<VirtualHost 216.3.8.210>
ServerName www.kortemeier.net
ServerAdmin admin
DocumentRoot home/sites/www.tremper.com/web/family
ServerAlias kortemeier.net
#ScriptAlias /cgi-bin/ /home/sites/www.tremper.com/web/cgi-bin/
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddType text/x-server-parsed-html .shtml
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
</VirtualHost>

The aliased directory is if you want the client to be able to have one
cgi-bin to share between the two sites. Just remove the #.

Or the above could be added to your existing httpd.conf file. I don't
recall whether it will be overwritten if you add a new virtual site or
not. IIRC, that may have been fixed in a recent patch.
-- 
Dan Kriwitsky

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