You are not logged in.

#1 2008-04-24 08:29:24

metalfan
Member
Registered: 2007-11-22
Posts: 99

[SOLVED]apache, passwd by directory

Hi,

im trying to setup a basic password protection on my dokuwiki:

<Directory "/dokuwiki/">
         AuthType Basic
        AuthName "Restricted Files"
        # (Following line optional)
        AuthBasicProvider file
        AuthUserFile /etc/httpd/conf/passwd
        Require user someuser
</Directory>

but i can still access the directory after a server restart?


The passwd file was created according to:
http://httpd.apache.org/docs/2.2/howto/auth.html

Julius

Last edited by metalfan (2008-11-22 10:40:11)

Offline

#2 2008-11-22 10:39:57

metalfan
Member
Registered: 2007-11-22
Posts: 99

Re: [SOLVED]apache, passwd by directory

this was probably missing, anyway. the httpd howto is correct.
AuthBasicProvider file

Offline

Board footer

Powered by FluxBB