E
E
Eugene Khablak2018-03-22 13:04:26
htaccess
Eugene Khablak, 2018-03-22 13:04:26

How to make file access only with extension?

When accessing the
test.com/libs/css/main.css
path in the browser , the libs.php file script is executed, which lies next to the index.php file.
I need to make sure that the libs.php file can only be accessed by specifying the extension.
How to do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question