Allow from IP range
3 posts
• Page 1 of 1
- alternapop
- Posts: 5
- Joined: 11 Feb 2016, 14:43
Allow from IP range
I have isapi rewrite installed on Win 2012 with IIS 8.
It's working in some cases but I can't get it to work in this case. I'm trying to deny access to all files in a directory except for a given IP range.
I've tried both of the below and neither works. I can still access the default.html page from other IPs.
What am I doing wrong?
thanks!
It's working in some cases but I can't get it to work in this case. I'm trying to deny access to all files in a directory except for a given IP range.
I've tried both of the below and neither works. I can still access the default.html page from other IPs.
- Code: Select all
# restrict access by IP
Order allow,deny
Deny from all
Allow from 10.0.0.0/10
- Code: Select all
<Files "*">
Order allow,deny
Deny from all
Allow from 10.0.0.0/10
</Files>
What am I doing wrong?
thanks!
- alternapop
- Posts: 5
- Joined: 11 Feb 2016, 14:43
Re: Allow from IP range
I think I know what the problem is, the web server is behind a firewall which hides client IPs. If anyone sees anything wrong with the code anyway I'd like to make sure both should work otherwise.
Re: Allow from IP range
Hello.
ISAPI_Rewrite is a rewriting tool only, these directives are not available. If you need support for other Apache directives, like authentication, IP limits, etc. you will need Helicon Ape product. Here is a complete compatibility list of Ape features vs Apache: https://www.helicontech.com/ape/doc/compatibility.htm
ISAPI_Rewrite is a rewriting tool only, these directives are not available. If you need support for other Apache directives, like authentication, IP limits, etc. you will need Helicon Ape product. Here is a complete compatibility list of Ape features vs Apache: https://www.helicontech.com/ape/doc/compatibility.htm
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 11 guests