LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2001, 04:08 AM   #1
katana
Member
 
Registered: Jun 2001
Posts: 100

Rep: Reputation: 15
Squid: help!


hi all!
silly me again...i've been asked by my lecturer ( again) to install squid as a proxy server in the experimental server (linux redhat)i'm working on....i've compiled and installed it, but i dont quite understand how the thing really works...anyway, my question is:

the server has a non-internet ip ( there's a firewall between it and the internet), but i want to test the cache /proxy server with client..basically, i just wanna test if the installation's successful and if squid is really up and running....how can i do this without changing the ip?And another thing, I've checked the access.log after testing out some commands, but found it totally empty. Is this normal? I've read the documentation in the squid homepage, but i think i need a lil more hint...can somebody gimme a hint or other documentations,maybe?

thanks a lot in advance..you all have been so helpful

p/s: i tried this command :

client -h cache1.domain.example -p 3128 http://www.ora.com/

but i got the error message:

client: ERROR: Cannot connect to cache1.domain.example:3128: No such file or directory

??
 
Old 07-10-2001, 04:23 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
You can test the proxy just by getting it to retrieve any URL thats valid. So say your proxy is running on webcache.mydomain.net and you have a http server on the same machine then you can make a request to http://webcache.mydomain.net. So long as you don't have any rules about not using the proxy for local IP addresses (as you would want in real life!) then the request will go to the proxy, the proxy will get the page (albeit from the local machine) and then return it.

When I played with Squid a while back just for the sake of it and managed to get it working kind of, but its a meaty bit of kit so it took a fair bit of playing around. I pretty much just used the comments in the config file to get it running. I've heard that the O'Reilly Squid book is good if you can get your hands on the copy.

HTH

Jamie...
 
Old 12-17-2002, 05:42 AM   #3
marconi8
LQ Newbie
 
Registered: Dec 2002
Posts: 3

Rep: Reputation: 0
can you help me !

i have a problem i cannot to upload file that is greateer than 1MB
i configured all needed options in squid.conf but nothing helps


i have a php script that must upload files into server, all php.ini values is settted correctly
in php.ini max allowed size for uploads and posts is near - 60MB


now i have installed squid with hope that this proxy solves my problem but how i must to configure the squid that it will be workable


thanks
 
Old 12-17-2002, 07:36 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
marconi8,

You would have been best of starting new thread as you have asked a new question, instead of tagging it on the end of this one...

It sounds be me like you are trying to use Squid to solve you PHP problem. Does you file upload using PHP work at the moment (without a proxy)?? If not then you want to sort that out, a proxy won't help.

In addition to the maximum uploadable file size and max post size its worth considering how long it takes the script to run, if you allow uploadable files that are 60MB, but you are only allowing you PHP script to run for a maximum of 30 second, then the upload will fail if you connection to the webserver isn't quick enough to upload 2MB a second - if you see what I mean.

cheers

Jamie...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 03:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
I can't "service squid start" , and chkconfig squid on not working Niceman2005 Linux - Software 0 11-10-2004 08:18 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration