Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-02-2010, 05:34 PM   #1
LQ Newbie
Registered: May 2010
Posts: 2

Rep: Reputation: 0
squid default website at direct access


i have a squid running on port 80, and when a someone accesses the proxy directly (via http://hostname or http://ip) i want to show them an explanation website.

as the proxy is in normal(non-accelerating) mode, it shows an "invalid URL" "while trying to retrieve the URL: /" error on direct access, which prevents use of url rewriters, so how to do this?...

its a squid 3.1(non-transparent)

Last edited by nilshug; 05-02-2010 at 05:35 PM.
Old 05-03-2010, 10:25 AM   #2
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,314

Rep: Reputation: 98
As you have squid requests coming n on port 80 I am unsure if this will work but you could try installing apache and using a virtualhost for teh hostname put your explanation page there, I do not know if this will work with squid running on the same port though, however, it might.
Old 05-04-2010, 06:52 AM   #3
LQ Newbie
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
2 bindings on the same port and interface? that can not be possible..


access, default, direct, squid, website

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID only TCP_MISS and DIRECT - why? keex Linux - Networking 3 09-18-2010 07:20 PM
Website cannot access using Squid Proxy nicehill Linux - Server 1 02-01-2010 05:41 AM
website access monitor and log using Squid Proxy in FC4 tsaravan Linux - Networking 1 02-10-2006 06:09 AM
website access log - through Squid tsaravan Linux - Networking 4 02-05-2006 10:08 AM
Protecting the content of your website from remote/direct linking Basel Programming 4 01-26-2006 10:35 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:19 PM.

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