Re: [gentoo-user] Simple HTTP servers question.

2005-08-05 Thread Steve [Gentoo]

Oscar Carlsson wrote:


I think lighttpd might be something like what you're looking for.
It's pretty lightweight, fast enough and php/ruby/perl works with it (through 
fastCGI).


http://www.lighttpd.net/

And of course it's in portage :)

Oscar
 

I've installed lighttpd - and while mostly impressed I'm finding 
problems with authentication support.  I've set up two websites 
extranet.mydomain.com and intranet.mydomain.com - the idea being 
that extranet contains public information for which no 
password/username is required - whereas intranet requires a username and 
password (in future this page might be personalised.)


I've read authentication.txt and I'm still baffled... Here's the 
relevant bits from my configuration in lighttpd.conf


--
server.modules  = (
   mod_access,
   mod_auth,
   mod_simple_vhost,)
--
...
--
auth.backend= plain
auth.backend.plain.userfile = lighttpd.user
auth.require =  ( intranet.mydomain.com/ =
   ( method = digest,
 realm = Intranet,
 require = user=fred )
   )
--

I placed lighttpd.user in /etc and it contains the single line fred:foo

With this configuration, neither site asks for a password.  If I replace 
intranet.mydomain.com/ with / both sites ask for a password... but 
neither will accept fred password foo.  Then, if I change digest 
to plain then I don't get asked for a password for either site but get 
Access denied immediately.


Have I discovered bugs - or is this a confiiguration problem?





--
gentoo-user@gentoo.org mailing list



[gentoo-user] Simple HTTP servers question.

2005-08-04 Thread Steve [Gentoo]
Having recently had hassle with dependencies for Apache2 for my 
configuration, I had a sudden thought that I don't really need most of 
the Apache features... and there are many http servers available in portage.


I can classify my priorities as essential and desirable:

Essential :
   * Must be secure against remote attacks.
   * Must support username-and-password based authentication.

Desirable :
   * Support to host multiple domains on a single public IP address 
(NAT'd to a single static IP address for my server)
   * As lightweight as possible (traffic volume would be minuscule - 
server would be heavily loaded and low capacity.)


Can anyone make suggestions as to good packages to investigate?

Steve

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Simple HTTP servers question.

2005-08-04 Thread Christoph Gysin

Steve [Gentoo] wrote:

Essential :
   * Must be secure against remote attacks.
   * Must support username-and-password based authentication.

Desirable :
   * Support to host multiple domains on a single public IP address 
(NAT'd to a single static IP address for my server)
   * As lightweight as possible (traffic volume would be minuscule - 
server would be heavily loaded and low capacity.)


Can anyone make suggestions as to good packages to investigate?


mini_httpd
http://www.acme.com/software/mini_httpd/

Supports ssl, basic authentication and multihoming / virtual hosting.

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list