Apache Crashes when editing httpd.conf to load module
Posted: 30. December 2012 13:09
I'm trying to run mod_dosevasive so that I minimize the DOS attacks on my server (also to keep users from refreshing the page rapidly and crashing the server) and I did it by adding the loadmodule line inside httpd.conf, and dropping in the files into the modules folder. Now when I try to start apache, it crashes giving the usual -- Error: Apache shutdown unexpectedly. Now I checked my logs, but sometimes it doesn't even log the error. When it does, there's just notices and warnings such as:
And when I remove that LoadModule line, it works again.. Any help? I need to fix this ASAP
- Code: Select all
[ssl:warn] [pid 6960:tid 256] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[mpm_winnt:notice] [pid 6960:tid 256] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[mpm_winnt:notice] [pid 6960:tid 256] AH00456: Server built: Aug 18 2012 12:41:37
[core:notice] [pid 6960:tid 256] AH00094: Command line: 'c:\\xampp2\\apache\\bin\\httpd.exe -d C:/xampp2/apache'
[mpm_winnt:notice] [pid 6960:tid 256] AH00418: Parent: Created child process 3360
AH00548: NameVirtualHost has no effect and will be removed in the next release C:/xampp2/apache/conf/extra/httpd-vhosts.conf:36
[ssl:warn] [pid 3360:tid 1796] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[mpm_winnt:notice] [pid 3360:tid 1796] AH00354: Child: Starting 150 worker threads.
And when I remove that LoadModule line, it works again.. Any help? I need to fix this ASAP