Web Sharing Not Working

bronzino

Registered
I've searched this topic here, and I don't seem to be having the same issues as in previous threads. I have Mac OS X 10.6.2, and I am brand new to Macs. I followed the instructions here to set up web sharing:

http://www.macinstruct.com/node/112

It is not working. I did a test of the Apache configuration file and it is fine. The only thing I thought might be unusual is that I cannot start the Apache Server from MAMP if Web Sharing is turned on. Console yields these errors when I try:

8/22/10 9:43:54 PM [0x0-0x24024].de.appsolute.MAMP[920] 100822 21:43:54 mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error_log.err'.

8/22/10 9:43:54 PM [0x0-0x24024].de.appsolute.MAMP[920] chown: /Applications/MAMP/logs/mysql_error_log.err: Operation not permitted

8/22/10 9:43:54 PM [0x0-0x24024].de.appsolute.MAMP[920] 100822 21:43:54 mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql

8/22/10 9:44:01 PM [0x0-0x24024].de.appsolute.MAMP[920]
(48)Address already in use: make_sock: could not bind to address [::]:80

8/22/10 9:44:01 PM [0x0-0x24024].de.appsolute.MAMP[920] no listening sockets available, shutting down
Maybe I'm not supposed to be able to start the Apache server when it's in use for Web sharing. But I thought I should mention.

Any ideas? I would really like to use this nifty feature.
 
You did post stuff in /Users/YourUserName/Sites/ folder? You did get either a static IP or a DynDNS client?

Plus what is wrong with using either (for file sharing) DropBox, CloudApp for file sharing or the internet?

Latstly what's wrong with using Service for web sites called SquareSpace (use the code tekz for 10% off for life)?
 
Yes, I have material in that folder as well as the DynDNS client.

Nothing wrong with any of the services you mentioned (in fact all of them look pretty slick!), except that they all require additional steps to publish. If I can't begin broadcasting at the point of creation, and need to perform extra steps anyway, I might as well upload files to my webhost, I figure?
 
Solution
To resolve this issue, edit the user account's Web Sharing configuration file to point at the correct location of your Home. In the following instructions, replace "myname" with your username (this is the same name as your user's Home folder in the Users folder.)

In the Finder, from the Go menu choose Go to Folder.
Type: /etc/apache2/users/
Click Go.
Drag "myname.conf" to the desktop. If you do not see myname.conf, follow steps 1 through 6 in this article to create that file on the desktop.
Double-click the desktop copy of "myname.conf".
Replace the string "/Users/myname/Sites/" with the correct path to your home directory.
Save the file.
Follow the steps from 8 through to 20 in this article.
You should now be able to access your website content as expected.

_________________________________________________
 
chrisadam, thank you for your response. Can you please post the link to the article you are referencing? Your post makes reference to "Follow[ing] the steps 8 through to 20 in this article," and I would like access to those as well. Thanks again.
 
Back
Top