oat-sa/package-tao/master/.htaccess - Htaccess File

oat-sa/package-tao/master/.htaccess

Options +FollowSymLinks

<IfModule mod_rewrite.c>
RewriteEngine On
SetEnv HTTP_MOD_REWRITE on

#don't match resources and tests
RewriteCond %{REQUEST_URI}   !/views/    [NC]
RewriteCond %{REQUEST_URI}   !/tao/install/  [NC]
RewriteCond %{REQUEST_URI}  !/tao/getFile.php  [NC]

#call entry point for url resolving and framework bootstrap
RewriteRule ^(.*)$ index.php [L]

#required by token based access system
RewriteCond %{REQUEST_URI} (.*)/tao/getFile.php/  [NC]
RewriteRule ^(.*)$ tao/getFile.php [L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache