Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - Russian
> Topic
Advanced
Re: /index.php?do=register = deny all
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
locojohn
May 21, 2013 08:14PM
Registered: 13 years ago
Posts: 226
Наверное, вы этого не ждёте, но правильнее всего это было бы сделать в файле index.php:
<?php
....
if ($_REQUEST['do'] == 'register') {
header($_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
printf("Access denied.\n");
exit;
}
....
?>
Андрей
Reply
Quote
RSS
Subject
Author
Posted
/index.php?do=register = deny all
Vipper
May 20, 2013 01:10PM
Re: /index.php?do=register = deny all
locojohn
May 21, 2013 08:14PM
Re: /index.php?do=register = deny all
Валентин Бартенев
May 21, 2013 09:24PM
Re: /index.php?do=register = deny all
Vipper
May 22, 2013 04:20AM
Re: /index.php?do=register = deny all
Aleksandr Sytar
May 22, 2013 04:36AM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 121
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024