![]() |
|
#1
|
|||
|
|||
.htaccess - allow IP addresses- how to?I am looking for a good reference to explain how to ALLOW access by IP. Specifically, I need to know how to enter the IP address as well as address ranges.
I think x.x.x.3-10 won't work if I want to allow x.x.x.3 x.x.x.4 x.x.x.5 ... x.x.x.10 |
|
#2
|
||||
|
||||
|
have you seen
http://httpd.apache.org/docs/mod/mod_access.html it doesn't talk about the 3-10 thing.. I don't think that will work then. I can't try it in my network |
|
#3
|
||||
|
||||
|
Nice link Allowee. This is also a good place for .htaccess information: http://javascriptkit.com/howto/htaccess.shtml
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#4
|
|||
|
|||
great refs..but...they don't give me a clue as to why the following works only partially.
Here is the .htaccess file AuthUserFile /home/hydroweb/.htpasswd AuthGroupFile /dev/null AuthName "Journal of Environmental Hydrology" AuthType Basic <limit GET> satisfy any order deny,allow deny from all allow from 63.76.22.2 allow from 130.116.16. allow from 130.116.17. allow from 130.116.18. allow from 130.116.19. allow from 144.110.16. allow from 144.110.17. allow from 144.110.18. allow from 144.110.19. allow from 140.253.201. allow from 152.83.56. allow from 152.83.57. allow from 152.83.58. allow from 152.83.59. allow from 152.83.176. allow from 152.83.177. allow from 152.83.178. allow from 152.83.179. allow from 144.110.36. require valid-user </limit> Some of the IPs can get access, some can't. Maybe the problem is that the client's IP (the one they give me for my allow from list) is not what my site sees when they try to gain access? Thanks in advance. dadpups |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .htaccess on Windows2k, and the trailing slash | Pedster2k | Apache Web Server Forum | 6 | 24-Jan-2004 17:32 |
| .htaccess language / rewrite problem | spinflip | Apache Web Server Forum | 5 | 15-Dec-2003 14:14 |
| Problem with .htaccess | Zergus | Apache Web Server Forum | 7 | 29-Jul-2003 11:01 |
| Googlebot has change its ip addresses | jrobbio | Search Engine Optimization Forum | 1 | 06-Apr-2003 06:48 |
| [function] Validate Email Addresses I | JdS | PHP Code Library | 0 | 23-Jan-2003 03:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The