Htaccess File

stan0206/hello/master/web/.htaccess

REQUEST_FILENAME
#DirectoryIndex index.php

<IfModule mod_rewrite.c>
  RewriteEngine on
  # If a directory or a file exists, use it directly
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  # Otherwise forward it to index.php
  RewriteRule . index.php
  RewriteBase /~stan/hello/web
</IfModule>
Exit mobile version