Thanks, Hans.  Oddly, I had tried that before, and it didn't seem
to work, but maybe I had a configuration problem because it seems to
work now.  It does appear that I can access only the files within
/pub, and not even browse to those directories, which probably makes
the most sense.  I think I like this better than just preventing
access to pmwiki.php because as I said before I could still browse to
the pmwiki root directory and look around or run scripts, etc.<br>
<br>
I still wonder why I couldn't get it to work in /home/blah/pmwiki but
maybe it really was a server configuration that I couldn't change.<br>
<br>
Thanks again,<br>
<br>
Jon<br>
<br><div><span class="gmail_quote">On 6/3/05, <b class="gmail_sendername">Hans</b> &lt;<a href="mailto:design@flutesong.net">design@flutesong.net</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Jon, you may try this (from Cookbook.FarmSecurity):<br><br>If it is not possible to move the farminstallation out of
<br>the public server space and the server is running Apache<br>and .htacess can be used try this:<br>Create a .htacess file in the farm's installation directory<br>(where pmwiki.php resides) with this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Order Deny, Allow
<br>&nbsp;&nbsp;&nbsp;&nbsp; Deny from All<br><br>and create another .htaccess file in the farm's pub/ directory with this:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Allow from All<br><br>The first .htaccess file prevents public access to the farm installation,<br>including 
pmwiki.php and the scripts/ and cookbook/ directories.<br>The second .htaccess file allows browser access to the pub/ directory<br>and its subdirectories like css/, guiedit/ and skins/.<br><br><br><br>Best,<br>~Hans<br><br>

_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://pmichaud.com/mailman/listinfo/pmwiki-users">http://pmichaud.com/mailman/listinfo/pmwiki-users
</a><br></blockquote></div><br>
<a href="mailto:jhaupt@iastate.edu">
</a>