On Sun, Sep 6, 2009 at 4:54 PM, Markus Wolfmakuswol...@yahoo.com wrote:
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 address matches
--- On Mon, 9/7/09, Krist van Besien krist.vanbes...@gmail.com 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
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
On Mon, Sep 7, 2009 at 1:15 PM, Markus Wolfmakuswol...@yahoo.com wrote:
--- On Mon, 9/7/09, Krist van Besien krist.vanbes...@gmail.com 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
On Mon, Sep 7, 2009 at 1:15 PM, Markus Wolfmakuswol...@yahoo.com wrote:
--- On Mon, 9/7/09, Krist van Besien krist.vanbes...@gmail.com wrote:
What do you actually mean with the referer IP address.
Sorry, yes, it should have said REMOTE_IP.
You can do something like that with rewrite rules.
--- On Mon, 9/7/09, Krist van Besien krist.vanbes...@gmail.com 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.
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