Strange behaviour of phpBB3 URL access restriction by IP address
July 04, 2011 09:26PM
Hi,

I've got a "location /" with many rewrite ruels, and I add it (at the end):
location ~ ^.*\/adm {
allow 192.168.1.50;
deny all;
}
It is working very well BUT when machine 192.168.1.50 tries to go to admin page, the browser ask me if I want to download index.php!?
What is wrong?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 139
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready