-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtual Hosts not working in 10.7 Lion #5
Comments
Okay, I've partially figured this out: Looks like some of the Apache configuration defaults were changed in Lion. However, even after sorting the virtual host configuration out, Safari 5.1/WebKit nightlies still can't resolve the the local hostnames created by Hostess/dscl. Firefox & Chrome don't have a problem. |
I don't have Lion at the moment, so I can't really comment, but once In the meantime, feel free to investigate.... On 6 July 2011 02:45, nathos
|
Did some additional testing last night & today. Safari can load the virtual host if you edit /etc/hosts to add the hostname. For some reason it's not resolving Directory Services hosts. |
A few days ago i almost banged my head against the wall.. I wasn't it working! Until i tried to open the virtual host in chrome... I can confirm this bug, it's still present in the GM. |
+1 Not with hostess, but using Ghost (similar application) |
Using Ghost... but same problem here. Safari 5.1 and I might have to breakup for a bit. |
This is almost certainly a bug in Lion; I've upgraded my own laptop now, so I'm in a position to investigate, but it looks like others are also seeing the issue with dscl - http://www.ehmac.ca/mac-masters/96070-dscl-local-default-hosts-resolution.html Given the issue only seems to be with Safari, I'm hesitant to invest a huge amount of time fixing it at the moment, but we'll see. |
Agree that this should be something we wait on Apple to fix. They On 29 July 2011 09:08, lazyatom
|
Using @nathos /etc/hosts solution worked for me. |
I'm testing Lion and can't seem to get Hostess virtual hosts to work.
Requests don't seem to be getting sent to the appropriate virtual hosts (e.g.: 'localhost' is loading one of the virtual hosts instead of the default "It Works!" page).
I'm guessing there may have been some change with the way directory services works in Lion, but don't have much more to go on.
Any feedback on running w/ Lion?
The text was updated successfully, but these errors were encountered: