httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Brown <t...@linux.com>
Subject [users@httpd] Proxy streaming
Date Thu, 02 Sep 2010 21:43:30 GMT
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@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