PagePrivacy & admin view woes

[email protected] (Dave Howorth) Wed, 25 Jan 2006 15:27:34 +0000
Newsgroups perl.kwiki
Organization MRC Centre for Protein Engineering
Message-ID <[email protected]>
Hello,

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 installed Kwiki::PagePrivacy and I did these steps:

   cd mykwiki
   kwiki -add Kwiki::PagePrivacy
   kwiki -new_view admin
   echo 'privacy_group: admin' > admin/config2.yaml

I found that I then had Kwiki::PagePrivacy in the base plugins file, 
which is wrong according to a comment in that file. So I removed it from 
there and added

   +Kwiki::PagePrivacy

to the plugins file in the admin subdirectory. Then I ran kwiki -update 
in both directories.

At this point I could see the admin view from any browser window. There 
are a bunch of "Symbolic link not allowed" warnings in the apache log 
but I think I understand what's happening so far. Now I want to secure 
the admin view so it can only be seen on the host machine so 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 and 
in the apache log:

   Symbolic link not allowed: /srv/www/kwiki/admin/javascript

Can anybody see what I'm doing wrong?

Oh, system details: Apache/2.0.53 (Linux/SUSE) SUSE 9.3

Thanks, Dave