miyukki/ApplestFramework/develop/public/.htaccess - Htaccess File

miyukki/ApplestFramework/develop/public/.htaccess

DirectoryIndex index.html index.php
<IfModule mod_rewrite.c>
  RewriteEngine on

  # Send request via index.php (again, not if its a real file or folder)
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d

  # deal with php5-cgi first
  <IfModule mod_fcgid.c>
    RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
  </IfModule>

  <IfModule !mod_fcgid.c>

    # for normal Apache installations
    <IfModule mod_php5.c>
      RewriteRule ^(.*)$ index.php/$1 [L]
    </IfModule>

    # for Apache FGCI installations
    <IfModule !mod_php5.c>
      RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
    </IfModule>

  </IfModule>

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache