Thread: Change Apache dir from Sites
02-23-2005, 07:24 PM #1npartistGuestChange Apache dir from Sites
I have my iMac and I have been trying to get ftp and whatnot sharing with other computers including PC's. Well it is not up to par and I am wonder how do I change the directory that the apache web server looks for the files (ie. right now it looks in the /Users/yourname/Sites). Ideally I want to have two directories, /Users/yourname/ and /Volumes/Maxtor (an external HD). I don't care about a website, the ugly directory thing is find, I just want to have access to my files. Also would it be possible to have read/write access. Thanks
02-24-2005, 05:50 PM #2
The default folder the webserver looks in is actually /Library/WebServer/Documents/ - so if you type in http://localhost/ it will display whatever is in there. If you're looking to share files, using apache is probably not the best way to do it. Is normal file sharing not working? If you want to specify folders to share, sharepoints will take care of that for you.I'm in your forums, writing sentences in a grammatically acceptable manner.
02-25-2005, 01:35 AM #3
- Member Since
- Mar 30, 2004
- 12" Apple PowerBook G4 (1.5GHz)
If you're really set on messing with this, you'll have to edit the httpd.conf file. It can be found in /etc/httpd/
Sharing an entire user folder like that is extremely risky, though. Anyone who can see your machine would be able to read everything.
I'd strongly suggest you use either FTP, or smb/sharepoints as muso suggested. Enabling remote login (ssh) might be useful, too.
02-25-2005, 02:13 AM #4npartistGuest
i found out what was wrong with my network sharing. I was successfully using sharepoints earlier but then it messed up for some reason (happened when I moved my computeer) and even after deleting all sharepoints files (that weren't hidden...) and reinstalled sharepoints it still wouldn't work. I read up on sharepoints web site and found the files that need to be deleted, they include the smb.conf file in /etc/ and the netinfo sharepoints file. I did that and now it works :cool:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By gizmo8899 in forum Switcher HangoutReplies: 8Last Post: 08-25-2010, 02:08 PM
By davidsword in forum OS X - Operating SystemReplies: 12Last Post: 11-19-2009, 02:42 PM
By MacBookMe! in forum Web Design and HostingReplies: 3Last Post: 09-02-2008, 12:58 AM
By Brandon in forum Internet, Networking, and WirelessReplies: 0Last Post: 10-07-2007, 06:53 PM
By PhrogDriver in forum Schweb's LoungeReplies: 2Last Post: 07-10-2006, 08:02 PM