Someone I know is telling me that Apache will automatically appends a forward slash on to the end of either my domain name or Local Host.

But what confuses me is that in my Virtual Host file on my macBook, I have this for the Local Host...


My Macintosh HD: private: etc: hosts as follows..
Code:
127.0.0.1 local.one
127.0.0.1 local.debbie

And my Applications: MAMP: conf: apache: httpd.conf as follows...
Code:
# Uncommented the line below on 2011-08-13
NameVirtualHost *

# Added on 2011-08-13
<VirtualHost *:80>
# DocumentRoot /Applications/MAMP/htdocs
DocumentRoot "/Users/user1/Documents/DEV/++htdocs"
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "/Users/user1/Documents/DEV/++htdocs/00_AAA"
ServerName local.one
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "/Users/user1/Documents/DEV/++htdocs/06_Debbie"
ServerName local.debbie
</VirtualHost>

In essence, what I hear this person saying is that I should have something like this instead...

127.0.0.1 local.one/
127.0.0.1 local.debbie/

What I do know is this...

I normally expect a domain to look like this...

www.MySite.com


...and even the Local Host in my browser during testing should probably be...

local.debbie

...since that is really my "Home Page" locally - and not some empty directory, which is how I would read as local.debbie/


Comments?

Thanks,


Debbie