Results 1 to 6 of 6
Thread: Modsecurity Rules & 500 Error
Hybrid View
-
11-04-2009, 10:05 PM #1WHT Addict
- Join Date
- Mar 2007
- Location
- India
- Posts
- 115
Modsecurity Rules & 500 Error
HI
I am having the Modsec 2.5.9 I am using the defaults rules by the cpanel when i try to update the rules along with default rules given by the cpanel i am getting internal server error (500 Error)
The rules i tried to implement are from
LENOVOhost Network Solutions, designs the technology of Tomorrow
RVSkins, Fantastico, 24/7 Support, FFMPEG, SLA Uptime, Daily Backups, End-User Support & More
Support Desk Software | Sales, Billing & Tech End-user Support | Hosting Templates
-
11-05-2009, 02:08 AM #2Eternal Learner
- Join Date
- Jul 2007
- Posts
- 2,051
Check the apache error log to find out what exactly is being blocked by Mod Security.
Prashant T.
Don't run after Success. Run after Excellence and Success will soon follow.
-
11-05-2009, 02:17 AM #3WHT Addict
- Join Date
- Mar 2007
- Location
- India
- Posts
- 115
LENOVOhost Network Solutions, designs the technology of Tomorrow
RVSkins, Fantastico, 24/7 Support, FFMPEG, SLA Uptime, Daily Backups, End-User Support & More
Support Desk Software | Sales, Billing & Tech End-user Support | Hosting Templates
-
11-05-2009, 10:57 AM #4WHT Addict
- Join Date
- Mar 2007
- Location
- India
- Posts
- 115
I am getting the https down getting the error
Syntax error on line 835 of /usr/local/apache/conf/modsec2.user.conf:
Error creating rule: Could not open phrase file "/usr/local/apache/conf/sql.txt": No such file or directory
If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
You should run /scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
Also be sure to examine apache's variouse log files.
Apache Restart Output:
Syntax error on line 835 of /usr/local/apache/conf/modsec2.user.conf:
Error creating rule: Could not open phrase file "/usr/local/apache/conf/sql.txt": No such file or directoryLENOVOhost Network Solutions, designs the technology of Tomorrow
RVSkins, Fantastico, 24/7 Support, FFMPEG, SLA Uptime, Daily Backups, End-User Support & More
Support Desk Software | Sales, Billing & Tech End-user Support | Hosting Templates
-
11-05-2009, 11:38 AM #5Eternal Learner
- Join Date
- Jul 2007
- Posts
- 2,051
You can check the Mod Security logs available in WHM to find out what rule is blocking the script and throwing the 500 internal server error.
Prashant T.
Don't run after Success. Run after Excellence and Success will soon follow.
-
11-05-2009, 11:50 AM #6WHT Addict
- Join Date
- Mar 2007
- Location
- India
- Posts
- 115
Hi
I am getting the httpd down tooLENOVOhost Network Solutions, designs the technology of Tomorrow
RVSkins, Fantastico, 24/7 Support, FFMPEG, SLA Uptime, Daily Backups, End-User Support & More
Support Desk Software | Sales, Billing & Tech End-user Support | Hosting Templates
Similar Threads
-
HOW TO : ModSecurity
By seeker2002 in forum Hosting Security and Technology TutorialsReplies: 16Last Post: 05-07-2011, 10:03 PM -
mod_rewrite rules causing 404 entries in error.log file
By chriswb in forum Programming DiscussionReplies: 2Last Post: 04-16-2009, 01:23 AM -
modsecurity 2.5.0
By xsupportx in forum Hosting Security and TechnologyReplies: 3Last Post: 02-22-2008, 04:30 PM -
Modsecurity custom error page?
By scottg111 in forum Hosting Security and TechnologyReplies: 4Last Post: 03-17-2006, 07:36 PM -
Overactive modsecurity rules help
By WestBend in forum Hosting Security and TechnologyReplies: 8Last Post: 03-28-2005, 03:46 PM