<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Start an Apache Web Server in Mac OS X Mountain Lion</title>
	<atom:link href="http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/</link>
	<description>News, tips, software, reviews, and more for Mac OS X, iPhone, iPad</description>
	<lastBuildDate>Sun, 19 May 2013 18:30:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: William</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-537017</link>
		<dc:creator>William</dc:creator>
		<pubDate>Wed, 03 Apr 2013 18:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-537017</guid>
		<description>This worked perfectly except that i needed to make the &quot;Sites&quot; folder. I just wondered if it is possible to show the index.html file without entering a user?</description>
		<content:encoded><![CDATA[<p>This worked perfectly except that i needed to make the &#8220;Sites&#8221; folder. I just wondered if it is possible to show the index.html file without entering a user?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-523901</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 17 Mar 2013 19:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-523901</guid>
		<description>I was able to confirm that Apache still works in OS X 10.8.3, make sure you have everything configured properly and use sudo to launch apache:

sudo apachectl start

If you&#039;re encountering permissions errors, you can also try to point apache at a different directory with the -d flag:

sudo apachectl start -d /Path/To/Directory/</description>
		<content:encoded><![CDATA[<p>I was able to confirm that Apache still works in OS X 10.8.3, make sure you have everything configured properly and use sudo to launch apache:</p>
<p>sudo apachectl start</p>
<p>If you&#8217;re encountering permissions errors, you can also try to point apache at a different directory with the -d flag:</p>
<p>sudo apachectl start -d /Path/To/Directory/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pod</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-523655</link>
		<dc:creator>Pod</dc:creator>
		<pubDate>Sun, 17 Mar 2013 14:50:44 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-523655</guid>
		<description>Well looks like 10.83 broke Apache again.  I normally do everything in this webpage with each update and now I get a &quot;Forbidden: You don&#039;t have permission to access / on this server&quot;.  The nearest I can figure is that the 10.83 update has munged permissions somewhere.  Apple really needs to get on the ball with this - apache on OS X used to be the most painless thing I can imagine and now it&#039;s some of the most painful.  Ideas?</description>
		<content:encoded><![CDATA[<p>Well looks like 10.83 broke Apache again.  I normally do everything in this webpage with each update and now I get a &#8220;Forbidden: You don&#8217;t have permission to access / on this server&#8221;.  The nearest I can figure is that the 10.83 update has munged permissions somewhere.  Apple really needs to get on the ball with this &#8211; apache on OS X used to be the most painless thing I can imagine and now it&#8217;s some of the most painful.  Ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-516767</link>
		<dc:creator>tim</dc:creator>
		<pubDate>Thu, 14 Mar 2013 00:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-516767</guid>
		<description>and what about http sharing not only localhosting ??</description>
		<content:encoded><![CDATA[<p>and what about http sharing not only localhosting ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bagdasarian</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-511313</link>
		<dc:creator>David Bagdasarian</dc:creator>
		<pubDate>Thu, 07 Mar 2013 23:07:47 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-511313</guid>
		<description>Hi Guys,

For everyone that&#039;s having trouble with accessing localhost/~user, make sure that you have a folder called Sites under your user directory.  I had to create one and drop in an index.html file for it to show up.  

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi Guys,</p>
<p>For everyone that&#8217;s having trouble with accessing localhost/~user, make sure that you have a folder called Sites under your user directory.  I had to create one and drop in an index.html file for it to show up.  </p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Berik Visschers</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-490571</link>
		<dc:creator>Berik Visschers</dc:creator>
		<pubDate>Thu, 07 Feb 2013 13:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-490571</guid>
		<description>As most of the mac computers are used by only one user, the per-user configuration is a bit overkill. I would suggest using these changes in the http.conf file:

Switch off the userdir_module, by inserting a # in front of this line:
#LoadModule userdir_module libexec/apache2/mod_userdir.so

Set the documentRoot to the Sitesin your home directory:
DocumentRoot &quot;/Users//Sites/&quot;

Give permission to acces your Sites directory
#
# This should be changed to whatever you set DocumentRoot to.
#
&lt;Directory &quot;/Users//Sites/&quot;&gt;

Everything in ~/Sites will be accessible from http://localhost and http://.

Cheers!</description>
		<content:encoded><![CDATA[<p>As most of the mac computers are used by only one user, the per-user configuration is a bit overkill. I would suggest using these changes in the http.conf file:</p>
<p>Switch off the userdir_module, by inserting a # in front of this line:<br />
#LoadModule userdir_module libexec/apache2/mod_userdir.so</p>
<p>Set the documentRoot to the Sitesin your home directory:<br />
DocumentRoot &#8220;/Users//Sites/&#8221;</p>
<p>Give permission to acces your Sites directory<br />
#<br />
# This should be changed to whatever you set DocumentRoot to.<br />
#<br />
&lt;Directory &quot;/Users//Sites/&#8221;&gt;</p>
<p>Everything in ~/Sites will be accessible from <a href="http://localhost" rel="nofollow">http://localhost</a> and <a href="http://" rel="nofollow">http://</a>.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torben Brams</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-469697</link>
		<dc:creator>Torben Brams</dc:creator>
		<pubDate>Thu, 27 Dec 2012 15:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-469697</guid>
		<description>For what it is worth, I was struggling with this for a while and found a nice way to debug and fix my problem.

From the terminal, run &quot;httpd -t&quot; to get a syntax check of the config files (I guess a lot of people before me has been typing wrong). I got this message, that was very easy to understand and fix:

tbrams$ httpd -t
httpd: Syntax error on line 471 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 3 of /private/etc/apache2/users/tbrams.conf: &lt;/Directory without matching &lt;Directory section...

And then, my Site directory was working as expected.</description>
		<content:encoded><![CDATA[<p>For what it is worth, I was struggling with this for a while and found a nice way to debug and fix my problem.</p>
<p>From the terminal, run &#8220;httpd -t&#8221; to get a syntax check of the config files (I guess a lot of people before me has been typing wrong). I got this message, that was very easy to understand and fix:</p>
<p>tbrams$ httpd -t<br />
httpd: Syntax error on line 471 of /private/etc/apache2/httpd.conf: Syntax error on line 15 of /private/etc/apache2/extra/httpd-userdir.conf: Syntax error on line 3 of /private/etc/apache2/users/tbrams.conf: &lt;/Directory without matching &lt;Directory section&#8230;</p>
<p>And then, my Site directory was working as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-463059</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 11 Dec 2012 22:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-463059</guid>
		<description>You may have to restart apache. Type sudo apachectl stop then sudo apachectl start. Also, be sure you have a Sites folder in your home directory.</description>
		<content:encoded><![CDATA[<p>You may have to restart apache. Type sudo apachectl stop then sudo apachectl start. Also, be sure you have a Sites folder in your home directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-458198</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 29 Nov 2012 02:51:47 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-458198</guid>
		<description>I&#039;ve done all this stated above but I still get a 404 error page not found when I go to localhost/~paul
localhost gives me the welcome to server page.
I&#039;m running it on a server mac mini.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve done all this stated above but I still get a 404 error page not found when I go to localhost/~paul<br />
localhost gives me the welcome to server page.<br />
I&#8217;m running it on a server mac mini.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: T. Stile</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-449688</link>
		<dc:creator>T. Stile</dc:creator>
		<pubDate>Tue, 13 Nov 2012 17:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-449688</guid>
		<description>Yes it does work, follow the instructions. I just did it.</description>
		<content:encoded><![CDATA[<p>Yes it does work, follow the instructions. I just did it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Valean Baily</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-449677</link>
		<dc:creator>John Valean Baily</dc:creator>
		<pubDate>Tue, 13 Nov 2012 16:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-449677</guid>
		<description>Doesn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-449304</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 12 Nov 2012 06:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-449304</guid>
		<description>sudo nano /etc/apache2/users/USERNAME.conf

Needs to run as super user</description>
		<content:encoded><![CDATA[<p>sudo nano /etc/apache2/users/USERNAME.conf</p>
<p>Needs to run as super user</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-447501</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 07 Nov 2012 11:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-447501</guid>
		<description>terminal doesn&#039;t ask for a password when I open the nano editor and I also get: Error writing /etc/apache2/users/davidleslie.conf: Permission denied ]

I have tried to locate the file using finder but i cant even find the directory... any help?</description>
		<content:encoded><![CDATA[<p>terminal doesn&#8217;t ask for a password when I open the nano editor and I also get: Error writing /etc/apache2/users/davidleslie.conf: Permission denied ]</p>
<p>I have tried to locate the file using finder but i cant even find the directory&#8230; any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ReasonOverFaith</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-442835</link>
		<dc:creator>ReasonOverFaith</dc:creator>
		<pubDate>Sat, 27 Oct 2012 05:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-442835</guid>
		<description>Yeah got that too, instead I just used vi and saved, but you can also use a normal text editor and copy the file using Finder too</description>
		<content:encoded><![CDATA[<p>Yeah got that too, instead I just used vi and saved, but you can also use a normal text editor and copy the file using Finder too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mottel</title>
		<link>http://osxdaily.com/2012/09/02/start-apache-web-server-mac-os-x/#comment-442197</link>
		<dc:creator>Mottel</dc:creator>
		<pubDate>Thu, 25 Oct 2012 23:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://osxdaily.com/?p=32954#comment-442197</guid>
		<description>I keep getting stuck at the 
nano /etc/apache2/users/Mottel.conf  
Terminal doesn&#039;t ask for my password but when I go to save the changes it says 
[ Error writing /etc/apache2/users/Mottel.conf: Permission denied ]</description>
		<content:encoded><![CDATA[<p>I keep getting stuck at the<br />
nano /etc/apache2/users/Mottel.conf<br />
Terminal doesn&#8217;t ask for my password but when I go to save the changes it says<br />
[ Error writing /etc/apache2/users/Mottel.conf: Permission denied ]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/3 queries in 0.004 seconds using disk: basic
Object Caching 343/344 objects using disk: basic
Content Delivery Network via cdn.osxdaily.com

Served from: osxdaily.com @ 2013-05-19 11:42:12 -->