How to figure out which directory is web server root?
- by matt
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.