Forum Discussion

Shay_Ben-David1's avatar
Shay_Ben-David1
Icon for Nimbostratus rankNimbostratus
Mar 25, 2008

block access to domain

is there a way to filter access only to the domain root like www.mysite.com, and allow everything else, in order to allow users bookmarks and uri with specific url+uri

 

 

my irule is :

 

 

when HTTP_REQUEST {

 

if { ( [string tolower [HTTP::header Host]] equals "www.mysite.com" ) }{

 

log "client: [IP::client_addr], requested [HTTP::host][HTTP::uri]"

 

discard

 

}

 

}

 

 

i want to add the http::uri

 

 

thanks

 

14 Replies