Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Proxy streaming

Thom Brown

2010-09-02

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi all,

I'm wondering if someone could help here. Basically what I want to do
is provide a proxy for a video stream so that only 1 request goes to
the destination server, but will server many people using some sort of
caching.

My virtual host entry looks something like this:

<VirtualHost *:80>
    ServerName myserver.name

    CacheEnable disk /vid

    SetEnv proxy-sendchunked 1

    <Location /vid>
          Options FollowSymLinks
          Order allow,deny
          Allow from all
    </Location>

    ProxyPass /vid/ http://www.destination.server/vid/
</VirtualHost>

My mem_cache settings are:

MCacheSize 25000000
MCacheMaxObjectCount 5
MCacheMinObjectSize 1
MCacheMaxObjectSize 30000000
MCacheMaxStreamingBuffer 300000

However, this results in each request producing an additional request
to the destination server.

What do I need to do?

Thanks
--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.