All files named "configure.php" are not working normally

I found a problem in using all the files named “configure.php”.
It seems that all the files named “configure.php” cannot be read and cannot be written.
Here are two examples with the same code:
This is noraml:http://beifeng.talk4fun.net/config.php
This is abnormal:http://beifeng.talk4fun.net/configure.php
Could some one please tell me how to fix it?

Writing the files seems to be working normally. However, it does seem that reading the files through a browser doesn’t work.

I’m not 100% sure, but I would guess that this is an intentional security measure enforced on the hosting platform. After all, files like config.php and configure.php are usually used to store configuration values, and if one particular script exposed sensitive data this way and caused many sites to be hacked, that would be reason for us to take action.

2 Likes

Thank you for your reply.
But some projects I create need to directly access “configure. PHP”. Is there any way to remove this restriction?

Sadly, no. Control over security rules is only available on premium hosting.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.