Accessing Youtube via Proxy (Ipod Touch)
Steps Required to Resolve Accessing Youtube.com via Ipod touch via Squid proxy:
I have a Squid 7.2.6 using Dansguardian 2.10.0.3 installed on CentOS 5.3 (fully patched as of last Friday July 10, 2009)
This server is my main proxy for my children's access to the internet. It has worked flawlessly until they wanted Ipod touches. That is when I realized everything BUT youtube.com worked.
Others have mentioned using squid redirector (squidguard and squirm) and honestly the rpm installers for CentOS just did not work or installed in the wrong default directories (no amount of linking and alternate configuration file creation would work)
To get around this I used dansguardian's urlregxplist:
"/etc/dansguardian/lists/urlregexplist"
I added the following lines:
"(^ http://iphone-wu.apple.com/feeds/api/)"->"http://gdata.youtube.com/feeds/api/"
"(^ http://iphone-wu.apple.com/feeds/videos/)"->"http://gdata.youtube.com/feeds/videos/"
I restarted dansguardian (restart dansguardian restart) and now I have proxied protected youtube on Ipod touch.
Related Links:
http://dansguardian.org/downloads/detailedinstallation.html
Note:
This should work with any future failures (just look at /var/log/dansguardian/access.log for any failures and add the appropriate redirection (take some figuring out) to the urlregexplist.
Enjoy,
Airwolf
I have a Squid 7.2.6 using Dansguardian 2.10.0.3 installed on CentOS 5.3 (fully patched as of last Friday July 10, 2009)
This server is my main proxy for my children's access to the internet. It has worked flawlessly until they wanted Ipod touches. That is when I realized everything BUT youtube.com worked.
Others have mentioned using squid redirector (squidguard and squirm) and honestly the rpm installers for CentOS just did not work or installed in the wrong default directories (no amount of linking and alternate configuration file creation would work)
To get around this I used dansguardian's urlregxplist:
"/etc/dansguardian/lists/urlregexplist"
I added the following lines:
"(^ http://iphone-wu.apple.com/feeds/api/)"->"http://gdata.youtube.com/feeds/api/"
"(^ http://iphone-wu.apple.com/feeds/videos/)"->"http://gdata.youtube.com/feeds/videos/"
I restarted dansguardian (restart dansguardian restart) and now I have proxied protected youtube on Ipod touch.
Related Links:
http://dansguardian.org/downloads/detailedinstallation.html
Note:
This should work with any future failures (just look at /var/log/dansguardian/access.log for any failures and add the appropriate redirection (take some figuring out) to the urlregexplist.
Enjoy,
Airwolf
iPhone OS 2.x