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
signature.asc
Description: This is a digitally signed message part.