<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I had a perfectly good pmwiki site running on my mac os x 10.4 laptop</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and then went and stupidly upgraded to 10.5 leopard, and can't get my</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">local wiki up. &nbsp; Half the problem was finding the right files to read</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and edit, which is why my problem outlined below is a little bit</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">verbose (perhaps someone will google a similar problem and find your</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">answer).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For a while I didn't have my website running on <a href="http://localhost/~myname/pmwiki">http://localhost/~myname/pmwiki</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">&nbsp; at all until I turned on my Web Sharing System Preferences.&nbsp; Now,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I've been getting a relentless 403 "Forbidden: You don't have</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">permission to access /~myname/pmwiki on this server".&nbsp; I finally found</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the error&nbsp; message in the /var/log/apache2/error_log file which</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">reads:&nbsp; "Client denied by server configuration: /Users/myname/Sites/</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">pmwiki/"</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I read up on the error, and someone suggested that I merely change</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">"Deny from all" to "Allow from all" the &lt;Directory&gt; block in the /etc/</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">apache2/httpd.conf file.&nbsp; After I stop/start apachectl, and check the</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">log, I get the "Directory index forbidden by Options directive: /Users/</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">myname/Sites/pmwiki/" and the same 403 error.&nbsp; Don't worry, I set</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the .conf file back again.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Shouldn't I be doing something else?&nbsp; Is there a Load Module that I</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">should use, or set my Document Root to /Users/myname/Sites/pmwiki or</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">something?</div></blockquote><div><font class="Apple-style-span" color="#0000DD"><br></font></div></div><div>Grace,</div><div><br></div><div>Did you uncomment the LoadModule php5_module line in /etc/apache2/httpd.conf?</div><div><br></div><div>If you are using ~myname, you do not have to change the DocumentRoot.</div><div><br></div><div>If you DO change the DocumentRoot, you need to also change the path in the &lt;Directory directive that has the original DocumentRoot (/Library/WebServer/Documents).</div><div><br></div><div>Note that the file /etc/apache2/users/myname.conf overrides any Directory options in the main httpd.conf file. &nbsp;These user files are included by the line "include /private/etc/apache2/extra/httpd-userdir.conf" which includes all of the user files.</div><div><br></div><div>You may also want to try accessing the index.html file in your Sites folder: <a href="http://localhost/~myname/index.html">http://localhost/~myname/index.html</a> to make sure the rest of your webserver is working cleanly.</div><div><br></div><div>Hope this helps,</div><div>Scott Connard.</div><div><br></div></body></html>