[squid-users] Accessing squid from a url rather than proxy settings

Kinkie gkinkie at gmail.com
Tue Oct 27 08:23:28 UTC 2015

  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.

On Tue, Oct 27, 2015 at 5:51 AM, Phil Allred <Phil.Allred at snow.edu> wrote:
> I want to have users access squid directly from a URL like this:
> http://my.squidserver.org:3128/testurl
> 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:
> /testurl
> 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,
> Phil
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list