Open GoogleCodeExporter opened 9 years ago
Wait a second. How's that work? Do you have some kind of rewriter rules going
on there, or are you using
collapsed forwarding at all?
Original comment by adrian.c...@gmail.com
on 5 Dec 2008 at 4:37
collapsed forwarding is set to off
I am using storeurl_rewrite_program with the following
#!/usr/bin/perl
use IO::File;
use IO::Socket::INET;
use IO::Pipe;
$| = 1;
while (<>) {
@X=split;
$url = $X[0];
$url
=~s@^http://(.*?)/get_video\?(.*)video_id=(.*?)&.*@squid://videos.youtube.INTERN
AL/ID=$3@;
$url
=~s@^http://(.*?)/get_video\?(.*)video_id=(.*?)$@squid://videos.youtube.INTERNAL
/ID=$3@;
$url
=~s@^http://(.*?)/videodownload\?(.*)docid=(.*?)$@squid://videos.google.INTERNAL
/ID=$3@;
$url
=~s@^http://(.*?)/videodownload\?(.*)docid=(.*?)&.*@squid://videos.google.INTERN
AL/ID=$3@;
#pornhub shit
$url
=~s@^http://(.*?)pornhub.com/dl/(.*?)/videos/(.*?)/(.*?)/(.*?)/(.*?)flv$@squid:/
/pornhub.com/dl/INTERNAL/ID=$6flv@;
$url
=~s@^http://(.*?)pornhub.com/dl/(.*?)/videos/(.*?)/(.*?)/(.*?)/(.*?)flv\?@squid:
//pornhub.com/dl/INTERNAL/ID=$6flv@;
#tube8 shit stuff
$url
=~s@^http://(.*?)tube8.com/flv/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)flv$@squid://t
ube8.com/flv/INTERNAL/ID=$6flv@;
$url
=~s@^http://(.*?)tube8.com/flv/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)/(.*?)flv\?@squid://
tube8.com/flv/INTERNAL/ID=$6flv@;
print "$url\n";
}
which has nothing to do with msdownloads ....
Regards
Original comment by degreane@gmail.com
on 9 Dec 2008 at 2:12
Do you have collapsed_forwarding on?
Original comment by adrian.c...@gmail.com
on 25 Dec 2008 at 7:33
I've just tried this, it works fine for me.
Can you please post the config file (minus the comments!) so I can compare?
Also, do you keep statistics on traffic and CPU usage?
Original comment by adrian.c...@gmail.com
on 30 Dec 2008 at 8:54
no collapsed forwarding is off
i removed Cache_boy and installed squid2.7 Stable 5 it works fine
Regards
Original comment by degreane@gmail.com
on 31 Dec 2008 at 8:56
Well, could you try the latest Squid-2.HEAD snapshot and let me know?
It could be a bug in cacheboy, but it could also be a bug in Squid-2.HEAD as
well and I'd obviously like to fix
that too. :)
Original comment by adrian.c...@gmail.com
on 31 Dec 2008 at 2:37
Original issue reported on code.google.com by
degreane@gmail.com
on 3 Dec 2008 at 7:54