500 Internal Server Error When Saving Config Settings
« on: May 03, 2007, 02:08:54 PM »
Hi, I just purchased this product and I'm having a little trouble saving the configurations.

I set the file permissions correctly, however, when I hit the "save" button I am returned with the 500 Internal Server Error. I check the Apache error log but it is empty.

I have worked around it by manually editing the config file on my PC and FTP it back to the server...just wondering if anybody had seen this before?

Great product by the way, I love it, thanks!

Peter.
Re: 500 Internal Server Error When Saving Config Settings
« Reply #1 on: May 03, 2007, 03:10:16 PM »
Hello,

don't you have Apache's mod_security installed? Possibly it prevents storing the settings on configuration page.
Re: 500 Internal Server Error When Saving Config Settings
« Reply #2 on: May 04, 2007, 02:02:23 PM »
Yes, I do have mod_security installed.

Here is the log file when I attempt to save the config settings:

[Fri May 4 05:54:14 2007] [error] [client 220.239.253.8] mod_security: Access denied with code 500. Pattern match "[^-a-zA-Z0-9._]tar[^-a-zA-Z0-9._=/&\\\\+]" at POST_PAYLOAD [severity "EMERGENCY"] [hostname "[ External links are visible to forum administrators only ]"] [uri "/generator/index.php"] [unique_id "Rjss80KYph8AAAMrBs0"]

Any ideas what this means?
Re: 500 Internal Server Error When Saving Config Settings
« Reply #3 on: May 05, 2007, 12:19:48 AM »
In your case mod_security is configured to disallow any request that contains ".tar" in it. You can avoid this by removing tar from the "Exclude from sitemap extensions" in sitemap generator configuration.
Re: 500 Internal Server Error When Saving Config Settings
« Reply #4 on: May 06, 2007, 10:27:03 AM »
Yes that was the problem. Now it is saving.

Thanks!