Re: [squid-users] Help with accelerated site

From: <Adam_at_Gmail>
Date: Sat, 27 Mar 2010 16:09:40 -0000

Hi David,
I wasn't having a go at anyone in particular yes I am frustrated with "this"
software I didn't start yesterday in this business
I know there is always a certain level of frustration when dealing with
machines.
But this particular software has NO logic whatsoever,
You do something for instance it works, but not to what you want it, and
then you add a directive to it either it gets worse or it changes
then you undo what you just did, what would you expect normally? The
previous result right? NO with squid it doesn't work that way
it takes you from one error to another from one problem to another and so
on...

Yes I am a developper myself, but I make sure what I do has a certain level
of logic I am not saying we don't have issues
but we also make sure that the documentation is straight forward for anybody
to understand it.
It's like a manufacturer who makes gadgets and give you a vague idea on how
the thing works.

Besides I have followed all of the documentations, all of the examples which
they are not easy to understand either
and in the end no result it's been more than five weeks day in day out I
couldn't even bring one of sites up, and every link forum I followed either
it doesn't apply to my version or it is at least 2 years old.

I didn't say you owe me anything or anybody here all I am saying is a little
common sense, if you make something it's imperative that you make sure
people
will understand it's use.
And it's not just me, this particular issue has been asked for the last two
or three years, are you going to tell me that after all this time nobody
gave an answer to this?
It strikes me maybe even the developers don't know the answer to this, all I
have read so far is try this and try that and nothing works.

And I didn't attack anyone as far as I can see, and it's funny I posted
three e-mails and nobody replied fair enough maybe they don't have an answer
but no reply whatsoever but as soon as I say something against this whole
project and the way it's been handled, I get an a reply.

I wasn't disrespectful to anyone, but as a professional myself I do take it
on the chin when I am criticised about what I do or the way I do it
Being honest I was saying how I feel about this software, if anyone feels
hurt by what I said I am sorry it wasn't my intention, and they can prove me
wrong then.

For instance up until now, I couldn't get my websites up, on my backend
server, now I managd to access them locally, and guess what?
All of the examples they gave in the tutorials were wrong, I had to reverse
the process to be able to access them from my local network

But I still can't access them from outside my network, anyway it's my
problem, one thing I will make sure is IF I ever manage to get them working
I will write a tutorial to help people who might need it, because there's
nothing out there for version 3.0
in less than an hour I installed a DHCP and DNS servers configured them and
they were rolling, but Squid It's five weeks later and I am still
struggling with it, and I mean five weeks, day in day out, morning and
evening. and late nights too.

I didn't mean to affend anyone, but a bit of criticism is healthy in order
to improve things in general.
Thanks for you offer

Good luck to all
Regards
Adam
----- Original Message -----
From: "David Parks" <davidparks21_at_yahoo.com>
To: "'Adam_at_Gmail'" <adbasque_at_googlemail.com>; <squid-users_at_squid-cache.org>
Sent: Saturday, March 27, 2010 3:45 PM
Subject: RE: [squid-users] Help with accelerated site

Hi Adam, a few recommendations:

1) There are a number of consultancy and support organization that provide
dedicated support for squid. If you can't find the answer here or yourself
(via code or in docs), they might be an alternative you want to look into
2) The developers and people supporting squid on this list are all donating
their time, they don't owe you, I, or anyone on here anything. Lambasting
them isn't cool, and not appreciated by anyone on this list.
3) We all get frustrated with software, it's the nature of the business (I
average a couple cycles of frustration a day myself). But lashing out in a
public forum, against the very people that might be able to help you is like
trying to catch flies with vinegar.
4) If you aren't getting the responses you need try refining your questions
into smaller bites. There are a lot of emails in this forum and it's not
always easy to digest a long email (again, the community support provided is
free, if you need people to really dedicate time to your issue you should
consider paying them for their time, e.g. refer back to suggestion #1).

I wish you the best of luck with your task, unfortunately I don't know the
answer to your question myself or I would offer my own suggestions.

David

-----Original Message-----
From: Adam_at_Gmail [mailto:adbasque_at_googlemail.com]
Sent: Saturday, March 27, 2010 7:07 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Help with accelerated site

Hello All.
I have to say since I started using Squid I get thrown from one problem to
another, followed every suggestion and every tutorial and I could not get
through to my my backend server This is ridiculous now, I honestly start to
believe that this whole project is a joke or the software isn't at all
mature to deal with what it is supposed to deal with, it's still in a
teething stages, and I believe that we are the guinea pigs of this project
where they made us believe that it works, I do not believe for one second
that it acctually works.

I have read so many questions regarding this particular issue and "nobody"
could come up with a straight answer, are we the only people with this
issue? are we the only people with no luck?

The questions that was asked time and time again was never been answered, so
please don't tell me that this thing works, I'd like to see it and don't
tell me this whole site runs on a proxy Squid I'd like to see it aswell.

I was getting this before:
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: /

The following error was encountered:

    * Invalid URLAnd I followed a suggestion I read on the mailing list,
that maybe I needed to add a vhost after the http_port 3128Now I am getting
this instead:The requested URL could not be
retrieved--------------------------------------------------------------------------------The
following error was encountered while trying to retrieve the URL:
http://www.mysite.org/Access Denied.Access control configuration prevents
your request from being allowed at this time. Please contact your service
provider if you feel this is incorrect.Your cache administrator is
webmaster.It's not acctually working at all, all it does is taking you from
one problem to another, and so forth it's a none stop it'a bag of problems
and nasty surprises, not to mention things you need to tweak on my system to
make Mr Squid happierI am sorry guys but this thing doesn't work and I
believe it when I see it and even if I see it working it's still
ridiculousto spend as much time to get one piece of software to work.I have
followed the tutorials to the letter and many suggestions, not to mention
the amount of time I wasted on this thingnever before in my life I have
spent as much time on any programme, this is the first time and I am not
willing to spend the rest of my life trying to figure out something that
doesn't work.Sorry guys but I am very very disapointed with this, I am just
going to completely uninstall the whole thingAnd go back to the way it was
before or perhaps look for an alternative for something that works.Thanks to
all of you who tried to helpBest of luck to anyone who's still trying to
solve Squid's never ending issues.Thank you.RegardsAdam----- Original
Message -----
From: "Ron Wheeler" <rwheeler_at_artifact-software.com>
To: "Adam_at_Gmail" <adbasque_at_googlemail.com>
Cc: "Amos Jeffries" <squid3_at_treenet.co.nz>; <squid-users_at_squid-cache.org>
Sent: Thursday, March 25, 2010 1:58 AM
Subject: Re: [squid-users] Help with accelerated site

> Adam_at_Gmail wrote:
>> Hello there,
>> Thanks for the reply Ron and Amos
>>
>>
>> Maybe my original e-mail wasn't clear a bit confusing I am sorry if I
>> confused you
>>
>> I have squid running on Machine A with let's say local ip 192.168.1.4
>> the backend server is running on machine B and ip address 192.168.1.3
>>
>> Now, instead of getting the website that is located on Machine B
>> 192.168.1.3 which is listening on port 81 not 80.
>> I am getting the default Apache Page on the Proxy server Machine
>> which is
>> 192.168.1.4
>>
>> And I do have the vhost in my configuration Well there are two
>> apaches running on the two machines, the proxy machine and the
>> web-server machine, except the web-server apache listens on port 81,
>> logically (technically) speaking it should work, but for some reason
>> it doesn't.
>> I hope it makes more sense to you what I am trying to describe here
>
> Very helpful.
> You can not have apache listening for port 80 on 192.168.1.4 and Squid
> trying to do the same thing.
> Only one process can have port 80.
> You will very likely find a note in the squid logs that says something
> to the effect that squid can not bind to port 80.
> If you shutdown apache on 192.168.1.4 and restart squid, your proxy
> will work (if the rest of the configuration is correct) If you then
> try to start apache on 192.168.1.4 it will certainly complain loudly
> about port 80 not being free.
>
> If you want to use Apache on both 192.168.1.4 and 192.168.1.3 you need
> to set the apache on 192.168.1.4 to listen on port 81 and set squid to
> proxy to the apache on 192.168.1.4 and use apache's proxy and vhost
> features to reach 192.168.1.5 which can be set to listen on port 80.
> This will support
> browser=>Squid on 192.168.1.4 ==> Apache on 192.168.1.4:81 (vhost)
> ==>Apache 192.168.1.3:80 That is a pretty common approach.
>
> Ron
>
>
>>
>> Thank you all for your help
>> Regards
>> Adam
>>
>> ----- Original Message ----- From: "Amos Jeffries"
>> <squid3_at_treenet.co.nz>
>> To: <squid-users_at_squid-cache.org>
>> Sent: Thursday, March 25, 2010 1:01 AM
>> Subject: Re: [squid-users] Help with accelerated site
>>
>>
>>> On Wed, 24 Mar 2010 19:48:27 -0400, Ron Wheeler
>>> <rwheeler_at_artifact-software.com> wrote:
>>>> What is squid proxying?
>>>> Usually the normal behaviour is exactly what you are getting since
>>>> squid
>>>
>>>> normally proxies Apache on 80.
>>>> Browser ==> Squid on 80==>proxied to Apache on port 81.
>>>>
>>>>
>>>> If Squid is not proxying Apache, then it looks like you have Apache
>>>> running on 80.
>>>>
>>>> If you are trying to redirect port 80 to another program that is
>>>> not Apache, then you need to get Apache off port 80.
>>>> You can not have 2 programs listening to port 80.
>>>>
>>>> If Apache is running and owns port 80, Squid will not start.
>>>>
>>>> If this is the case, You likely have errors in the logs to this effect.
>>>>
>>>> Shut down Apache and and restart Squid.
>>>>
>>>> Try to start Apache and now it should howl with anger (or log in
>>>> anger) at not getting port 80.
>>>>
>>>>
>>>> Ron
>>>>
>>>> Adam_at_Gmail wrote:
>>>>> Hello All,
>>>>>
>>>>> I have followed this configuration, but when I try and access the
>>>>> website from outside my network All I get is the default page of
>>>>> the apache on the machine where the Squid proxy is installed
>>>>>
>>>>> Here is the link:
>>>>>
>>>>> http://wiki.squid-cache.org/ConfigExamples/Reverse/BasicAccelerato
>>>>> r
>>>>>
>>>>> here is the configuration I followed
>>>>>
>>>>> http_port 80 accel defaultsite=your.main.website.name(changed my
>>>>> port to 81 my backend server listens on port 81)I havehttp_port 81
>>>>> accel defaultsite=www.my.website.org vhostand then used
>>>>> thiscache_peer ip.of.webserver parent 80 0 no-query originserver
>>>>> name=myAccelcache_peer 192.168.1.5 parent 81 0 no query
>>>>> originserver name=myAccel(myAccel I have put a name)and then acl
>>>>> our_sites dstdomain my.website.org http_access allow our_sites
>>>>> cache_peer_access myAccel allow our_sites cache_peer_access
>>>>> myAccel deny all Anybody with any suggestions please?Any help
>>>>> would be appreciated thank youRegardsAdam
>>>>>
>>>
>>> Sorry, took me a while to un-mangle that original email text.
>>>
>>> You are missing the "vhost" option on https_port 80. All traffic
>>> Squid receives on port 80 will go to Apache's default virtual host.
>>>
>>> Amos
>>>
>>
>>
>
Received on Sat Mar 27 2010 - 16:09:57 MDT

This archive was generated by hypermail 2.2.0 : Sat Mar 27 2010 - 12:00:05 MDT