Re: [users@httpd] How to allow from SERVER_ADDR ?

2013-07-22 Thread BUGHUNTER
Hi, This could work, as could If in 2.4, but not allow from %{SERVER_ADDR}. What did you try w/ setenvif? I tried all possible syntax variations for accessing environment variables that I was able to derive from the docs, but could not make it work. It would be great if anybody could

[users@httpd] How to allow from SERVER_ADDR ?

2013-07-16 Thread BUGHUNTER
Hi, I did not find a solution for this: I want to restrict access to certain files to requests coming from the same public ip address the server is running on, like so: files wp-login.php order deny,allow deny from all allow from xx.xx.xx.xx /files To make it more maintainable I would like

Re: [users@httpd] How to allow from SERVER_ADDR ?

2013-07-16 Thread Eric Covener
I tried syntax variations, also combined with SetEnfIf but still no success. This could work, as could If in 2.4, but not allow from %{SERVER_ADDR}. What did you try w/ setenvif? -- Eric Covener cove...@gmail.com - To

[users@httpd] How to allow from SERVER_ADDR ?

2013-07-15 Thread BUGHUNTER
Hi, I did not find a solution for this: I want to restrict access to certain files to requests coming from the same public ip address the server is running on, like so: files wp-login.php order deny,allow deny from all allow from xx.xx.xx.xx /files To make it more maintainable I would like