/deny)
Alas those along with If I cannot use, as I am trying to find a way to
rewrite
If %{HTTP_HOST} !~ /radioscanningtw\.jidanni\.org/i
Deny from all
/If
so it will work in Apache 2.2.9!
-
To unsubscribe, e-mail: users
Yes I am looking for some if test I can use that also works in
subenvironments. If works great but Dreamhost is still at 2.2.9.
SetEnvIf works great, but not in subenvironments.
Alas, it seems there really are no other methods
$ w3m -dump
\.jidanni\.org/i
SetEnv blockme 1
/If
Order Deny,Allow
Deny from all
Allow from env=!blockme
works, but
If %{HTTP_HOST} =~ /radioscanningtw\.jidanni\.org/i
SetEnv good 1
/If
Order Deny,Allow
Deny from all
Allow from env=good
doesn't, as noted in
https://issues.apache.org/bugzilla/show_bug.cgi?id=55957
I just tried == instead of the = in
SetEnvIf host abj\.jidanni\.org let_me_in
Order Deny,Allow
Deny from all
Allow from env=let_me_in
the result was that the test totally failed always. So == is not correct.
AVF == Antonio Vidal Ferrer antonio.vi...@globalia-sistemas.com
writes:
AVF Have
I need a way to write the perfectly working Apache 2.4 .htaccess,
If %{HTTP_HOST} !~ /radioscanningtw\.jidanni\.org/i
Deny from all
/If
to also be able to work correctly for Apache 2.2.9. Thanks.
SetEnvIf etc. cannot be used: please see
https://issues.apache.org/bugzilla/show_bug.cgi?id=55957