Browsing not Squid for Windows

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
Siraj Ahmed
Lance Naik
Posts: 25
Joined: Thu Dec 08, 2005 10:22 pm
Location: New Karachi
Contact:

Browsing not Squid for Windows

Post by Siraj Ahmed »

:D Salam o Alikum
Mainey Squid for windows install kiya hai windows 2000 server per
lekin browsing nahi ho rahi hai squid start hai aur err page bhi squid hi sey aata hai
rahil320
Naik
Posts: 59
Joined: Wed Aug 13, 2003 11:14 pm
Location: shah faisal colony. karachi

Post by rahil320 »

Dear Siraj Bhai,
Aap nay squid ki configuration file ko sahi tarah say edit kiya tha ?
Aur squid kya error dayta hai ?
Allah Hafiz.
Rahil Sarwar
Siraj Ahmed
Lance Naik
Posts: 25
Joined: Thu Dec 08, 2005 10:22 pm
Location: New Karachi
Contact:

Post by Siraj Ahmed »

:D Shukria RAHIL Bhai aap key reply ka es sey mujhey bara hosla mila hai
mai internet Modem sey connect kar raha hoo (US Robotic Externnal)
aur mer LAN card ki Ip hai 192.168.10.10 (192.168.10.10 - 70) jees sey mere usrs connect hotey hai
Squid ka err
ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: www.msn.com

The following error was encountered:

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 SERVER.sscable.local

meri squi configure file ye hai

http_port 8080


#




cache_dir ufs e:\cache 100 16 256
# TAG: cache_access_log



refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320


acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

acl internalnetwork src 192.168.10.10/255.255.255.0

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow internalnetwork
http_access allow localhost
# http_access deny all
#http_access deny all

icp_access allow all

miss_access allow all

#httpd_accel_host server
#httpd_accel_port 8080

acl local-servers src 192.168.10.10/255.255.255.0
acl all src 0.0.0.0/0.0.0.0
never_direct deny local-servers
never_direct allow all
syedali999
Battalion Havaldaar Major
Posts: 252
Joined: Sun May 29, 2005 1:45 am
Location: Karachi
Contact:

Post by syedali999 »

Siraj Ahmed wrote:
acl internalnetwork src 192.168.10.10/255.255.255.0
Dear Siraj,
how are you...
mein ye post urdu mein ker raha hoon taake apni baat aap tak puhncha sakoon...
aap dekhen is line mein aapne sirf ek ip define kya hai tu wo sirf aapki ek ip ko access de raha hai...jo baqol aapke localhost hai aapka...yaani squid server...

aap 192.168.10.10/255.255.255.0 ki jaga 192.168.10.0/255.255.255.0 daal den aur phir squid aik dafa restart karen....and now aapke lan clients pe net chal jayega....

baaqi kisi bhi maloomaat ke lye aap mujhse contact ker sekte mein khud student hoon aur isse mujhe buhat seekhne ko milta hai....
remember.... ip address ke end ke 10 ki jaga sirf 0 (zero) likhna hai...
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Siraj Ahmed,
Salam,

Try this configuration file.

http_port 8080

cache_dir ufs e:\cache 100 16 256

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

acl internalnetwork src 192.168.10.1/255.255.255.0

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports

http_access allow internalnetwork
http_access allow localhost
http_access deny all

icp_access allow all
miss_access allow all

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

never_direct deny internalnetwork
never_direct allow all


Best Regards.
Farrukh Ahmed
Siraj Ahmed
Lance Naik
Posts: 25
Joined: Thu Dec 08, 2005 10:22 pm
Location: New Karachi
Contact:

Post by Siraj Ahmed »

Assalam o Alikum
Muhataram janab Rahil & Farrukh Bhai
Reply deny ka buhat buhat Shukria

Al Hamdo Lillah Browsing start ho chuki hai lekin ek problem aur hai jis k liye mai aap logo ko ek dafa phir taklid dey raha hoo

Yahoo Messenger

masla ye hai k mere client side per yahoo messenger with proxy connect ho raha hi without proxy key connect nahi ho raha jis voice chat aur web cam mai problem ho rahi hai

mai chata ho key Yahooo Messenger Aur Msn messenger without proxy connect ho ( No Proxy )

reply ka intezar rahey gaa Allah Hafiz
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear Siraj Ahmed,
Salam,

For Yahoo Messenger use Socks !!

FYI, http://www.linuxpakistan.net/forum2x/vi ... 4438#22450

Best Regards.
Farrukh Ahmed
Post Reply