Advertisement
navotera

httpd config in upload folder

Dec 14th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. order allow,deny
  2. <Files ~ "\.(jpg|jpeg|png|gif|pdf|txt|bmp|JPG|JPEG|PNG|GIF|PDF|TXT|BMP)$">
  3.    allow from all
  4. </Files>
  5.  
  6. <FilesMatch "\.(?:inc|php|py|php5|php4|php3|rb|js|phtml|PHP|PY|PHP5|PHP4|PHP3|RB|JS|PHTML)$">
  7. Order allow,deny
  8. Deny from all
  9. #php_flag engine off
  10. </FilesMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement