How to figure out which directory is web server root?

Posted by matt on Super User See other posts from Super User or by matt
Published on 2010-05-06T23:14:03Z Indexed on 2010/05/06 23:18 UTC
Read the original article Hit count: 260

Filed under:
|
|
|
|

I want to view websites hosted on my Mac when running Windows VMware Fusion.

I have an entry in the Windows hosts file to enable the routing:

#ip of my mac   domain i use on the VM to access it
192.168.1.70    mymac

However, it resolves to an empty directory as a 404 is generated. I can see the access log on my Mac that everything is OK access wise. Firefox on VMware states the following response headers:

Server    Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1

Any ideas how I can figure out what directory is being served? I am lost in a maze of twisty httpd.conf passages.

localhost on my Mac resolves to my ~/Sites directory.
192.168.1.70 resolves to the same empty directory/404.

Thanks.

© Super User or respective owner

Related posts about apache

Related posts about httpd