LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

Rep: Reputation: 0
squid default website at direct access


Hi,

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
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
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
nilshug
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..
 
  


Reply

Tags
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


All times are GMT -5. The time now is 06:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration