httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MOFLO - <>
Subject [users@httpd] apache reverse proxy for youtube filtering
Date Tue, 14 Feb 2012 00:19:28 GMT

Hi All, 

Thanks for any help in advance.... 

I'm trying to use transparent reverse proxy through Apache only when going to
 The proxy request adjusts the header to include a filter string to see only education based

Server is CentOS 5.7 with Apache 2.2.3.

httpd.conf vhost section:

<VirtualHost *:80>
    ServerAlias *

    ErrorLog logs/
    CustomLog logs/ common

    ProxyRequests Off

        <Proxy *>
      RequestHeader set X-YouTube-Edu-Filter "xuxuxxhxhxhxrxrxr"

    ProxyPass /
    ProxyPassReverse /


The filter works properly except it doesn't play the video selected. Without going though
the proxy, the same video loads and plays fine.

Nothing in the error or access logs indicate any problems. 

The image below shows the error "An error occured. Please try again later". Notice the rest
of the page loaded including advertisements. The console window shows two red lines from the
proxy server ( not being able to retrieve parts of the page content.  


Any help to point in the right direction or solution would be greatly appreciate. Thanks!

View raw message