GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 17-Nov-2003, 12:17
dadpups dadpups is offline
New Member
 
Join Date: Nov 2003
Posts: 2
dadpups is an unknown quantity at this point

.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  
Old 18-Nov-2003, 02:04
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
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
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #3  
Old 18-Nov-2003, 07:07
BobbyDouglas's Avatar
BobbyDouglas BobbyDouglas is offline
Regular Member
 
Join Date: Aug 2003
Posts: 789
BobbyDouglas has a spectacular aura aboutBobbyDouglas has a spectacular aura about
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  
Old 18-Nov-2003, 09:01
dadpups dadpups is offline
New Member
 
Join Date: Nov 2003
Posts: 2
dadpups is an unknown quantity at this point

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 GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 05:11.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.