XML Sitemaps Generator

Author Topic: 500 Internal Server Error When Saving Config Settings  (Read 22604 times)

petermcphee

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
500 Internal Server Error When Saving Config Settings
« on: May 03, 2007, 01: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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 Internal Server Error When Saving Config Settings
« Reply #1 on: May 03, 2007, 02:10:16 PM »
Hello,

don't you have Apache's mod_security installed? Possibly it prevents storing the settings on configuration page.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

petermcphee

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: 500 Internal Server Error When Saving Config Settings
« Reply #2 on: May 04, 2007, 01: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 admins only]"] [uri "/generator/index.php"] [unique_id "Rjss80KYph8AAAMrBs0"]

Any ideas what this means?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 Internal Server Error When Saving Config Settings
« Reply #3 on: May 04, 2007, 11:19:48 PM »
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

petermcphee

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: 500 Internal Server Error When Saving Config Settings
« Reply #4 on: May 06, 2007, 09:27:03 AM »
Yes that was the problem. Now it is saving.

Thanks!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: 500 Internal Server Error When Saving Config Settings
« Reply #5 on: May 07, 2007, 01:21:26 PM »
Great!
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2