Jan 14
2022
.htaccess if statement
<If “%{REMOTE_ADDR} == ‘123.123.123.123’ || %{REMOTE_ADDR} == ‘456.456.456.456’”>
Options +Indexes
</If>
<Else>
Options -Indexes
</Else>
<If “%{REMOTE_ADDR} == ‘123.123.123.123’ || %{REMOTE_ADDR} == ‘456.456.456.456’”>
Options +Indexes
</If>
<Else>
Options -Indexes
</Else>