Forums / General Questions / .htaccess file

.htaccess file

Locked

Views: 1,277

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
22 Apr 2007, 9:06 AM
#1
mrbert avatar

mrbert

New Zenner

Join Date:
Jan 2007
Location:
Rotterdam NL
Posts:
76
Plugin Contributions:
0

.htaccess file

Hi
I have a download folder protected with the standard .htaccess file.

Now I also want to give access to one other IP adress so that I can access the images also from that server.

I have found that you can allow access to an IP number or range by using

allow from IP

But I cannot get it to work.

when I have a file like:

AuthType Basic
AuthName "No access"
AuthUserFile .htnopasswd
AuthGroupFile /dev/null
Require valid-user
allow from IP

There still comes a password request.

has someone information about this?

Mr Bert
Two of the shops I worked on:
http://stockphoto.mrbertdesign.nl/
http://www.luxim.nl