You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Curtis Maurand <cu...@maurand.com> on 2013/10/25 19:49:46 UTC

[users@httpd] dumb question

Apache is throwing a 500 error.  the log reads:

<path_to_site>/.htaccess: </IfModule> without matching <IfModule> section

It's a wordpress block and here is the .htaccess (which was working fine 
on another server.  ubuntu 12.04 LTS with Apache 2.2.22

The offending .htaccess file follows.  Anyone have any ideas?

# BEGIN WordPress

<IfModule mod_rewrite.c>

   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule . /blog/index.php [L]

</IfModule>


# END WordPress


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org