[SOLVED][Drupal Errors] 403, 404, 406, 500 or "Page not found" errors when submitting content with specific phrases

| | 1 min read

Many Drupal programmers, Drupal site admins and Drupal site users have encountered 403, 404, 406, 500 or "Page not found" errors when submitting content with specific phrases. If you are facing the same situation in your Drupal site then read on to find out more.

This error is usually caused by the filter settings in the Apache module mod_security. The module scans for phrases like lynx, perl, mother, select from, table, cc: etc. Here are the steps to fix the error.

  • Request your host to decrease the security level
  • You can also add the following lines of code to .htaccess if your hosting provider allows that.
    # Turn off mod_security filtering.
    <IfModule mod_security.c>
      SecFilterEngine Off
    </IfModule>

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.