Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: sebahot on March 10, 2008, 09:19:45 PM

Title: How to serve a specified web page every time a URL is asked from squid
Post by: sebahot on March 10, 2008, 09:19:45 PM
Hello,

I'm running SME server v7.3.
I want that every time when a user from LAN make a request for a URL, the squid from SME to serve the user a specified web page.
I think I need something like URL redirector.


Regards,
Sebastian
Title: Re: How to serve a specified web page every time a URL is asked from squid
Post by: the-heck on March 11, 2008, 12:20:29 PM
What exactly do you want?  You want to block users and send them to an error page?
Title: Re: How to serve a specified web page every time a URL is asked from squid
Post by: sebahot on March 11, 2008, 12:26:13 PM
What exactly do you want?  You want to block users and send them to an error page?

I want that every time a user want to surf the web the first page that is displayed in his web browser to be o predefined URL.

Sebastian
Title: Re: How to serve a specified web page every time a URL is asked from squid
Post by: the-heck on March 11, 2008, 12:34:57 PM
I think for URL Redirector you will need to configure Apache.

Check this out.
http://www.aitechsolutions.net/apacheredirect.html
Title: Re: How to serve a specified web page every time a URL is asked from squid
Post by: sebahot on March 11, 2008, 12:45:29 PM
URL Redirect is not what I need.
To be more specific about what I want here is an example:

I want to open www.yahoo.com in a web broser. I type the URL and before the information from yahoo.com to be loaded in my web browser, I want to see the URL http://www.mydomain.com/notice.html and after a predefined time or after I click on a link on this page to see yahoo.com.

Regards,
Sebastian