httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Little <dar...@holotech.net>
Subject Re: [users@httpd] How do you send mixed-MIME content?
Date Sun, 12 Mar 2006 22:19:27 GMT
What the heck, I'll take a go at this.

Short answer: sure, anything's *possible*.

Long answer: AFAIK, there is no way to do it directly with Apache, but
I am very far from being an Apache expert. You might be able to do it
with an output filter -- I don't really know much about filters. I
know a way it *could* be done. You could create a rewrite rule so that
all .html requests were passed to a script. The script would read the
.html file, parse it for <IMG> tags, read those files, lump it all
together and send it as a single response.

However, there isn't a browser in the world that would know what to do
with it, unless you've got a custom job on that end. You have to
remember the client in the client-server model.

-- 
Alan Little
Holotech Enterprises

On Sunday, March 12, 2006, 5:00:40 PM, you wrote:



> How can one send HTML content, binary image data, and then more HTML 
> content?

> I'm trying to cut-out external file use for my database backend.

> Dustin


> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message