From: Greg Merritt (gmerritt@uclink.berkeley.edu)
Date: Tue Mar 12 2002 - 08:26:06 PST
On OSX client (apache is apache...), I do it like this for
each virtual host:
<VirtualHost *>
DocumentRoot /Users/sid/Sites/bicyclebell.org/www
ServerName www.bicyclebell.org
ErrorLog /private/var/log/httpd/www.bicyclebell.org_error_log
CustomLog /private/var/log/httpd/www.bicyclebell.org_access_log common
</VirtualHost>
Do make sure that your permissions are right -- that apache
has x authority in directories above docroot, and rx privs on the
docroot directory itself (and the files within).
Are you getting any errors in the error log or any error
codes in the Web browser when you try to look at the sites?
-Greg
At 5:51 PM -0800 3/11/02, ECEdelson@lbl.gov wrote:
>Dear All,
>
>If anyone has successfully configured virtual hosts in Apache on OS X
>server, I would be so grateful to see the httpd.conf.
>
>apachectl configtest is not complaining about my httpd.conf, but the
>sites don't come up. Well, sometimes the main site does, but not the
>virtual host.
>
>Also I wonder what else besides httpd.conf has to be configured.
>I started web service & set up virtual hosts in Server Admin, by adding
>Sites, but this doesn't affect httpd.conf, and when I check the box
>next to the virtual host, Server Admin happily unchecks it when I
>restart the web service.
>
>thx for your time.
>Eve
>
-----------------------------------------------------------------------
The following was automatically added to this message by the list server:
Webnet information is available at <URL:http://webnet.berkeley.edu/>.
This archive was generated by hypermail 2b29 : Tue Mar 12 2002 - 08:27:29 PST