In comp.os.linux.networking Jon C <(E-Mail Removed)>:
> I'm actually using FreeBSD but that really shouldn't matter.
> I'm trying to get subdomains to work. If I add this to my httpd.conf,
> I get "Forbidden. You don't have permission to access / on this
> server." for domain.com and blah.domain.com... *but* subdirectories
> all work. However, blah.domain.com subdirectories are still coming
> from the main apache directory, not /usr/home/blah/public_html
> <VirtualHost *>
> DocumentRoot "/usr/home/blah/public_html"
> ServerName blah.domain.com
> ErrorLog /usr/home/blah/apache_error.log
> CustomLog /usr/home/blah/apache_access.log common
> </VirtualHost>
> Thoughts? Please?
You probably need something like this in the <Directory ...>
directive(s) for your VirtualHost:
Order Allow,Deny
Allow from all
You seem to lack any <Directory ...> directive for your
VirtualHost completely, no wonder access is denied, if there's
nothing apache can deliver.
I'd suggest checking the apache docs and getting a good book if
you are serious about apache
Good luck
BTW
Remains unclear what this has to do with Linux/networking?
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo
(E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 81: Please excuse me, I have to circuit an AC
line through my head to get this database working.