MyBB Community Forums

Full Version: Mybb Forum Spam
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2015-10-12, 12:20 AM)Josh H. Wrote: [ -> ]
(2015-10-11, 09:10 AM)gamejump Wrote: [ -> ]
(2015-09-02, 05:05 PM)laie_techie Wrote: [ -> ]You should probably configure your web server to serve any file with php as an extension in your uploads folder as text/plain.

from admin panel or server settings let me know

Server settings.

nothing happens the same things continue  Confused Confused
Could you provide us what you have in your .htaccess file?
here it is as you requested

http://pastebin.com/zqzLjckJ
Try adding:
(Note: This is a mix of Googling and my modification of a solution. It may result in errors - let me know if it does.)
<FilesMatch "uploads/*\.php$">
  ForceType text/plain
</FilesMatch>
(2015-10-19, 03:34 AM)Josh H. Wrote: [ -> ]Try adding:
(Note: This is a mix of Googling and my modification of a solution. It may result in errors - let me know if it does.)
<FilesMatch "uploads/*\.php$">
  ForceType text/plain
</FilesMatch>


Added the code but what it does can you explain please
Thank you  Smile
(2015-10-20, 04:13 PM)gamejump Wrote: [ -> ]
(2015-10-19, 03:34 AM)Josh H. Wrote: [ -> ]Try adding:
(Note: This is a mix of Googling and my modification of a solution. It may result in errors - let me know if it does.)
<FilesMatch "uploads/*\.php$">
  ForceType text/plain
</FilesMatch>


Added the code but what it does can you explain please
Thank you  Smile

FilesMatch says that this block of configuration applies to files which match the pattern (eg. .php files in the uploads directory). The ForceType configuration says to always send matching files with the given MIME type (the MIME type tells the browser how to handle a resource). text/plain is plain text (eg. treat it as a .txt file). In essence, this prevents your server from executing the .php file.
this code not helping in any way

see this http://puu.sh/kT4o4/f4aec7407e.png

Please help
See

still the spams are going http://puu.sh/l0NHZ/a9ab0d353e.png
Pages: 1 2