--- 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.
---
On Mon, Sep 7, 2009 at 1:15 PM, Markus Wolf wrote:
>
>
> --- 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.
You can do something like that with rewrite rules. however,
RewriteRules operate on URLs,
On Mon, Sep 7, 2009 at 1:15 PM, Markus Wolf wrote:
>
>
> --- 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 di
> > 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
--- 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.
--
On Sun, Sep 6, 2009 at 4:54 PM, Markus Wolf 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 the first part
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