Welcome! Log In Create A New Profile

Advanced

How to password protect /administrator/ and run php on subfolders

How to password protect /administrator/ and run php on subfolders
October 23, 2013 03:21PM
Hello,

Can someone explain how to password protect directory /administrator/ and let runs php in all subdirectories.

I can protect /administrator/ but if I try to run /administrator/app2/test.php it is not running.

Please post right code into response.

I runs php5-fpm.


Very thanks.



Edited 1 time(s). Last edit at 10/23/2013 03:26PM by servidoresadmin.com.
Re: How to password protect /administrator/ and run php on subfolders
March 06, 2014 03:22PM
Hi, we solve it.

Only think u have to be shure is to run all php code under <?php

If your code run under <? will not run

Thanks,

www.servidoresadmin.com
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 109
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready