Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamically Configuring Virtual Hosts



I'm trying to setup virtual hosting using the mod_vhost_alias according to the instructions in O'Rielly's Apache book

I've edited httpd.conf to load and add mod_vhost_alias.

Then I've modified it like so:

UseCanonicalName Off
VirtualDocumentRoot /Library/WebServer/Documents/$0

The book says that I should be able to say "http://test.domain.com/directory/index.html"; and it will deliver the file "/Library/WebServer/Documents/test.domain.com/directory/index.html". This isn't working on my machine.

Are there any gotcha's that I should be checking?

thanks
Malcolm

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.