[pmwiki-users] Wiki farm security

Patrick R. Michaud pmichaud at pobox.com
Wed Apr 20 09:27:11 CDT 2005


On Wed, Apr 20, 2005 at 02:54:25PM +0100, Hans wrote:
> I found a simpler solution to the one I just posted:
> No need to move the farm's pub/ directory.
> Just place an .htaccess file with
> 
>      Order Deny, Allow
>      Deny from All
> 
> into the farm's root directory,
> and put another .htaccess file with
> 
>     Allow from All
> 
> into the farm's pub/ directory.

Ah, excellent.  Somehow I thought that the .htaccess in the farm's root
directory would keep Apache from ever checking the .htaccess in the
farm's pub/ directory.  But I'm glad to hear this works.

Pm



More information about the pmwiki-users mailing list