On Tue, Aug 26, 2008 at 12:08 PM, Giuseppe Scrivano
<address@hidden> wrote:
Alexandru Iancu wrote:
> One thing it's clear from the frontispiece of our software: "MyServer is a
> powerful and *easy to configure* web server." and I wouldn't want to change
> it :)
> For know I'm satisfied adding a mime type with the path instead of a file
> extension into the central cfg file or vhost cfg(we already have code to add
> mime types per vhost - I didn't test it) so no need to complicate cfg
> anymore than it is now.
Sure :) We will not remove or replace current features with something
more difficult.
I think that sometimes it is very useful to have the possibility to
define a different MIME type for a file in a directory.
The only problem, as showed before, is with directories and with
recursive security files. This is the case we need to solve :)
Attach an entire subtree to a handler is not an usual thing and I don't
see problems to have this possibility only in the virtualhosts.xml file.
Now we have MIME types based only on the file extension, we should add
the possibility to define a different MIME type for a single or for a
group of files.
Another thing, we should provide a way to distribute configuration
files, is it possible directly by XML to include another XML file
(completely or trough an XPath _expression_)?
I just noticed ... :)
also supported by libxml2: XInclude
Regards,
Andu.
Giuseppe