T
T
theSever2016-11-18 06:12:08
htaccess
theSever, 2016-11-18 06:12:08

Command for htaccess to give php as a file?

What needs to be written in htaccess so that php files in the directory are given to the jump and not executed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bkosun, 2016-11-18
@theSever

php_value engine off

<Files *.php>
    ForceType application/x-httpd-php
    Header set Content-Disposition attachment
</Files>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question