Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listener to filter IP addresses

 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi;

I need to direct traffic to application. Some IPs need to be redirected.

Is a Listener the best way to do this?

Thanks,

Luke
[ November 30, 2004: Message edited by: Luke Shannon ]
 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should I be using a Filter perhaps? The only thing is I need it to work for the whole application.

Luke
 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget it. I am just going to handle this in Apache with the httpd.conf, create a shell script for Linux and a Batch for Windows to modify the file and restart the server.

This is easier and I don't have to mess with so much code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic