Results 1 to 4 of 4

Thread: Change Apache dir from Sites

  1. #1
    Change 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

  2. #2

    muso's Avatar
    Member Since
    Jan 15, 2003
    Whangarei, New Zealand
    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.

  3. #3

    Member Since
    Mar 30, 2004
    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.

  4. #4
    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:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Keeping certain sites off of Top Sites
    By gizmo8899 in forum Switcher Hangout
    Replies: 8
    Last Post: 08-25-2010, 01:08 PM
  2. File Vault vs Apache + Sites Folder
    By davidsword in forum macOS - Operating System
    Replies: 12
    Last Post: 11-19-2009, 02:42 PM
  3. Replies: 3
    Last Post: 09-01-2008, 11:58 PM
  4. DIR-655 to APexpress faster than DIR-655 only?
    By Brandon in forum Internet, Networking, and Wireless
    Replies: 0
    Last Post: 10-07-2007, 05:53 PM
  5. Duplicate threads on different sites? & Information sites
    By PhrogDriver in forum Schweb's Lounge
    Replies: 2
    Last Post: 07-10-2006, 07:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts