I put mine in "/Library/WebServer/Documents", because then you can access your web pages by going to "localhost/example.php" or "10.0.1.1/example.php" (your network IP address would be different than 10.0.1.1).
If you use "/Users/[YourName]/Sites/", you would have to go to "localhost/~YourName/" in order to view your web pages.
THANKYOU!!! I've been trying to google "location" & "It works!" in different combinations but I was getting no results. I stumbled on your video and it contains the answer for like.. 7 different questions I had.
self indulgent crap
MahMohm 2 weeks ago
how do i turn it off?
RAID13245 4 months ago
Thank you for telling me to restart web sharing, I didn't know what was wrong.
UrbanGt 10 months ago
how do you put your web pages in your /library/webserver/documents/ directory?
aricjiang420 11 months ago
@aricjiang420 You can usually just browse from your hard drive to the folder and drag and drop files in, or just save them from your text editor.
WilfulAtrophy 11 months ago
@WilfulAtrophy cool! thanks a lot, your help is much appreciated!
aricjiang420 10 months ago
help me please i wan't start web sharing but idk how i start server but how change content of page ?? where i need upload my site
OXOTHUK101 1 year ago
@OXOTHUK101
You can put your web pages in two locations:
/Users/[YourName]/Sites/
OR
/Library/WebServer/Documents/
I put mine in "/Library/WebServer/Documents", because then you can access your web pages by going to "localhost/example.php" or "10.0.1.1/example.php" (your network IP address would be different than 10.0.1.1).
If you use "/Users/[YourName]/Sites/", you would have to go to "localhost/~YourName/" in order to view your web pages.
Make sense?
WilfulAtrophy 1 year ago
@WilfulAtrophy yep thx
OXOTHUK101 1 year ago
@WilfulAtrophy
THANKYOU!!! I've been trying to google "location" & "It works!" in different combinations but I was getting no results. I stumbled on your video and it contains the answer for like.. 7 different questions I had.
rottenapple02 1 year ago
@rottenapple02 Glad I could help!
WilfulAtrophy 11 months ago