[pmwiki-users] access control

Crisses crisses at kinhost.org
Tue Oct 10 05:39:34 CDT 2006


On Oct 10, 2006, at 3:23 AM, Jan Hegewald wrote:

> Hello pmwiki fellows,
> I´m new to wikis and webservers, so please be patient with me (-;
> If just installed pmwiki and it runs fine on my local apache
> webserver. As I want to use the wiki mainly to hold personal
> documentation of my daywork, I want to restrict public access.
> I have set a
> $DefaultPasswords['admin']
> $DefaultPasswords['write']
> $DefaultPasswords['read']
> in the config.php which seems to work: if I go to http://myip/
> ~mywebspace/pmwiki/pmwiki.php a password is needed to continue. But
> if I use the direct path to a file in wiki.d the full contents of the
> file are shown e.g. with http://myip/~mywebspace/pmwiki/wiki.d/ 
> Test.Test
>
> I guess this is a basic question but I couldn´t find anything about
> it in the docs. Do I have to limit access via the webserver to solve
> this?

Yes. :)

You need an .htaccess file if you're on a linux/apache server.  The  
contents of this file should be:
Order Deny,Allow
Deny from all

If you're on Windows/IIS I have no idea. :/


Crisses





More information about the pmwiki-users mailing list