Fab,

On 7/9/25 2:27 PM, Fab Stz wrote:
Le mercredi 9 juillet 2025, 16:20:56 CEST Christopher Schultz a écrit :
Fab,

On 7/9/25 9:12 AM, Fab Stz wrote:
I'm packaging upstream software (css-validator) for Debian so your
suggestions won't really fit to ship a package working out of the
box.
Really? How is your css validator packaged? Is it a web application, or
just a component of a web application?

So I created a request on bugzilla.

https://bz.apache.org/bugzilla/show_bug.cgi?id=69735

Thanks for that. Can you maybe update the bug to indicate specifically
which features of mod_negotiation you actually need? I suspect you
mostly want Tomcat to be able to auto-select index.html.en from a
directory. But do you need support for type-map files? Do you need
support for Accept-Encoding and Accept-Charset?

Actually I can't say more that what is in the bug/enhancement request. Jetty 
has the same issue as tomcat and didn't ask for such details. Please understand 
that as a user, my technical knowledge is limited.

You can have a look at upstream's static pages if you need details. 
https://github.com/w3c/css-validator/

about.html.en would be a good starting point, then look at the html links at the bottom of the 
page "Home Documentation Download Feedback Credits". They link to pages that don't 
exist per se, but exist with html.<language> suffix only.

On the official css-validator server which runs jigsaw http server it works, 
but neither on jetty, nor on tomcat. 
https://jigsaw.w3.org/css-validator/about.html

Oh, I see: you have a bunch of static files and you just want to be able to have them load on as many web servers as possible.

You've been spoiled by general-purpose web servers like httpd and jigsaw, which surely stole the idea from httpd :)

Tomcat and Jetty are special-purpose application servers which were written primarily to serve dynamic content but had to support static content for some obvious reasons. But they don't support all of the crazy stuff that many general-purpose web servers support.

I've been thinking about how to implement this, and I might have some code soon.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to