Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mayuresh
On Sat, Jun 01, 2019 at 08:53:56AM +0200, Martin Husemann wrote: > I am using a .bzremap file to map the externally visible url to that > /some/internal/dir/my-cgi.pl url. In this case the -c option should point to externally visible url or /some/internal/dir? And is cgi-bin directory required und

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mark Carroll
On 01 Jun 2019, mayur...@acm.org wrote: > On Sat, Jun 01, 2019 at 08:33:42AM +0100, Mark Carroll wrote: >> I'm running lighttpd on NetBSD, also hosting DokuWiki. Seems great so >> far, > > Thanks for sharing first hand experience. My requirement is also like > yours - simple hardware, not too many

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Martin Husemann
On Sat, Jun 01, 2019 at 01:11:53PM +0530, Mayuresh wrote: > On Sat, Jun 01, 2019 at 09:35:34AM +0200, Martin Husemann wrote: > > It is in 8.1 but not in 8.0. > > Ok, I'll try out the pkg version which shows 20181215 (8 shows 20170201). > Hope I'll get the feature. You should update to 8.1 ;-) Ma

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mayuresh
On Sat, Jun 01, 2019 at 09:35:34AM +0200, Martin Husemann wrote: > It is in 8.1 but not in 8.0. Ok, I'll try out the pkg version which shows 20181215 (8 shows 20170201). Hope I'll get the feature. Mayuresh

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mayuresh
On Sat, Jun 01, 2019 at 08:33:42AM +0100, Mark Carroll wrote: > I'm running lighttpd on NetBSD, also hosting DokuWiki. Seems great so > far, Thanks for sharing first hand experience. My requirement is also like yours - simple hardware, not too many concurrent users (may be in single digit max). W

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Martin Husemann
On Sat, Jun 01, 2019 at 01:04:00PM +0530, Mayuresh wrote: > In the man page there are .bzdirect, .bzredirect, .bzabsredirect > (added by you!). Didn't notice .bzremap. Is it something newer or > undocumented or just an alias to one of these? The version I am using is > of 8.0 base. It is in 8.1 b

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mayuresh
On Sat, Jun 01, 2019 at 08:53:56AM +0200, Martin Husemann wrote: > It does, but not for /cgi-bin/ ones. Thanks. It may solve the problem I am facing quite amicably. > I run a service that I implemented in a perl cgi script and that is .htpasswd > protected. The .pl file just lives in the same dir

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mark Carroll
On 01 Jun 2019, mayur...@acm.org wrote: > Any takers for lighttpd, it it light as its name suggests? Of course, > whether .htpasswd applies recursively or not is to be checked. I'm running lighttpd on NetBSD, also hosting DokuWiki. Seems great so far, also appears still actively developed. Config

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Mayuresh
On Sat, Jun 01, 2019 at 07:12:29AM +, Christopher Pinon wrote: > > > apache? ;-) > > > You did notice the smiley, right? :-) Ah, I did miss! > Just wondering: did you take a glance at thttpd? (Given that you're keen > on minimalistic.) Sounds good from its description, but the bad news is,

Re: bozohttpd .htpasswd basic auth being non recursive

2019-06-01 Thread Christopher Pinon
Mayuresh wrote: > On Fri, May 31, 2019 at 07:52:25PM +, Christopher Pinon wrote: > > > I meant, if we can't solve this in bozohttpd, please suggest some other > > > httpd which is nearest match to its minimalistic approach. > > > > apache? ;-) > > Well... minimalistic? You did notice the s

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Martin Husemann
On Sat, Jun 01, 2019 at 12:09:34PM +0530, Mayuresh wrote: > On Sat, Jun 01, 2019 at 08:59:45AM +0530, Mayuresh wrote: > > I wish bozohttpd supported .htpasswd for cgi scripts! > > I just checked, that it doesn't. It does, but not for /cgi-bin/ ones. I run a service that I implemented in a perl

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Mayuresh
On Sat, Jun 01, 2019 at 08:59:45AM +0530, Mayuresh wrote: I wish bozohttpd supported .htpasswd for cgi scripts! I just checked, that it doesn't. I could have wrapped static contents under a cgi script to meet the auth requirement for all contents with one .htpasswd file. Mayuresh

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Matt Sporleder
> On May 31, 2019, at 10:01 PM, Mayuresh wrote: > > On Fri, May 31, 2019 at 07:52:25PM +, Christopher Pinon wrote: >>> I meant, if we can't solve this in bozohttpd, please suggest some other >>> httpd which is nearest match to its minimalistic approach. >> >> apache? ;-) > > Well... minim

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Mayuresh
On Fri, May 31, 2019 at 10:45:08PM -0400, Matt Sporleder wrote: >Apache runs in well under 1MB and does all of this stuff and more. >I wrote the original version of this if the default config freaks you out >https://cwiki.apache.org/confluence/display/HTTPD/Minimal+Config >Don’t use

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Mayuresh
On Fri, May 31, 2019 at 07:52:25PM +, Christopher Pinon wrote: > > I meant, if we can't solve this in bozohttpd, please suggest some other > > httpd which is nearest match to its minimalistic approach. > > apache? ;-) Well... minimalistic? Any takers for lighttpd, it it light as its name sug

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Christopher Pinon
Mayuresh wrote: > On Fri, May 31, 2019 at 11:18:40PM +0530, Mayuresh wrote: > > Has anyone come across this situation and how do you deal with it. I like > > bozohttpd's minimalistic approach and would switch away from it only as a > > last resort. > > I meant, if we can't solve this in bozohttp

Re: bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Mayuresh
On Fri, May 31, 2019 at 11:18:40PM +0530, Mayuresh wrote: > Has anyone come across this situation and how do you deal with it. I like > bozohttpd's minimalistic approach and would switch away from it only as a > last resort. I meant, if we can't solve this in bozohttpd, please suggest some other h

bozohttpd .htpasswd basic auth being non recursive

2019-05-31 Thread Mayuresh
man httpd makes it clear that the .htpasswd authentication does not apply to subdirectories. .htpasswd exists in the directory of the current request, bozohttpd will restrict access to documents in that directory using the RFC 2617 HTTP “Basic” authentication scheme. Note: Thi