Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #dota2
- acl dota2 url_regex -i .*\.*steampowered\.com\/(.*)
- acl dota2 -i ^https?\:\/\/.*steampowered.*\/(client|depot)\/(.*)\?.*
- acl dota2 -i ^https?\:\/\/.*steampowered.*\/(client|depot)\/(.*)
- refresh_pattern -i ^http:\/\/((.*dota2\.com*).*$) 43830 99% 259200 override-expire override-lastmod ignore-reload
- refresh_pattern -i .*\.*steampowered\.com\/.* 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern -i ^http:\/\/.*steampowered\.com.* 1 50% 4320 reload-into-ims refresh-ims
- store_id_access allow dota2
- store-id.pl =
- } elsif ($u =~ m/^https?:\/\/.*steampowered\.com\/.*\/([0-9]+\/(.*))/) {
- $out="OK store-id=http://steampowered.squid.internal/" . $1 . "/" . $2;
- } elsif ($u =~ m/^https?\:\/\/.*steampowered.*\/(client|depot)\/(.*)/) {
- $out="OK store-id=http://steampowered.squid.internal/" . $1 . "/" . $2;
- } elsif ($u =~ m/^https?\:\/\/.*steampowered.*\/(client|depot)\/(.*)\?.*/) {
- $out="OK store-id=http://steampowered.squid.internal/" . $1 . "/" . $2 ;
- =======================================================================================================================================
- =========================================from squid 2.7/lusca head@thanks to syaifudin JW===============================================
- =======================================================================================================================================
- } elsif ($_ =~ m/^http\:\/\/valve[0-9]*\.cs\.steampowered\.com\/(.*)/) {
- print $x . "storeurl://steampowered.squid.internal/" . $1 . "\n";
- } elsif ($_ =~ m/^http\:\/\/[a-z0-9]*\.hsar\.steampowered\.com\.edgesuite\.net\/(.*)/) {
- print $x . "store-id:http://steampowered.squid.internalL/" . $1 . "\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement