On Wed, 30 Jun 2010 16:29:42 +0200, Luigi Gangitano <luigi_at_debian.org>
wrote:
> Hi,
> I'm especially interested in this feature. :-)
>
> Il giorno 30/giu/2010, alle ore 01.04, Amos Jeffries ha scritto:
>>> For example, the simplest configuration option could work like this:
>>>
>>> serve_internally "/wpad.dat" "errors/templates/ERR_WPAD"
>>> serve_internally "/logo.png" "icons/logo.png"
>>> ...
>>>
>>> The code to handle the above would be almost as simple as the current
>>> code, but will open up a lot more possibilities. The above can be
>>> extended with more flexible ACL-driven options in the future, of
course.
>>>
>>
>> The PAC file needs to still be a special case, either way due to its
>> unusual content-type.
>
> Can the information from mime_table be used for this? This would easily
> get us back to the general case.
>
Um, yes, possibly.
Not so easily as it appears though. The internal httpd will need
refactoring as well. It's currently a list of explicit special cases like
this.
Will look into it more next week and hopefully get a better feature in.
Amos
Received on Wed Jun 30 2010 - 22:36:51 MDT
This archive was generated by hypermail 2.2.0 : Thu Jul 01 2010 - 12:00:08 MDT