title: Laravel route() redirect to http://localhostarticle
body: <p>Why may Laravel route() redirect to <a href="http://localhostarticle" rel="nofollow">http://localhostarticle</a> instead <a href="http://localhost/article" rel="nofollow">http://localhost/article</a></p>
  
  <p><strong>blog.conf</strong></p>
  
  <pre><code>DocumentRoot /var/www/blog/public
  ErrorLog ${APACHE_LOG_DIR}/blog/error.log
  CustomLog ${APACHE_LOG_DIR}/blog/access.log combined
  &lt;Directory "/var/www/blog/public"&gt;
      Options Indexes MultiViews FollowSymlinks
      AllowOverride All
      Order allow,deny
      Allow from All
  &lt;/Directory&gt;
  </code></pre>
  
  <p><strong>.htaccess</strong></p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  
  &lt;IfModule mod_negotiation.c&gt;
      Options -MultiViews
  &lt;/IfModule&gt;
  
  RewriteEngine On
  RewriteBase /
  # Redirect Trailing Slashes...
  RewriteCond %{REQUEST_URI} !^
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  
  # Send requests to public directory...
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^ index.php [L]
  </code></pre>
  
  <p></p>