News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Search results for: <IfModule mod_security.c>

Search order
......  got a strange error recently. I noticed from one moment to the other, my  ............ . I investigated that the error is present in case the filename and parameters are removed from  ............  page urls. That is: if I type my sitename "Congovibes.com", I get error 500. But if I type ' ............ .com/index.php', the site loads. But only the main  ............  other pages, I get HTTP error 500 again, simply because I have Pretty URL mod ON, and it rewrites all  ............  to solve the issue by going to the maintenance page (where the URL is not rewritten), and  ............  the Cache (Pretty URL is set to use cache not the  ............ , but there is still something I worry about: recently I asked a technician to look into my forum  ............  with too high bandwidth (200GB per month). He changed two things:  1. He used this modification  ............  change querystring.php to avoid PHP SESSION ID for  ............ : https://www.simplemachines.org/community/index.php?topic=410891.0  I  ............  there you don't recommend this modification. So should I redo it?  2.  ............  noticed that bots are very active on my forum, so he  ............  some lines into .htaccess to stop them. This is my .htaccess now:  Code  ............ # PRETTYURLS MOD BEGINS # Pretty URLs mod # http://code.google.com/p/prettyurls/ # .htaccess file  ............  automatically on: July 16, 2022, 11:10  RewriteEngine on  ............  /  #disable bad crawlers RewriteCond %{HTTP_USER_AGENT} inetdex [NC............ ] RewriteCond %{HTTP_USER_AGENT} MJ12bot [NC,OR] RewriteCond  ............ %{HTTP_USER_AGENT} SemrushBot [NC,OR] RewriteCond %{HTTP_USER_AGENT} SentiBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} SeznamBot [NC,OR]  ............  %{HTTP_USER_AGENT} YaK/ [NC,OR] RewriteCond %{HTTP_USER_AGENT} YandexBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} coccocbot [NC,OR]  ............  %{HTTP_USER_AGENT} bitlybot [NC,OR] RewriteCond %{HTTP_USER_AGENT} Mail.Ru [NC,OR] ............  RewriteCond %{HTTP_USER_AGENT} Baidu [NC,OR] RewriteCond %{ ............ } Jakarta [NC,OR] RewriteCond %{HTTP_USER_AGENT} seostar.co [NC............ ] RewriteCond %{HTTP_USER_AGENT} Neticle [NC,OR] RewriteCond  ............ %{HTTP_USER_AGENT} AhrefsBot [NC,OR] RewriteCond %{HTTP_USER_AGENT} DotBot [NC,OR]  ............  %{HTTP_USER_AGENT} Bytespider [NC,OR] RewriteCond %{HTTP_USER_AGENT} Sogou [NC,OR]  ............  %{HTTP_USER_AGENT} Exabot [NC,OR] RewriteCond %{HTTP_USER_AGENT} MauiBot [NC,OR] ............  RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]  ............  %{HTTP_USER_AGENT} Kinza [NC,OR] RewriteCond %{HTTP_USER_AGENT} PetalBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} AspiegelBot [NC,OR]  ............  %{HTTP_USER_AGENT} Aspeigel [NC,OR] RewriteCond %{HTTP_USER_AGENT} Neevabot  ............  ^.* - [F,L]  # Rules for: actions RewriteRule ^(activate|admin|announce| ............ |buddy|calendar|clock|collapse)/?$ ./index.php?pretty; ............ =$1 [L,QSA] RewriteRule ^(coppa|credits|deletemsg|display|dlattach|editpoll| ............ |emailuser)/?$ ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(findmember|forum| ............ |groups|help|helpadmin|hidetopic|im)/?$ ./index.php?pretty;action=$1 [L,QSA]  ............  ^(jseditor|jsmodify|jsoption|lock|lockvoting|login|login2|logout)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(markasread| ............ |mlist|moderate|modifycat|modifykarma|movetopic|movetopic2)/?$ ./index. ............ ?pretty;action=$1 [L,QSA] RewriteRule ^(notify|notifyboard| ............ |post2|printpage|profile)/?$ ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(quotefast|quickmod| ............ |recent|register|register2|reminder|removepoll)/?$ ./ ............ .php?pretty;action=$1 [L,QSA] RewriteRule ^(removetopic2| ............ |requestmembers|restoretopic|search|search2|sendtopic|smstats)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(suggest|spellcheck| ............ |stats|sticky|theme|trackip|about:mozilla)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(about:unknown|unread| ............ |verificationcode|viewprofile|vote|viewquery|viewsmfile)/?$ ............  ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(who|\.xml|xmlhttp)/?$ ............  ./index.php?pretty;action=$1 [L,QSA]  # Rules for: boards RewriteRule ^( ............ .php?pretty;board=$1.$2 [L,QSA]  # Rules for: topics RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$ ............ -zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA] RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/ ............ |msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]  # PRETTYURLS MOD ENDS  <IfModule  ............ .c>  # Turn off mod_security filtering.   ............  is not needed, but better safe than sorry.  SecFilterScanPOST Off </IfModule>  This was really  ............  because my bandwidth fell from 10GB per day to 1GB.  ............  I am not sure the code was added correctly, as you see it was copied  ............  the code of PrettyURL.  I wonder if any of these  ............  could result in the recent HTTP Error 500 problems  ............  the cache?  What do you think?  ......
#2
SMF 2.0.x Support / why mod security off in htaccess
December 26, 2020, 05:13:05 PM by Nodaz
......  checking htaccess on several SMF sites, one had  ............  entry: Code Select Expand <IfModule mod_security.c>  ............  Off SecFilterScanPOST Off </IfModule> Any particular  ............  to have it or not? I dont recall adding it, perhap a mod?  ......
......  the first time on the main page (website.com), but are then redirected back to the index  ............  (website.com/index.php) and are forced to login again (this  ............  being successful). They receive no error messages.  My  ............ . Based on what users said previously, it may be because my .htaccess file is incorrect. That said,  ............  is that... Am I incorrectly changing it to HTTPS from HTTP and could  ............  be the problem? Code Select Expand RewriteEngine On RewriteCond %{ ............ )$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]   <IfModule mod_security.c>  # Turn off mod_security  ............ .  SecFilterEngine Off   # The next part below probably  ............  not needed, but better safe than sorry.  SecFilterScanPOST Off </IfModule>  php_value  ............ .use_trans_sid off  php_flag session.use_only_cookies on Running 2.0.15 still. ......
#4
Español (Spanish) / Error 403 Forbidden
January 18, 2020, 09:33:22 PM by braiton
...... .  Bueno en un principio era un problema que no le tome importancia,  ............  ya con los días fue bastante molesto por que no me  ............  hacer casi nada y así ha sido hasta el día de hoy.   ............  visto en google varios temas antiguos donde especifica primero si tiene los privilegios 755 las  ............  y 644 los archivos verifique cada uno y si lo tienen, luego vi  ............  tema donde me decia que era el "Mod_Security" cree en el directorio  ............  .htaccess con el siguiente codigo Code Select Expand < ............  mod_security.c>  # Desactive el filtrado mod_security.   ............  Off   # La siguiente parte a continuación probablemente no sea necesaria, pero  ............  mejor prevenir que curar.  SecFilterScanPOST Off </IfModule> Pero el  ............  sigue estando y ya no se que hacer, a la gente le aburre tambien.  Por favor si  ............  sabe alguna otra opción!!   Link del foro: hxxp:www.foro.editemospes. ............  [nonactive] ......
#5
SMF 2.0.x Support / Re: getting error 403 Forbidden
November 10, 2015, 08:58:46 AM by irishcoffee
......    Changed .htaccess following the link provided above  ............ (http://wiki.simplemachines.org/smf/Mod_security_- ............ ) i.e. inserted on the top of each page the code: ------------------------- < ............  mod_security.c>  # Turn off mod_security filtering.   ............  is not needed, but better safe than sorry.  SecFilterScanPOST Off </IfModule> -------------------- ............ -  but still receive the same error:  "403 Forbidden Access to  ............  resource on the server is denied!"  Any other suggestions? ............   Thanks!  Ps: upgraded to 2.0.11 version and checked CHMOD for all folders (0744) and files ( ......
#6
...... ,  I have done a lot of research into this error and spent a long time  ............  saying when they try to register on my site or click a link they receive  " Forbidden  You don't  ............  permission to access /index.php on this server.  Additionally, a  ............  Not found error was encountered while trying to use an ErrorDocument to  ............  but others didn't. I have tried inserting a file called htaccess with the following in the file: < ............  mod_security.c>  # Turn off mod_security filtering. SMF is  ............  big boy, it doesn't need its hands held.  SecFilterEngine Off   # The below probably isn't  ............ , but better safe than sorry.  SecFilterScanPOST Off </IfModule>  I even tried using  ............ . php and setting it all to the recommended settings.  Please help, as it is a  ............  deterrent to my service and users  Thank  ......
#7
Modifications and Packages / Re: Optimus
February 14, 2022, 03:31:32 PM by @rjen
...... , I tried using the htaccess editor, just to find that it completely  ............  my htaccess file...  Open htaccess and make no changes,  ............  save it and it breaks my sye access completely...  It seems to strip all  ............  within < > tags... such as <IfModule mod_security.c> and <IfModule  ............ .c>  attached the .htaccess file before and after  ......
#8
SMF 1.1.x Support / Having .htaccess issues
March 29, 2013, 09:35:09 AM by discjocke
......  to edit this file.   "The page you are trying to access is restricted due to a security rule.  If you  ............  the security rule is affecting the normal operation of  ............  website, you can disable it by adding the following lines to  ............  .htaccess file:  <IfModule mod_security.c># Turn the  ............  engine On or OffSecFilterEngine Off</IfModule......
#9
......  is happening every once in a while to myself and my friends who are  ............  site, when we go to log in we get this error which I will list below. If we click the back page  ............  what I need to do.  The page you are trying to access is restricted due to a security rule.  If you  ............  the security rule is affecting the normal operation of  ............  website,  you can disable it by adding the following lines to  ............  .htaccess file:  <IfModule mod_security.c> # Turn the  ............  engine On or Off SecFilterEngine Off </IfModule......
#10
SMF 2.0.x Support / Hard time to post in forum
September 20, 2012, 07:32:58 PM by PamS
......  keep getting this   The page you are trying to access is restricted due to a security rule.  If you  ............  the security rule is affecting the normal operation of  ............  website,  you can disable it by adding the following lines to  ............  .htaccess file:  <IfModule mod_security.c> # Turn the  ............  engine On or Off SecFilterEngine Off </IfModule>  does anyone know  ......
#11
......  hosts have begun installing something called mod_security. This filters posts and URLs  ............  certain key words, and if they are found, spits out  ............  error. Many people are experiencing problems because of this. Problems include  ............  "403" or access denied errors, login problems, and similar.   ............ , if I were to post this:  QuoteHave you ever used cURL? You can find information about it at http:// ............ .haxx.se/. More specifically, libcurl is useful for accessing URLs in  ............  program - it could be helpful if you're a programmer. On a  ............  with mod_security enabled, I'd get an error. This error wouldn't  ............  preventable by SMF, because it's created by the server and Apache, before  ............  host... it may be possible to disable this unnecessary and unwanted behavior. Since SMF is able  ............  blindly grasping at keywords, doing so should be completely safe. If you don't trust me, live with  ............  false positives or talk to your host to have the mod_security filtering rules changed.  To try to disable it,  ............  a file with the name "htaccess.txt" and put the following in it:  Code  ............  Expand <IfModule mod_security.c>  # Turn off mod_security  ............  is a big boy, it doesn't need its hands held.  SecFilterEngine Off   # The below probably isn't  ............ , but better safe than sorry.  SecFilterScanPOST Off </IfModule> Upload it to your  ............ , and then rename it to ".htaccess" (that's right, it starts with a dot.) If  ............ , and add the above to it (top or bottom.) Create a backup, though, before overwriting  ............  files?  If your host doesn't allow you to disable mod_security, the forum will no longer load. Don't fret if  ............  happens, just delete the .htaccess file or replace it with the backup you made.  ............  this does happen you will not be able to disable mod_security's filtering.  -[Unknown] ......
#12
SMF 1.1.x Support / log in problem
July 12, 2012, 03:17:03 AM by kefalosaddict
...... , hope this is the right place to post this.Some of my members are receiving  ............ ..  ################## The page you are trying to access is restricted due to a security rule.   If  ............  believe the security rule is affecting the normal operation of  ............  website,  you can disable it by adding the following lines to  ............  .htaccess file:  <IfModule mod_security.c> # Turn the  ............  engine On or Off SecFilterEngine Off </IfModule>  ##################### ............ #  I am not technical minded and only run a forum for people who  ............  in a certain place. If they get this message when they  ............  in, then click on the "Back" button then click on "Home" on  ............  get in to the forum. Is there some way that I can stop this happening or is it down to their  ............  settings ? I never get this on my home comp or laptop, but did get it when I was using a  ............  at an internet cafe on holiday, Any helkp would be much  ......
#13
Français (French) / Erreur login/logout
May 03, 2012, 11:29:18 AM by wanoo
......  tous et toutes,  Je viens de faire mon forum, avec la dernière version de SMF (2.0.2), j'ai tout  ............  en local pour ajusté mon thème et prendre en main ce  ............ . Tout marchais très bien jusqu'à je le déplace sur mon Host ( ............ ) qui après ré-réglages des chemins et petit bug me voila opérationnelle.  Mais  ............  bug est apparus, à chaque fois qu'il y à une connexion/déconnexion je  ............  retrouve sur un ecran blanc de crash. Après plusieur F5 sa reviens,  ............  ce n'est pas viables.  Pour le moment sa ne marche  ............ , mais j'ai testé :  Réinstallation complète Activation/désactivation du cache  ............ /Désactivation des session gérer par la DB ajout dans  ............  .htaccess de Code Select Expand <IfModule mod_security............ >  SecFilterEngine Off  SecFilterScanPOST Off </ ............  table pour faire peur à firefox   Bref je suis a cours d'idées, bien que je pense que c'est juste un  ............  de php vis à vis du serveur de LWS, Merci de votre aide.  a+ ......
...... , 02:09:18 PMSo, it looks like you have two distinct problems that you are trying to deal with, @Sono. ............  problem is that some idiots are trying to trick your site into redirecting requests to other  ............  websites. This isn't actually working for them, because your site  ............  refuses to do that. But whatever mindless script they have running just keeps hammering away.   ............  second problem is that something about those weird  ............  is triggering error messages in SMF, which are clogging up your error log.  The second  ............  is one that the support team here can try to help with. But for the first, you might  ............  to talk to your host. The advice you have been given above about blocking certain  ............  is good, but the heavy and sustained attack you are being subjected to may require more  ............  protection. Your host will be in the best position to  ............  are multiple problems here. One problem I noticed meanwhile is that strangely there seems to be  ............  URL mod. I uninstalled it, but I found my .htaccess looks like this:  Code Select Expand #  ............  MOD BEGINS # Pretty URLs mod # http://code.google.com/p/prettyurls/ # .htaccess file  ............  automatically on: January 15, 2024, 23:12  RewriteEngine on  ............  /  # Rules for: actions RewriteRule ^(activate|admin|announce| ............ |buddy|calendar|clock|collapse)/?$ ./index.php?pretty; ............ =$1 [L,QSA] RewriteRule ^(coppa|credits|deletemsg|display|dlattach|editpoll| ............ |emailuser)/?$ ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(findmember|forum| ............ |groups|help|helpadmin|hidetopic|im)/?$ ./index.php?pretty;action=$1 [L,QSA]  ............  ^(jseditor|jsmodify|jsoption|lock|lockvoting|login|login2|logout)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(markasread| ............ |mlist|moderate|modifycat|modifykarma|movetopic|movetopic2)/?$ ./index. ............ ?pretty;action=$1 [L,QSA] RewriteRule ^(notify|notifyboard| ............ |post2|printpage|profile)/?$ ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(quotefast|quickmod| ............ |recent|register|register2|reminder|removepoll)/?$ ./ ............ .php?pretty;action=$1 [L,QSA] RewriteRule ^(removetopic2| ............ |requestmembers|restoretopic|search|search2|sendtopic|smstats)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(suggest|spellcheck| ............ |stats|sticky|theme|trackip|about:mozilla)/?$ ./index.php? ............ ;action=$1 [L,QSA] RewriteRule ^(about:unknown|unread| ............ |verificationcode|viewprofile|vote|viewquery|viewsmfile)/?$ ............  ./index.php?pretty;action=$1 [L,QSA] RewriteRule ^(who|\.xml|xmlhttp)/?$ ............  ./index.php?pretty;action=$1 [L,QSA]  # Rules for: boards RewriteRule ^( ............ .php?pretty;board=$1.$2 [L,QSA]  # Rules for: topics RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$ ............ -zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA] RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/ ............ |msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]  # PRETTYURLS MOD ENDS  <IfModule  ............ .c>  # Turn off mod_security filtering.   ............  is not needed, but better safe than sorry.  SecFilterScanPOST Off </IfModule>  I wonder if this  ............  the error log sections related to Pretty URL? Many of the logs are  ............  this, I don't know if it was just left there accidentally, or it is for rewriting old URLs stored  ............  Pretty URL form:  Code Select Expand // Pretty URLs need to be  ............   ob_start('ob_sessrewrite');  $context['pretty']['search_patterns'][] = '~(<link>|< ............ >|<comments>|<guid>)([^#<]+)~';  $context['pretty'][ ............ 'replace_patterns'][] = '~(<link>|<id>|<comments>|<guid>)( ............ ' || isset($_REQUEST['debug']))  header('Content-Type: text/xml; charset=' . (empty($context[ ............ 'character_set']) ? 'ISO-8859-1' : $context[' ............  || $xml_format == 'rss2' || $xml_format == 'webslice')  header('Content-Type: application/rss+ ............ ; charset=' . (empty($context['character_set']) ? ' ............ -8859-1' : $context['character_set']));  elseif ($xml_format  ............ == 'atom')  header('Content-Type: application/atom+xml; charset=' . ( ............ ($context['character_set']) ? 'ISO-8859-1' : $context[ ............ 'character_set']));  elseif ($xml_format == 'rdf') ............   header('Content-Type: ' . ($context['browser']['is_ie'] ? ' ............ /xml' : 'application/rdf+xml') . '; charset=' . (empty($context[' ............ ']) ? 'ISO-8859-1' : $context['character_set'])); About the avatars I  ......
......  .htaccess in /forum or /forumtest. public_html has  ............  -  Code Select Expand  RewriteEngine on Options All - ............  DirectoryIndex index.php index.html index.htm  < ............  mod_rewrite.c> RewriteEngine off RewriteCond %{REQUEST_FILENAME} ............  !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{ ............ } !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{ ............ } !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ RewriteCond %{ ............ /\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^ index.php [L] </ ............ >  <IfModule mod_security.c> # Turn off mod_security filtering. ............  is a big boy, it does not need its hands held. SecFilterEngine Off  # The below probably isn't  ............ , but better safe than sorry. SecFilterScanPOST Off </IfModule>  # php -- BEGIN  ............  handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. ............  <IfModule mime_module>  AddHandler application/x-httpd-ea- ............  .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not  ............    Above public_html is this -  Code Select Expand  # Use PHP71  ............  default AddHandler application/x-httpd-php71 .php   No change if both are  ......
#16
......  from: Sir Osis of Liver on December 30, 2024, 11:44:50 AM.htaccess -  Code  ............  Expand  # 301 REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW <IfModule  ............ .c> RewriteEngine On RewriteCond %{HTTPS} off [OR]  ............  %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]  ............  ^ https://%1%{REQUEST_URI} [L,NE,R=301] </IfModule>    Thank you ,  Thank you i found the old  ............  file and this is what it contains. im not sure how or why and whether i  ............  any of this or just add what you have suggested.  Code Select Expand " ==== RewriteEngine On  ............  %{HTTP_HOST} greenfieldlakeshoa\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^ ............ (.*)$ https://www.greenfieldlakeshoa.com/$1 [R,L]  <IfModule mod_security.c>  ............  Off SecFilterScanPOST Off </IfModule> ====  # php --  ............  cPanel-generated handler, do not edit # Set the "ea- ............ " package as the default "PHP" programming language. < ............  mime_module>  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml </ ............ > # php -- END cPanel-generated handler, do not edit "  ......
......  from: shawnb61 on March 14, 2021, 07:53:43 PMA random question or two -   ............  is the value in password_salt on the members record for the user who is attempting to log on? 4  ............  32?  It's 32 characters with RC3 and 4 with RC2  Quote from:  ............  on March 14, 2021, 07:53:43 PM- Have you looked in the  ............  error log? Any clues?   As far as I can see I don't have access to  ............  apache log.  Quote from: shawnb61 on March 14, 2021,  ............ :53:43 PMMy leading theory atm is that it is a mod_security failure. That particular error message comes  ............  ONE place only... It's pretty deep in there, you are  ............  past setting id & password. It is now checking the cookie, but failing a basic test on  ............  member ID vs the cookie. But it looks like the member ID is being  ............  from the POST, something that mod_sec does...  Your host should be able to see that in  ............  logs & disable that particular rule. It may even show up in your apache log. ............   And a mod_security failure at this point would behave the same for  ............  the migration itself at all. That would also be consistent with what you're seeing.  OK well I've  ............  had a chat with them and they are convinced it's the  ............  settings. I have attached the conversation text from the chat but  ............  the op said QuoteI have checked and see that it is not the server end  ............ , its SMF settings.Can you please off "Use subdomain independent  ............ " and check if that works ? Which one of the columns in  ............  to that setting?    Quote from: shawnb61 on March 14, 2021, 07:53:43 PMYou may be able to verify  ............  disabling mod_security yourself in your .htaccess file, e.g., something  ............ : Code Select Expand <IfModule mod_security.c>   ............  Off  SecFilterScanPOST Off </IfModule> If I make that  ............  would I need to reinstall RC3 again or should it work straight away? if it's  ............  latter then it didn't work  What effect would it have if I turned off all the cookie  ......
#18
......  forgot to mention that the bad crawlers part is not by Prettyurls, it was added by  ............  friend. So In case I want to leave that in, the code must look  ............ :  Code Select Expand RewriteEngine on RewriteBase /  # ............  bad crawlers RewriteCond %{HTTP_USER_AGENT} inetdex [NC............ ] RewriteCond %{HTTP_USER_AGENT} MJ12bot [NC,OR] RewriteCond  ............ %{HTTP_USER_AGENT} SemrushBot [NC,OR] RewriteCond %{HTTP_USER_AGENT} SentiBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} SeznamBot [NC,OR]  ............  %{HTTP_USER_AGENT} YaK/ [NC,OR] RewriteCond %{HTTP_USER_AGENT} YandexBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} coccocbot [NC,OR]  ............  %{HTTP_USER_AGENT} bitlybot [NC,OR] RewriteCond %{HTTP_USER_AGENT} Mail.Ru [NC,OR] ............  RewriteCond %{HTTP_USER_AGENT} Baidu [NC,OR] RewriteCond %{ ............ } Jakarta [NC,OR] RewriteCond %{HTTP_USER_AGENT} seostar.co [NC............ ] RewriteCond %{HTTP_USER_AGENT} Neticle [NC,OR] RewriteCond  ............ %{HTTP_USER_AGENT} AhrefsBot [NC,OR] RewriteCond %{HTTP_USER_AGENT} DotBot [NC,OR]  ............  %{HTTP_USER_AGENT} Bytespider [NC,OR] RewriteCond %{HTTP_USER_AGENT} Sogou [NC,OR]  ............  %{HTTP_USER_AGENT} Exabot [NC,OR] RewriteCond %{HTTP_USER_AGENT} MauiBot [NC,OR] ............  RewriteCond %{HTTP_USER_AGENT} ia_archiver [NC,OR]  ............  %{HTTP_USER_AGENT} Kinza [NC,OR] RewriteCond %{HTTP_USER_AGENT} PetalBot [NC............ ] RewriteCond %{HTTP_USER_AGENT} AspiegelBot [NC,OR]  ............  %{HTTP_USER_AGENT} Aspeigel [NC,OR] RewriteCond %{HTTP_USER_AGENT} Neevabot  ............  ^.* - [F,L]   <IfModule mod_security.c>  # Turn off mod_security  ............ .  SecFilterEngine Off   # The next part below  ............  is not needed, but better safe than sorry.  SecFilterScanPOST Off </IfModule>[/cide]  Correct, or  ......
......  can try this in forum root -  Code Select Expand  #  ............  REDIRECT HTTP TO HTTPS AND WWW TO NON-WWW <IfModule  ............ .c> RewriteEngine On RewriteCond %{HTTPS} off [OR]  ............  %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]  ............  ^ https://%1%{REQUEST_URI} [L,NE,R=301] </IfModule>   May be able to disable mod_security in control  ............ , or ask host to disable it (good luck).  Quote from: Arantor on January 21, 2024, 11: ............ :05 AMThe fact your host appears to be incompetent would  ......
...... mod_security is a known issue with SMF, and it isn't the  ............  if at all possible, disable it for your page. it can often be done in your htaccess... if you can't  ............  your host- ask them to provide you with the configuration they use so it can be socialized here  ............  more knowledgeable than me over it's 'better' configuration.   if you wish to attempt shutting  ............  your host let's you get by with it (they may not care?) enter in your htaccess: Code Select Expand < ............  mod_security.c>  SecFilterEngine Off  SecFilterScanPOST Off < ............ /IfModule>   ......
Advertisement: