2 Jul 2006 10:24
Re: Authentication and SSL
Alvaro Lopez Ortega <alvaro <at> gnu.org>
2006-07-02 08:24:54 GMT
2006-07-02 08:24:54 GMT
Jose Parrella wrote:
> My configuration file was:
Try to give a name to the resource that you are trying to protect.
> <snip>
> Server mydomain.com {
> DocumentRoot /home/jose/public_html/wtf
>
> Directory / {
> Handler common
> Auth Basic {
Name "Whatever you want"
> Method htpasswd {
> PasswdFile /home/jose/mykeys
> }
> }
> }
>
> Extension php {
> Handler phpcgi
> }
>
> DirectoryIndex index.html, index.php
> }
> </snip>
By the way, it would be much faster if you use the FastCGI php
interpreter rather than the CGI one.
(Continue reading)
RSS Feed