Re: Mutiple wotaksd
Re: Mutiple wotaksd
- Subject: Re: Mutiple wotaksd
- From: Chuck Hill <email@hidden>
- Date: Tue, 30 Jun 2009 16:07:35 -0700
On Jun 30, 2009, at 1:35 PM, Frank Stock wrote:
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]
^ means to start the match at the very beginning of the URL and $
means to finish the match at the very end. I doubt what you have is
correct. Perhaps something more like this:
RewriteCond %{REMOTE_ADDR} !^10.*$ [NC]
RewriteRule .*WebObjects/Examen .* - [F]
Chuck
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden