title: error starting apache 2.4 with mod_jk
body: <p>For reference I used this guide to setup integration between tomcat 7 and apache 2.4, with the mod_jk. <a href="https://www3.ntu.edu.sg/home/ehchua/programming/howto/ApachePlusTomcat_HowTo.html" rel="nofollow">https://www3.ntu.edu.sg/home/ehchua/programming/howto/ApachePlusTomcat_HowTo.html</a></p>
  
  <p>When opening cmd in windows and doing a: c:\Apache24\bin> httpd -k start I get the follow error</p>
  
  <p>httpd: Syntax error on line 526 of C:/Apache24/conf/httpd.conf: Syntax error on line 1 of C:/Apache24/conf/mod_jk.conf: Cannot load modules/mod_jk.so into server: access denied.</p>
  
  <p>Below is the two files which has syntax errors.</p>
  
  <p>mod_jk.config</p>
  
  <blockquote>
    <p>LoadModule jk_module modules/mod_jk.so</p>
    
    <p>JkWorkersFile C:/Program Files/Apache Software Foundation/Tomcat
    7.0/conf/workers.properties</p>
    
    <p>JkLogFile C:/Program Files/Apache Software Foundation/Tomcat 7.0/logs</p>
    
    <p>JkLogLevel info</p>
    
    <p>JkOptions +ForwardkeySize +ForwardURICompat +ForwardDirectories</p>
    
    <p>JkRequestLogFormat "%w %V %T"</p>
    
    <p>JkMount /rehavoc ajp13 jkMount /rehavoc/* ajp13</p>
  </blockquote>
  
  <p>httpd.config</p>
  
  <blockquote>
    <p></p>
    
    <p>include C:/Apache24/conf/mod_jk.conf</p>
  </blockquote>
  
  <p>Tomcat 7 is properly setup(I hope) Since I can in tomcat manager, deploy a war file with a test servlet running and see it work on the localhost/url.</p>
  
  <p>Apache 2.4 should also be working seeing my web site is live and can be accessed on the web(just a simple hello world html).</p>
  
  <p>Operating system is vista.</p>
  
  <p>Also, have I understood correctly that with these three 'services' will I be able to deploy a war file into apache htdocs, including jsp/servlets and it will have no trouble running on my site?</p>
  
  <p>Any help is appreciated.</p>