ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   Option 1 (~/Sites folder) BADLY wrong???
Date:   2003-05-17 09:56:52
From:   anonymous2
The article says:
for ~/Sites/ --> http://127.0.0.1/


But that will serve the files in /Library/WebServer/Documents (the webserver's DocumentRoot), not those in ~/Sites/. For access to a user's Sites folder, you need:
http://127.0.0.1/~username/
with subdirectories and filenames appended to that base. Otherwise, on a multiuser machine how would apache know whose Sites to show?


If I am right (99% sure) please correct the article!!!


1 to 1 of 1
  1. Correction
    2003-05-17 11:07:58  icalshare [View]

    • Correction <-- comments on
      2003-05-17 14:10:20  anonymous2 [View]

      • Correction <-- comments on
        2005-02-24 15:17:54  CTth [View]

1 to 1 of 1