Re: [us...@httpd] Access restriction to a particular folder by IP

2009-09-07 Thread Markus Wolf
--- On Mon, 9/7/09, Krist van Besien wrote: > RewriteCond    %{REMOTE_ADDR}      >        !$1 > RewriteRule  >    /(\d+\.\d+\.\d+\.\d+)_.*    >   -      [F] > Thank you very much. That seems to do the trick. I'll give that a go. ---

Re: [us...@httpd] Access restriction to a particular folder by IP

2009-09-07 Thread Markus Wolf
> > What do you actually mean with the "referer IP > address". > > Sorry, yes, it should have said REMOTE_IP. Uhm, REMOTE_ADDR. ;) - The official User-To-User support forum of the Apache HTTP Server Project. See htt

Re: [us...@httpd] Access restriction to a particular folder by IP

2009-09-07 Thread Markus Wolf
--- On Mon, 9/7/09, Krist van Besien wrote: > What do you actually mean with the "referer IP address". Sorry, yes, it should have said REMOTE_IP. > Or maybe you want to restrict access based on client IP? > That is > something different, however. That's what I would like to do. --

[us...@httpd] Access restriction to a particular folder by IP

2009-09-06 Thread Markus Wolf
Hello, I have spent the last few days trying to find a solution for this, but to no avail. I have directories that contain IP addresses. /171.35.110.12_some_characters /172.30.97.4_some_other_random_characters Now I would like to only allow access to a folder in .htaccess when the referer IP