|
List Info
Thread: Authentication
|
|
| Authentication |

|
2006-10-06 19:11:47 |
Hello again ;)
I just took myself some free time to work on my cherokee
install. What
I want to archieve is to password-protect a directory using
plain
authentication. Therefore I tried using the examples in the
wiki
adjusted to my needs in the domain configuration. However, I
don't seem
to be able to get a directory password protected.
This is what my configuration looks like:
Server domain123.de{
DocumentRoot /var/www/domain123
DirectoryIndex index.html,index.php
Directory / {
Handler common
}
Directory /sicher {
Handler common
Auth Basic, Digest {
Method plain {
PasswdFile
/var/www/secure/secure.pwd
}
}
}
Extension php, php4 {
Handler phpcgi
}
}
I have created the "secure"-directory, chowned it
to the respective
user and group, gave cherokee enough rights to read and
write to the
directory but whenever I have restarted cherokee and try to
access the
secured directory, the only message I get using Firefox is:
401 Authorization Required
This server could not verify that you are authorized to
access the
document requested. Either you supplied the wrong
credentials (e.g.,
bad password), or your browser doesn't understand how to
supply the
credentials required.
I didn't even have the possibility to supply my credentials.
I know
that I've missed something, but I simply can't figure out
what. Thus I
need your help
--
Lennart Droste
Erphostraße 34
48145 Münster
Ruf: 0170-5275076
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 22:29:06 |
Lennart Droste wrote:
> Server domain123.de{
> DocumentRoot /var/www/domain123
> DirectoryIndex index.html,index.php
> Directory / {
> Handler common
> }
> Directory /sicher {
> Handler common
> Auth Basic, Digest {
Try to use a "Name" (relam) entry here.
> Method plain {
> PasswdFile
/var/www/secure/secure.pwd
> }
> }
> }
> Extension php, php4 {
> Handler phpcgi
> }
> }
The rest seems to be alright. Good luck!
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 22:29:06 |
Lennart Droste wrote:
> Server domain123.de{
> DocumentRoot /var/www/domain123
> DirectoryIndex index.html,index.php
> Directory / {
> Handler common
> }
> Directory /sicher {
> Handler common
> Auth Basic, Digest {
Try to use a "Name" (relam) entry here.
> Method plain {
> PasswdFile
/var/www/secure/secure.pwd
> }
> }
> }
> Extension php, php4 {
> Handler phpcgi
> }
> }
The rest seems to be alright. Good luck!
--
Greetings, alo.
http://www.alobbs.com
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 23:33:08 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alvaro Lopez Ortega escribió:
> Lennart Droste wrote:
>
>> Server domain123.de{
>> DocumentRoot /var/www/domain123
>> DirectoryIndex index.html,index.php
>> Directory / {
>> Handler common
>> }
>> Directory /sicher {
>> Handler common
>> Auth Basic, Digest {
>
> Try to use a "Name" (relam) entry here.
Hi, I have exactly the same problem and I don't understand
your answer :(
Thanks!
>
>> Method plain {
>> PasswdFile
/var/www/secure/secure.pwd
>> }
>> }
>> }
>> Extension php, php4 {
>> Handler phpcgi
>> }
>> }
>
> The rest seems to be alright. Good luck!
>
- --
ghostbar linux/debian 'unstable' on i686 - Linux Counter#
382503
http://ghostbar.ath.cx/ -
irc.freenode.net #talug #velug #debian-es
http://debianvenezuela.
org.ve - irc.debian.org #debian-es #debian-ve
San Cristobal - Venezuela. TALUG -- http://linuxtachira.org
CHASLUG -- http://chaslug.org.ve -
irc.unplug.org.ve #chaslug
Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA
B118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFKDk0OKCtW8rKsRgRAnu4AJ9Q3tYihms3DB0FDqcB4K2ZNHLAiACg
yy+r
6xm7/c9KdR2x+zkUu0+TBgY=
=FK9s
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 23:33:08 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alvaro Lopez Ortega escribió:
> Lennart Droste wrote:
>
>> Server domain123.de{
>> DocumentRoot /var/www/domain123
>> DirectoryIndex index.html,index.php
>> Directory / {
>> Handler common
>> }
>> Directory /sicher {
>> Handler common
>> Auth Basic, Digest {
>
> Try to use a "Name" (relam) entry here.
Hi, I have exactly the same problem and I don't understand
your answer :(
Thanks!
>
>> Method plain {
>> PasswdFile
/var/www/secure/secure.pwd
>> }
>> }
>> }
>> Extension php, php4 {
>> Handler phpcgi
>> }
>> }
>
> The rest seems to be alright. Good luck!
>
- --
ghostbar linux/debian 'unstable' on i686 - Linux Counter#
382503
http://ghostbar.ath.cx/ -
irc.freenode.net #talug #velug #debian-es
http://debianvenezuela.
org.ve - irc.debian.org #debian-es #debian-ve
San Cristobal - Venezuela. TALUG -- http://linuxtachira.org
CHASLUG -- http://chaslug.org.ve -
irc.unplug.org.ve #chaslug
Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA
B118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFKDk0OKCtW8rKsRgRAnu4AJ9Q3tYihms3DB0FDqcB4K2ZNHLAiACg
yy+r
6xm7/c9KdR2x+zkUu0+TBgY=
=FK9s
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 23:50:18 |
Jose Luis Rivas Contreras wrote:
> Hi, I have exactly the same problem and I don't
understand your
> answer :(
You must provide a name for the protected resource adding
a "Name"
entry inside the "Auth" block.
============
Directory /stuff {
Handler common
Auth basic {
Name "My secret stuff"
Method plain {
PasswdFile /var/web.passwords
}
}
}
============
If you guys have been having this problem, I suppose that
we should
add a check for it in the configuration parser. I'll try
to get this
done for the next release.
--
Greetings, alo.
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-07 23:50:18 |
Jose Luis Rivas Contreras wrote:
> Hi, I have exactly the same problem and I don't
understand your
> answer :(
You must provide a name for the protected resource adding
a "Name"
entry inside the "Auth" block.
============
Directory /stuff {
Handler common
Auth basic {
Name "My secret stuff"
Method plain {
PasswdFile /var/web.passwords
}
}
}
============
If you guys have been having this problem, I suppose that
we should
add a check for it in the configuration parser. I'll try
to get this
done for the next release.
--
Greetings, alo.
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-08 00:01:16 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alvaro Lopez Ortega escribió:
> Jose Luis Rivas Contreras wrote:
>
>> Hi, I have exactly the same problem and I don't
understand your
>> answer :(
>
> You must provide a name for the protected resource
adding a "Name"
> entry inside the "Auth" block.
>
> ============
> Directory /stuff {
> Handler common
> Auth basic {
> Name "My secret stuff"
> Method plain {
> PasswdFile /var/web.passwords
> }
> }
> }
> ============
>
> If you guys have been having this problem, I suppose
that we should
> add a check for it in the configuration parser. I'll
try to get this
> done for the next release.
>
Yes, this is the problem, I solved with your solution, thank
you very
much!
- --
ghostbar linux/debian 'unstable' on i686 - Linux Counter#
382503
http://ghostbar.ath.cx/ -
irc.freenode.net #talug #velug #debian-es
http://debianvenezuela.
org.ve - irc.debian.org #debian-es #debian-ve
San Cristobal - Venezuela. TALUG -- http://linuxtachira.org
CHASLUG -- http://chaslug.org.ve -
irc.unplug.org.ve #chaslug
Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA
B118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFKD/MOKCtW8rKsRgRAtQdAJ4sfoUCr427Om6Ef7ahr0mcOlkqEQCe
PNUK
HY1+G98F9bixipbCcnB5PNw=
=0OpC
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
| Authentication |

|
2006-10-08 00:01:16 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alvaro Lopez Ortega escribió:
> Jose Luis Rivas Contreras wrote:
>
>> Hi, I have exactly the same problem and I don't
understand your
>> answer :(
>
> You must provide a name for the protected resource
adding a "Name"
> entry inside the "Auth" block.
>
> ============
> Directory /stuff {
> Handler common
> Auth basic {
> Name "My secret stuff"
> Method plain {
> PasswdFile /var/web.passwords
> }
> }
> }
> ============
>
> If you guys have been having this problem, I suppose
that we should
> add a check for it in the configuration parser. I'll
try to get this
> done for the next release.
>
Yes, this is the problem, I solved with your solution, thank
you very
much!
- --
ghostbar linux/debian 'unstable' on i686 - Linux Counter#
382503
http://ghostbar.ath.cx/ -
irc.freenode.net #talug #velug #debian-es
http://debianvenezuela.
org.ve - irc.debian.org #debian-es #debian-ve
San Cristobal - Venezuela. TALUG -- http://linuxtachira.org
CHASLUG -- http://chaslug.org.ve -
irc.unplug.org.ve #chaslug
Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA
B118
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFKD/MOKCtW8rKsRgRAtQdAJ4sfoUCr427Om6Ef7ahr0mcOlkqEQCe
PNUK
HY1+G98F9bixipbCcnB5PNw=
=0OpC
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee 0x50.org
http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
|
|
[1-9]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|