alldevtools
Intern
Intern
  • UID5183
  • Fans0
  • Follows0
  • Posts2
Reads:68518Replies:5

php files not satisfying htaccess rules

Created#
More Posted time:Jul 27, 2018 20:02 PM
Hello,


I'm trying to deny access to php files of specific folder, but it appears that all the htaccess rules are not applied for php files.
Even if i try with a simple one line:

deny from all

The rule is satisfied but not for php files.
Any advise please,

Thank you

alldevtools
Intern
Intern
  • UID5183
  • Fans0
  • Follows0
  • Posts2
1st Reply#
Posted time:Jul 27, 2018 22:58 PM
Thank you GhulamQadir for the reply.I agree with you, but as I said before, i have tried the simpliest condition ever , wich is a non conditional deny rule.

deny from all

The rule is working fine for all type of files, except for files with .php extension.

I believe it's something related to the hosting configuration, but i can't figure out if it's customizable in the hosting console or not.



Regards,
Guest