Re: [users@httpd] How do you send mixed-MIME content?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux