title: RewriteEngine On - Internal Server Error
body: <p>i have issue with Linux server.</p>
  
  <p>Configuration:
  Linux server 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u2 i686</p>
  
  <p>Apache/2.2.22 (Debian)</p>
  
  <p>PHP/5.4.39-0+deb7u2</p>
  
  <p>ModRewrite is turned on (a2enmod)</p>
  
  <p>Me htaccess looks like:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  Options -MultiViews +SymLinksIfOwnerMatch
  
  #RewriteEngine On
  RewriteBase /var/www/git
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php/$1 [L,NC]
  &lt;/IfModule&gt;
  &lt;Files config.ini&gt;
  order allow,deny
  deny from all
  &lt;/Files&gt;
  </code></pre>
  
  <p>When i uncomment #RewriteEngine On i get Internal Server Error</p>
  
  <p>Me sites-available in Apache looks like:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/git
  ServerName git.server.com
  Alias /git /var/www/git
  
  RewriteLog /var/log/apache2/rewrite.log
  RewriteLogLevel 5
  
  &lt;Directory /var/www/git&gt;
      Options FollowSymLinks
      AllowOverride All
      Order allow,deny
      allow from all
  &lt;/Directory&gt;
  
  ErrorLog ${APACHE_LOG_DIR}/error.log
  
  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel warn
  
  CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Do you have any idea to solve the issue?
  Thank you</p>