Results 1 to 9 of 9
  1. #1


    Member Since
    Oct 19, 2009
    Posts
    4
    can't locate my Webserver folder
    Hi All
    Working my way through publishing a website.

    Have a problem that one of you may be able to help me with.

    I have an iMac 24" 2.8 Ghz Core Duo 2 running Mac OS X 10.5.8. I am searching for the Apache webserver files that should be located at /Library/Webserver/... on my hard drive. They are not there. Finder cannot locate any of the folders or files for the webserver. Despite this, I can still run and see the site at 127.0.0.1.

    Anyone have any suggestions as to where these files might be located?

    krs

    Monsterdrive

  2. #2

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    28,898
    Specs:
    iMac 2010 27" QuadI7 OSX10.11, iMac 2008 OSX10.11, MBP Late2011OSX10.11 , iPad Air, iPhone 3GS
    I am running 10.5.8 and all my files for the sites I did in iWeb are in Users/Username/Sites.

    Replace Username with your account name. I hope that is what you are after.

  3. #3


    Member Since
    Oct 19, 2009
    Posts
    4
    Quote Originally Posted by dtravis7 View Post
    I am running 10.5.8 and all my files for the sites I did in iWeb are in Users/Username/Sites.

    Replace Username with your account name. I hope that is what you are after.
    Unfortunately it isn't. I'm after the files that are resources for the Apache Web server - included in the O/S. I've got the server up and running (by activating web sharing in SHARED preferences) and can access the default web server page at 127.0.0.1, but I cannot locate the resource files for the server. They should be in library/webserver... but I have no such sub folder in my /library folder.

  4. #4

    Unibody's Avatar
    Member Since
    May 31, 2009
    Location
    Vancouver, Canada
    Posts
    203
    Specs:
    15" Unibody (Jan 09)
    It's /Library/WebServer/Documents. Make sure "Web Sharing" is on in your system preferences.

  5. #5


    Member Since
    Oct 19, 2009
    Posts
    4
    Quote Originally Posted by Unibody View Post
    It's /Library/WebServer/Documents. Make sure "Web Sharing" is on in your system preferences.
    Web sharing is on. The website is live. I can view the site in Safari. But I cannot locate /Library/WebServer/Documents through the finder.

    Any ideas?

  6. #6

    deus_ex_machina's Avatar
    Member Since
    Aug 06, 2004
    Location
    Tejas
    Posts
    1,713
    Specs:
    2GHz Mac Mini 2GB RAM 160GB 10.6.2 | MDD DP 1.25GHz G4 1.5GB RAM 10.4.11 | 233MHz iMac G3 10.3.9
    Should be in HD/Library/WebServer/Documents, HD = your hard drive's name

  7. #7


    Member Since
    Oct 19, 2009
    Posts
    4
    Quote Originally Posted by deus_ex_machina View Post
    Should be in HD/Library/WebServer/Documents, HD = your hard drive's name
    Got it. Thanks deus_ex_machina

  8. #8


    Member Since
    Feb 26, 2009
    Posts
    20
    All that sounds messy to me... Why not just keep all sites in one folder:
    /Username/Sites

    Then edit your http-vhost and host files to all point in one location:

    Example http-vhost file (/private/etc/apache2/extra/httpd-vhosts.conf) entry:
    Code:
    #SomeSite.com
    <VirtualHost *:80>
        DocumentRoot "/Users/yourUserName/Sites/somesite"
        ServerName somesite.dev
    </VirtualHost>
    Example host file (/private/etc/hosts) entry:
    Code:
    127.0.0.1       somesite.dev
    16GB iPhone
    17" MacBook Pro 2.93, 320@7200, glossy
    http://www.bryanborst.com

  9. #9


    Member Since
    Feb 05, 2010
    Posts
    1
    B-Ryan I actually tried that, but I keep gettinga 403 forbidden page. Any clues on that?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Connecting to Webserver
    By phantom27 in forum Switcher Hangout
    Replies: 4
    Last Post: 08-16-2012, 10:00 PM
  2. Webserver password
    By hojkoff_101 in forum Web Design and Hosting
    Replies: 0
    Last Post: 03-05-2011, 06:54 AM
  3. How to reset Apache WebServer
    By porsche105 in forum Web Design and Hosting
    Replies: 2
    Last Post: 10-05-2009, 11:44 AM
  4. setting up webserver on os x 5
    By scottyk617 in forum Internet, Networking, and Wireless
    Replies: 1
    Last Post: 01-01-2009, 08:34 AM
  5. webserver & ftpserver
    By oo_mac_oo in forum OS X - Development and Darwin
    Replies: 11
    Last Post: 10-09-2003, 10:40 AM

Posting Permissions

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