Iptables and a web server


Subject: Iptables and a web server
From: Mike Barsalou (mbarsalou@aidea.org)
Date: Tue Apr 23 2002 - 11:22:52 AKDT


I have a web server that is behind my firewall. What I would like to do is
to redirect and web traffic that is directed to a particular URL.

So if the url is:

http://mysite.com/myurl

then I want to redirect that traffic to the webserver. However, if the url
is:

http://mysite.com/notallowedurl

Then I want to rejected it at the firewall? Is this better done at the
webserver? I just didn't want any traffic inside my net that wasn't
supposed to be there.

BTW, I am using iptables.

Mike

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Apr 23 2002 - 11:24:26 AKDT