New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

can't locate my Webserver folder


Post Reply New Thread Subscribe

 
Thread Tools
monsterdrive

 
Member Since: Oct 19, 2009
Posts: 4
monsterdrive is on a distinguished road

monsterdrive is offline
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
QUOTE Thanks
dtravis7

 
dtravis7's Avatar
 
Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 27,754
dtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond repute
Mac Specs: iMac 2.4 C2D 10.10, iMac 2.16 C2d 10.6.8, Macbook2007 10.8.4, Mac Mini 10.8.4, iPhone 3GS Note 8!!

dtravis7 is offline
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.
QUOTE Thanks
monsterdrive

 
Member Since: Oct 19, 2009
Posts: 4
monsterdrive is on a distinguished road

monsterdrive is offline
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.
QUOTE Thanks
Unibody

 
Unibody's Avatar
 
Member Since: May 31, 2009
Location: Vancouver, Canada
Posts: 203
Unibody will become famous soon enough
Mac Specs: 15" Unibody (Jan 09)

Unibody is offline
It's /Library/WebServer/Documents. Make sure "Web Sharing" is on in your system preferences.
QUOTE Thanks
monsterdrive

 
Member Since: Oct 19, 2009
Posts: 4
monsterdrive is on a distinguished road

monsterdrive is offline
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?
QUOTE Thanks
deus_ex_machina

 
deus_ex_machina's Avatar
 
Member Since: Aug 06, 2004
Location: Tejas
Posts: 1,720
deus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nicedeus_ex_machina is just really nice
Mac 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

deus_ex_machina is offline
Should be in HD/Library/WebServer/Documents, HD = your hard drive's name
QUOTE Thanks
monsterdrive

 
Member Since: Oct 19, 2009
Posts: 4
monsterdrive is on a distinguished road

monsterdrive is offline
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
QUOTE Thanks
B-Ryan

 
Member Since: Feb 26, 2009
Posts: 20
B-Ryan is on a distinguished road

B-Ryan is offline
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
QUOTE Thanks
elfuser

 
Member Since: Feb 05, 2010
Posts: 1
elfuser is on a distinguished road

elfuser is offline
B-Ryan I actually tried that, but I keep gettinga 403 forbidden page. Any clues on that?
QUOTE Thanks

Post Reply New Thread Subscribe


« iWeb '09 question..hosting on local server? | PHP Editor for Multiple Developers? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
"Keep Music Folder Organized" deleted all my music on my external NTFS Hard Drive! thenice_guy55 OS X - Apps and Games 5 01-18-2009 05:21 PM
need help with folder actions re-volt OS X - Apps and Games 0 03-15-2008 08:32 AM
Changed Home Folder by mistake!! Hunter OS X - Operating System 2 05-08-2007 07:33 AM
Internet help ( quick) watzup Switcher Hangout 8 09-22-2006 09:07 AM
Copying one folder over another of the same name destroys data! Cloudane Switcher Hangout 28 05-18-2005 07:10 PM

All times are GMT -4. The time now is 05:53 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?