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

Phil Allred Phil.Allred at snow.edu
Tue Oct 27 04:51:51 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20151027/438ad43f/attachment.html>


More information about the squid-users mailing list