|
|
![]() |
|||
    So I keep getting a "500 Internal Server Error" on this one script. Why I don't know...it works fine 99% of the time, so I narrow it down to one page of data. (its all dynamic forms for editing products that's paginated). and then down to one piece of data, and finally down to one sentence....with this sentence in the paragraph....I get a 500 Internal Server Error, I take this sentence out and it works great.....this confueses me.....so I do what I should have done first and check out the error_log, and I see this:
[Tue Feb 6 09:48:54 2007] [error] [client 127.0.0.1] mod_security: Access denied with code 500. Pattern match "(insert[[:space:]]+into.+values|select.*from.+[a-z|A-Z|0-9]|select.+from|bulk[[:space:]]+insert|union.+select|convert.+\\\\(.*from)" at POST_PAYLOAD [id "300016"][rev "2"] [msg "Generic SQL injection protection"] [severity "CRITICAL"] [hostname "localhost"] [uri "/product_categories.php"]
Lesson number one: Kids...check the error log first...it can save you a lot of time.
That is all. There are no comments for this post yet.
|
|||||
|
Server has been up: 151 days 3 hrs 37 mins and 53 secs Built in 0 secs.
|
|||||