upload.htaccess 617 B

123456789101112131415161718192021
  1. <IfModule mod_php4.c>
  2. php_flag engine Off
  3. </IfModule>
  4. <IfModule mod_php5.c>
  5. php_flag engine Off
  6. </IfModule>
  7. <IfModule mod_php6.c>
  8. php_flag engine Off
  9. </IfModule>
  10. <IfModule mod_cgi.c>
  11. Options -ExecCGI
  12. </IfModule>
  13. RemoveHandler .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
  14. RemoveType .cgi .pl .py .pyc .pyo .phtml .php .php3 .php4 .php5 .php6 .pcgi .pcgi3 .pcgi4 .pcgi5 .pchi6 .inc
  15. SetHandler None
  16. SetHandler default-handler
  17. # Remove both lines below if you want to render HTML files from the upload folder
  18. AddType text/plain .html
  19. AddType text/plain .htm