To add to my message before it that my main goal is to have my two subdomain
to resolve to different web sites. Currently the server thinks there is
only one.
I am using the virtual host directive.
Because I have only 1 ip address I am using name-based virtual host.
This is my configuration that I have at the moment:
NameVirtualHost 123.47.67.89
<VirtualHost 123.47.67.89 www.proweb.co.nz>
ServerAdmin user@some_domain.co.nz
DocumentRoot /www/some_user/htdocs
ServerName www.proweb.co.nz
ScriptAlias /cgi-bin/ "/www/some_user/htdocs/cgi-bin/"
ErrorLog /www/some_user/logs/some_domain-error_log
CustomLog /www/some_user/logs/some_domain-access_log
</VirtualHost>
<VirtualHost 123.45.67.89>
ServerAdmin user@some_domain.co.nz
DocumentRoot /www/some_user/htdocs
ServerName proprint.proweb.co.nz
ScriptAlias /cgi-bin/ "/www/some_user/htdocs/cgi-bin/"
ErrorLog /www/some_user/logs/some_domain-error_log
CustomLog /www/some_user/logs/some_domain-access_log
</VirtualHost>
Please advise,
Chris
To unsubscribe: send mail to majordomo@freebsddiary.cx
with "unsubscribe adsl" in the body of the message
Received on Sun Apr 9 21:41:05 2000