Title: Internal Server Error &#8211; While posting Code
Last modified: August 18, 2016

---

# Internal Server Error – While posting Code

 *  [stuartc1](https://wordpress.org/support/users/stuartc1/)
 * (@stuartc1)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-while-posting-code/)
 * Im having a big problem trying to post code to my blog.
    I’ve used it with rich
   text editor on and off – same problem.
 * Im using the latest version and everything else works fine.
 * For example if I try and post some javascript it give me a Internal Server error.
   But If I post just plain text it works fine.
 * I’ve check my .htaccess file – but that is empty!!
 * I’ve also tried to add print_r($_GET);die; at the top of post.php in the admin
   but that also gets the same error.
 * Im running it on Fedora with Apache and using the latest version of wordpress(
   not an upgrade).
 * Not sure what us happening here, any ideas???

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [stuartc1](https://wordpress.org/support/users/stuartc1/)
 * (@stuartc1)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-while-posting-code/#post-350675)
 * BTW – if you search this site with ‘server error’ without the quotes – it give
   a XML error (try search, the when no results are found try the same search in
   the bigger search box)
 * Im not having much luck – error after error ;(
 *  Thread Starter [stuartc1](https://wordpress.org/support/users/stuartc1/)
 * (@stuartc1)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-while-posting-code/#post-350859)
 * Please – anyone? surely Im not the onlyone with this problem.
 *  Thread Starter [stuartc1](https://wordpress.org/support/users/stuartc1/)
 * (@stuartc1)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-while-posting-code/#post-350929)
 * OK – It’s obviously not a big problem to many people yet.
 * If anyone is interested – reason for this problem is due to an apache module 
   which is becoming more popular – called mod_security. This security feature prevents
   certain words from being accepted into the Server.
 * To solve this, update the mod_security conf file – or add new rules to a folders.
   htaccess file (you can disable per directory).
 * Search google for ‘mambo mod_security’ there is a good forum post on how to do
   this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Internal Server Error – While posting Code’ is closed to new replies.

## Tags

 * [internal](https://wordpress.org/support/topic-tag/internal/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 1 participant
 * Last reply from: [stuartc1](https://wordpress.org/support/users/stuartc1/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/internal-server-error-while-posting-code/#post-350929)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
