• Welcome to Sitemap Generator Forum.
 

500 Internal Server Error When Saving Config Settings

Started by petermcphee, May 03, 2007, 02:08:54 PM

Previous topic - Next topic

petermcphee

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.

XML-Sitemaps Support

Hello,

don't you have Apache's mod_security installed? Possibly it prevents storing the settings on configuration page.

petermcphee

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 "www.mydomain.com"] [uri "/generator/index.php"] [unique_id "Rjss80KYph8AAAMrBs0"]

Any ideas what this means?

XML-Sitemaps Support

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.

petermcphee

Yes that was the problem. Now it is saving.

Thanks!