Re: .htaccess
On 2006-10-04, Chris <me@privacy.net> wrote:
> I created a folder in my webspace called /secure and uploaded a file called
> .htaccess and .htpasswd.
> Any idea what is wrong?
>
> htaccess
> /home/website1/secure/.htpasswd AuthGroupFile /dev/null AuthName "Security
> Area" AuthType Basic <Limit GET POST> require valid-user </Limit>
Did you cut out a part of the file or is in this conditions? if it is,
then the file is hopelessy trashed.
> htpasswd
> test:test
The password can't be in clear text. You must create the file using
the provided tool htpasswd, that must use the same libraries of the
server, otherwise it won't be able to read the password correctly.
Read the documentation about basic authentication.
Davide
--
The memory management in Windows 95 can be used to frighten small children.
|