: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/usieve/stoopidsimple.com/includes/common.inc on line 1782.
: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/usieve/stoopidsimple.com/includes/common.inc on line 1782.
mod_security + drupal | stoopidsimple.com

mod_security + drupal

salem | 2005-10-04 02:33

I use PHP embedded in my Drupal content. This can cause problems with mod_security ("Internal server error", number 500).

The problem is that Drupal sends Edit content back to the server via the POST method. If your content has <?php> in it then it will probably get flagged as a security error.

If your hosting provider allows .htaccess overides then you can add lines to get arround the default rules. However, the security considerations are considerable. And as I have been recently reminded, I am not a security expert. Therefore instead of giving recomendations, here is the authoritative reference for mod_security.

Lfhex

Tonality

User login

Navigation

PHP

Kccmp

Java

Homestar

Slashdot


Advertisement