I have a small persional web-site, when users visit
<!-- m --><a class="postlink" href="http://www.mysite.com/friend/hello.html">http://www.mysite.com/friend/hello.html</a><!-- m -->
actually the file is:
/public_html/friend/hello.html
I am really confused:
why does "http://www.mysite.com" equal to "/public_html"?
I guess it is caused by a file www (permission is lrwxrwxrwx) to direct "http://www.mysite.com" to "/public_html".
right?
do all hosts use symbolic link file "www" to direct "http://www.xxxx.yyy" to a special directory (such as "public_html")?
thx
<!-- m --><a class="postlink" href="http://www.mysite.com/friend/hello.html">http://www.mysite.com/friend/hello.html</a><!-- m -->
actually the file is:
/public_html/friend/hello.html
I am really confused:
why does "http://www.mysite.com" equal to "/public_html"?
I guess it is caused by a file www (permission is lrwxrwxrwx) to direct "http://www.mysite.com" to "/public_html".
right?
do all hosts use symbolic link file "www" to direct "http://www.xxxx.yyy" to a special directory (such as "public_html")?
thx