Re: PagePrivacy & admin view woes

[email protected] (Dave Howorth) Wed, 25 Jan 2006 16:49:48 +0000
Newsgroups perl.kwiki
Organization MRC Centre for Protein Engineering
Message-ID <[email protected]>
I wrote:
> I'm trying to install the PagePrivacy plugin but haven't been able to 
> get it to work. I've looked on kwiki.org at the KwikiPagePrivacy page 
> and the AdminView page, and I've searched this list and found the Page 
> Privacy thread, but I've still got problems even getting an admin view 
> to work.

> I added a .htaccess file in the admin directory that says:
> 
>   Order allow,deny
>   Allow from localhost
>   AllowOverride All
>   Options FollowSymLinks ExecCGI
>   AddHandler cgi-script .cgi
>   DirectoryIndex index.cgi
> 
> Now from both remote and local browser windows I see a server error

Turns out this was due to Apache not liking the AllowOverride All. Not 
sure why it complains about symlinks instead of the file (it does the 
same if I add a syntax error). Anyway, admin mode works when my 
.htaccess file just contains:

  Order allow,deny
  Allow from localhost
  Options FollowSymLinks ExecCGI

Page privacy still isn't working. It shows up on the pages in admin view 
and creates page_privacy files when I make a page private but it isn't 
restricting access.

Cheers, Dave