title: Syntax error in httpd.conf (Apache, MacOS X Yosemite)
body: <p>I can't start Apache webserver on Mac. If enter</p>
  
  <pre><code>    sudo apachectl start
  </code></pre>
  
  <p>it gives answer</p>
  
  <pre><code>    httpd: Syntax error on line 69 of /usr/local/etc/apache2/2.2/httpd.conf: Cannot load /usr/libexec/apache2/mod_cache.so into server: dlopen(/usr/libexec/apache2/mod_cache.so, 10): Symbol not found: _ap_condition_if_match\n  Referenced from: /usr/libexec/apache2/mod_cache.so\n  Expected in: flat namespace\n in /usr/libexec/apache2/mod_cache.so
  </code></pre>
  
  <p>After I commented in httpd.conf this line it gives same error about next one. Probably I have damaged httpd.conf and I used this to solve it:</p>
  
  <pre><code>   sudo cp /etc/apache2/original/httpd.conf /etc/apache2/httpd.conf
  </code></pre>
  
  <p>But it didn't work. When I start apache again it gives same answer. I think I have some damaged version of Apache on my Mac. What's going on and how to solve it? Please help me.</p>