Protecting admin.php and the install directory using htaccess

guclusat

Tanınmış Üye
Süper Moderatör
Protecting admin.php and the install directory using .htaccess

This resource is not affiliated with XenForo Ltd.

If you want to provide an extra layer of protection to admin.php and the /install directory, you can do so with .htaccess.


Protecting admin.php
To protect admin.php, edit the .htaccess file which is in your forum root directory (e.g. /community) and add the following to it:

Kod:
<Files admin.php>
AuthType Basic
AuthName "ACP"
AuthUserFile "path/to/passwd/file"
Require valid-user
</Files>

devamı ektedir
 

Eklentiler

Geri
Yukarı