* [gentoo-user] Simple HTTP servers question.
@ 2005-08-04 13:08 Steve [Gentoo]
2005-08-04 13:25 ` Oscar Carlsson
2005-08-04 13:35 ` Christoph Gysin
0 siblings, 2 replies; 4+ messages in thread
From: Steve [Gentoo] @ 2005-08-04 13:08 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Simple HTTP servers question.
2005-08-04 13:08 [gentoo-user] Simple HTTP servers question Steve [Gentoo]
@ 2005-08-04 13:25 ` Oscar Carlsson
2005-08-05 15:23 ` Steve [Gentoo]
2005-08-04 13:35 ` Christoph Gysin
1 sibling, 1 reply; 4+ messages in thread
From: Oscar Carlsson @ 2005-08-04 13:25 UTC (permalink / raw
To: gentoo-user
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
Thursday 04 August 2005 15.08 skrev 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Simple HTTP servers question.
2005-08-04 13:08 [gentoo-user] Simple HTTP servers question Steve [Gentoo]
2005-08-04 13:25 ` Oscar Carlsson
@ 2005-08-04 13:35 ` Christoph Gysin
1 sibling, 0 replies; 4+ messages in thread
From: Christoph Gysin @ 2005-08-04 13:35 UTC (permalink / raw
To: gentoo-user
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" org@fr33z3
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Simple HTTP servers question.
2005-08-04 13:25 ` Oscar Carlsson
@ 2005-08-05 15:23 ` Steve [Gentoo]
0 siblings, 0 replies; 4+ messages in thread
From: Steve [Gentoo] @ 2005-08-05 15:23 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-05 15:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04 13:08 [gentoo-user] Simple HTTP servers question Steve [Gentoo]
2005-08-04 13:25 ` Oscar Carlsson
2005-08-05 15:23 ` Steve [Gentoo]
2005-08-04 13:35 ` Christoph Gysin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox