title: Session lost on htaccess rewrite
body: <p>Juste found out that each time my url is rewritten through .htaccess CakePhp is initializing a new session for my user.</p>
  
  <p>Here is my htaccess content :</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;    
  RewriteCond %{REQUEST_URI} !^/Campagne(.+)Virale/ [NC]
  RewriteRule ^(.*)$  Campagne\ Virale/$1   [L,NE]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>My session settings are as follow :</p>
  
  <pre><code>'Session' =&gt; [
      'defaults' =&gt; 'cake',
      'timeout' =&gt; 6000,
      'ini' =&gt; [
          'session.cookie_secure' =&gt; false
      ]
  ],
  </code></pre>
  
  <p>So when accessing <a href="https://exemple.com/" rel="nofollow">https://exemple.com/</a> a new session is created while <a href="https://exemple.com/Campagne%20Virale/" rel="nofollow">https://exemple.com/Campagne%20Virale/</a> works just fine.</p>
  
  <p>Any idea why?  Thanks for your time.</p>