public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] simple web server with content negotiation feature
Date: Sat, 26 Jan 2008 15:16:17 +0000	[thread overview]
Message-ID: <200801261516.35952.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20080126185926.0ffa4b95@esmeralda>

[-- Attachment #1: Type: text/plain, Size: 2050 bytes --]

On Saturday 26 January 2008, Zhang Weiwu wrote:
> Hello all.
>
> I am looking for a web server for my static website in-developing
> projects. I just want the basic features and easy-to-configure. However
> what I mean "basic" looks a bit different than other people's. I wish
> it to be able to do content negotiation (a.k.a. a browser asks for
> "my_mom" and gets my_mom.html.zh or my_mom.html.en depending on
> preferred language of the browser). I also wish it can handle HTTP 1.1.
>
> I could not find one. "eix -S negotiation" didn't get me any result.
> (on the other hand "aptitude search ~dnegotiation" did suggested me
> fnord can do content negotiation, although it's only partially
> implemented.)
>
> My question is:
> 	1. Can you please suggest some web server that can do content
> 	   negotiation, besides apache?

"negotiation" is not a recognised USE flag:

# euse -i negotiation
global use flags (searching: negotiation)
************************************************************
no matching entries found

local use flags (searching: negotiation)
************************************************************
no matching entries found

therefore I am not sure that any packages in portage use it.  (Apache uses the 
module mod_negotiation which is compiled in by default).  Have you looked at 
www-servers/lighttpd, or www-servers/thttpd?

> 	2. Can you please tell me how do you usually find out if some
> of the packages in portage can do content negotiation?

Sorry, can't help with this.  Perhaps others more knowledgeable in the 
features of different http servers can advise here.  I would think that it is 
a matter of searching in their respective project websites and then reading 
their documentation for each package under /usr/portage/www-servers/.  
Alternative, emerge, try it out, unmerge and so on.

BTW, I am not sure if some PHP scripting would offer this facility to simpler 
http servers, which do not support it natively like apache.

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-01-26 15:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26 10:59 [gentoo-user] simple web server with content negotiation feature Zhang Weiwu
2008-01-26 15:16 ` Mick [this message]
     [not found] <9PR5j-5VI-13@gated-at.bofh.it>
     [not found] ` <9PUZc-418-7@gated-at.bofh.it>
2008-01-28  2:26   ` Zhang Weiwu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801261516.35952.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox