adlnetworks/ttp-app/develop/public/tentupagina.com/ttp/.htaccess - Htaccess File

adlnetworks/ttp-app/develop/public/tentupagina.com/ttp/.htaccess

#----------------------------------------------------------
#  App server config
#  ttp-app.htaccess
#
#  '#!' Means switching between development & prodction
#___________________________________________________________

   # Necessary to prevent problems when using a controller named "index" and having a root index.php
   # more here: http://stackoverflow.com/q/20918746/1114320
  Options -MultiViews

   # turn rewriting on
  RewriteEngine On

   # When using the script within a sub-folder, put this path here, like /TEST/php-login/
   # If your app is in the root of your web folder, then please delete this line or comment it out

  RewriteBase /1/ADL/ttp/public/tentupagina.com/ttp/
#!  RewriteBase /ttp/

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-l

  RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache