title: Routing url in Yii2 with xampp
body: <p>My basic project is in <code>C:\xampp\htdocs\site.local\www</code>
  I can run my app whith <code>http://site.local/basic/web/index.php</code>
  But I want run it as <code>http://site.local/index.php</code>
  How can I solve this problem?
  I changes my <code>httpd.conf</code>  :</p>
  
  <pre><code>DocumentRoot "C:/xampp/htdocs/site.local/www/basic/web"
  &lt;Directory "C:/xampp/htdocs/site.local/www/basic/web"&gt;
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . index.php
  AllowOverride All
  Require all granted
  &lt;/Directory&gt;
  </code></pre>
  
  <p>But it doesn't work </p>