[squid-users] rewrite domain

2010-08-17 Thread Thomas E. Maleshafske
the domain so that it points the http://us.archive.ubuntu.com/somefolder/somefile.deb to http://host.localdomain.com/samefolder/samefile.deb that way the source.list file is valid regardless of location, but redirects to the local mirror if on the LAN Any help is appreciated. -- Thomas E

Re: [squid-users] reverse proxy with domains

2008-07-08 Thread Thomas E. Maleshafske
Chris Robertson wrote: Thomas E. Maleshafske wrote: Henrik Nordstrom wrote: You could simplify even further never_direct allow all http_access allow all with the never_direct rule being optional.. (implied by accel mode on the http_port). Regards Henrik But if your in a hosting

[squid-users] reverse proxy with domains

2008-07-07 Thread Thomas E. Maleshafske
. Appreciate the assistance. -- V/R Thomas E. Maleshafske http://www.maleshafske.com

Re: [squid-users] reverse proxy with domains

2008-07-07 Thread Thomas E. Maleshafske
Henrik Nordstrom wrote: On mån, 2008-07-07 at 07:50 -0500, Thomas E. Maleshafske wrote: I have successfully implemented a reverse proxy for my http site. My question is if whether or not there is an option so that it accepts on the basis of the domain basically instead of having

Re: [squid-users] reverse proxy with domains

2008-07-07 Thread Thomas E. Maleshafske
Henrik Nordstrom wrote: On mån, 2008-07-07 at 13:43 -0500, Thomas E. Maleshafske wrote: I have the vhost directive defined but am still have to list each seperate subdomain. List where? In squid.conf, or in your web server? I might have found a solution with using pound

Re: [squid-users] reverse proxy with domains

2008-07-07 Thread Thomas E. Maleshafske
Henrik Nordstrom wrote: On mån, 2008-07-07 at 15:10 -0500, Thomas E. Maleshafske wrote: IN squid.conf It's not needed to list the sites in squid.conf unless you need to send different sites to different backend web servers. If you have only one web server (or cluster) then just

Re: [squid-users] reverse proxy with domains

2008-07-07 Thread Thomas E. Maleshafske
Henrik Nordstrom wrote: On mån, 2008-07-07 at 18:05 -0500, Thomas E. Maleshafske wrote: I managed to figure it out on a hunch. http_port 80 accel vhost forwarded_for on refresh_pattern ^ftp: 144020% 10080 refresh_pattern ^gopher:14400% 1440 refresh_pattern