View Single Post

  #2 (permalink)  
Old 02-19-2008
Kees Nuyt
 
Posts: n/a
Default Re: Deny access to some URL

On Tue, 19 Feb 2008 11:59:36 -0800 (PST), wilsoneto
<wilsoneto@gmail.com> wrote:

>Hello I have an application running in Apache2.2 and I wish to know if
>it is possible to setup some configuration in Apache2.2 to deny access
>to some websites that are listed inside the application.


Do you mean the pages which the application generates
show hyperlinks to websites you don't want people to
visit?
You can't prevent that without changing the aplication.

In httpd.conf you can only prevent visitors from
specified IP addresses to use the application.

To prevent users of the application to visit some sites
you have to block those sites in their browsers.

>Before
>someone asks if it wasnot easier to filter the unwanted websites in
>the application. No that is not possible.
>
>Thanks
>Wilson


HTH
--
( Kees
)
c[_] The plural of 'Mongoose' is not 'Mongeese', it's
'Polygoose'. (The Hacker's Dictionary) (#214)