Hi,

I finally succeeded to add a rewrite rule. But when I add a second condition, nothing happens. I want that all external computers (not 10.*) can't access the Examen application. Other applications are allowed.

                RewriteCond %{REMOTE_ADDR} !^10.*$ [NC]
                RewriteCond %{HTTP_REFERER} ^WebObjects/Examen$ [NC]
                RewriteRule .* - [F]

Thanks,
Frank
Op 1-jun-09, om 04:08 heeft Kieran Kelleher het volgende geschreven:

A possible easy solution might be to use an apache rewrite rule to intercept non-local IP address requests and redirect them to a 404 page.

Just check the apache log for local requests .... they might be from 192.* ... or they might all come from your network's external IP address if users are using the public hostname to access it.

HTH, Kieran

On May 30, 2009, at 10:36 AM, Frank Stock wrote:

Hi,

What is the best thing to do if I want to have applications running on the server that are reachable from the outside and at the same time applications that are only reachable for clients in the local network?
Do I have to set an extra wotaskd and a second site on the server?

Thanks,
Frank Stock
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com

This email sent to [email protected]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to