[squid-users] Accessing squid from a url rather than proxy settings
squid3 at treenet.co.nz
Tue Oct 27 13:01:39 UTC 2015
On 27/10/2015 9:23 p.m., Kinkie wrote:
> a proxy is different from a webserver. The protocol they speak is
> slightly different in order to support the use-cases (nothing would
> technically prevent from having webservers use a language more similar
> to proxies); what you are trying to do is to use Squid (the proxy) as
> if it was a webserver, which it isn't.
Note that if you have a separate web server already that the proxy is
just proxying for with that domain name it is called a reverse-proxy
That is doable and common setup with Squid (ie how most CDN work). But
it does require a separate webserver doing the webserver things.
> On Tue, Oct 27, 2015 at 5:51 AM, Phil Allred wrote:
>> I want to have users access squid directly from a URL like this:
>> Rather than by setting a proxy in their browser. Then I want squid to
>> rewrite the URL “my.squidserver.org” to the site I want users to access.
>> The reason I want to do this is in order to access ONLY a certain research
>> database through the proxy server, not all HTTP requests.
>> When I set up squid to do url rewriting, everything works, if I configure my
>> browser to use my proxy server. However, when I try to access squid
>> directly like mentioned above, it refuses to try to rewrite the URL. Squid
>> just sends back an error like this:
>> The following error was encountered while trying to retrieve the URL:
>> Invalid URL
>> Some aspect of the requested URL is incorrect.
>> Is what I’m trying to do even possible? If so, how do I fix my problem?
>> Thanks in advance,
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
More information about the squid-users