V
V
Vadim9972014-10-08 18:47:17
PHP
Vadim997, 2014-10-08 18:47:17

How to disable display of php pages that are in another directory in htaccess?

If you do this:

<FilesMatch ".(htaccess|htpasswd|ini|php|fla|psd|log|sh)$">
 Order Allow,Deny
 Deny from all
 </FilesMatch>

then all php pages will not be displayed, but I need it in a certain directory.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sali_cat, 2014-10-08
@Sali_cat

write down this file there where you want not to show inf.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question