title: htaccess directoryindex redirect looking for css wrong place
body: <p>Hello in my htaccesss file i put this code to ensure that my directory index file is set to</p>
  
  <p>v2013/index.html</p>
  
  <p>so i put this code</p>
  
  <pre><code>DirectoryIndex v2013/index.html
  </code></pre>
  
  <p>Then i Want it to look like mydomain.com/Welcome, so i add..</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^Welcome$ v2013/index.html [L]
  </code></pre>
  
  <p>My question is why DirectoryIndex not working anymore.. and how can i tell the browser to look for the css inside v2013, because is looking in the root. ( i think because of rewrite)  SO MY PAGE IS UNSTYLE.. =(</p>
  
  <p>In other words is looking for www.domain.com/css/sheet.css insted of</p>
  
  <p>www.domain.com/v2013/css/sheet.css</p>
  
  <p>THE ANSWER HERE:</p>
  
  <p>FINAL CODE</p>
  
  <pre><code>DirectoryIndex v2013/index.html
  
  RewriteEngine On
  
  # exclude files already asking for v2013
  RewriteCond %{REQUEST_URI} !^/v2013/
  RewriteRule ^css/.*$ /v2013/$0
  RewriteRule ^js/.*$ /v2013/$0
  RewriteRule ^images/.*$ /v2013/$0
  
  RewriteRule ^Bienvenido$ v2013/index.html [L]
  </code></pre>