title: can't access subdomain for laravel htaccess?
body: <p>On my domain public directory is the laravel public directory.so there is index.php and htaccess file. but i want to access <code>mydomain.com/demo/</code>, where <code>demo</code> is a folder.its always redirect me to my home page as <code>mydomain.com</code> because of route rewrite . so how can i access folders in mydomain.com. my <code>htaccess</code> is followed. ...</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Redirect Trailing Slashes...
      RewriteRule ^(.*)/$ /$1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>thanks in advance</p>