title: mod_rewrite not working in xampp in ubuntu 14.04
body: <p>I am using Xampp on ubuntu 14.04 lts. The mod_rewite feature of xampp is not working.I have rewrite conditions and its depending rewite rule.</p>
  
  <p>Even my apache access log , apache error log and rewrite logs are not generating in the desired path which I mentioned in virtual host file.</p>
  
  <p>my httpd.conf have following lines</p>
  
  <pre><code> ServerRoot "/opt/lampp"
      Listen 80
  
      #some more modules were also loaded
      LoadModule rewrite_module modules/mod_rewrite.so
  
      DocumentRoot "/opt/lampp/htdocs"
      &lt;Directory "/opt/lampp/htdocs"&gt;
  
        Options Indexes FollowSymLinks ExecCGI Includes
        AllowOverride All
        Require all granted
  
      &lt;/Directory&gt;
  &lt;Files ".ht*"&gt;
          Require all denied
  &lt;/Files&gt;
  
  &lt;IfModule dir_module&gt;
      #DirectoryIndex index.html
      # XAMPP
      DirectoryIndex index.html index.html.var index.php index.php3 index.php4
  &lt;/IfModule&gt;
  
  ErrorLog "logs/error_log"
  
  &lt;IfModule log_config_module&gt;
  
     LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
     LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common
  
     &lt;IfModule logio_module&gt;
       # You need to enable mod_logio.c to use %I and %O
       LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
     &lt;/IfModule&gt;
  
     CustomLog "logs/access_log" common
  
  &lt;/IfModule&gt;
  
  EnableMMAP off
  EnableSendfile off
  
  Include etc/extra/httpd-multilang-errordoc.conf
  
  # Fancy directory listings
  Include etc/extra/httpd-autoindex.conf
  Include etc/extra/httpd-default.conf
  
  # Configure mod_proxy_html to understand HTML4/XHTML1
  &lt;IfModule proxy_html_module&gt;
  Include etc/extra/proxy-html.conf
  &lt;/IfModule&gt;
  
  # Secure (SSL/TLS) connections
  &lt;IfModule ssl_module&gt;
  # XAMPP
  &lt;IfDefine SSL&gt;
  Include etc/extra/httpd-ssl.conf
  &lt;/IfDefine&gt;
  &lt;/IfModule&gt;
  
  &lt;IfModule ssl_module&gt;
  SSLRandomSeed startup builtin
  SSLRandomSeed connect builtin
  &lt;/IfModule&gt;
  
  # XAMPP
  Include etc/extra/httpd-xampp.conf
  </code></pre>
  
  <p>and my httpd-vhost.conf file have following lines </p>
  
  <pre><code> &lt;VirtualHost *:80&gt;
      AddType application/x-httpd-php .html .php
      DocumentRoot "/opt/lampp/htdocs"
      ErrorLog "/mnt/logs/apache-error.log"
      CustomLog "/mnt/logs/apache-access.log" combined
      #RewriteLog "/mnt/logs/rewrite.log"
      RewriteEngine On
      RewriteLogLevel 9
      RewriteLog "/mnt/logs/rewrite.log"
  
      RewriteCond %{REQUEST_URI} ^.*/advertiser/
      RewriteRule ^.*(html|php)  /myProject/advertiser/view/html/index.html 
  
  
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>my rewrite rules are not working. I dont know what I am missing.</p>