PHP Classes

File: Mezon/Cli/Res/Create/htaccess.tpl

Recommend this page to a friend!
  Classes of Alexey Dodonov  >  Mezon CLI  >  Mezon/Cli/Res/Create/htaccess.tpl  >  Download  
File: Mezon/Cli/Res/Create/htaccess.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Mezon CLI
Create files for Mezon framework applications
Author: By
Last change:
Date: 9 months ago
Size: 402 bytes
 

Contents

Class file image Download
# use mod_rewrite for pretty URL support
RewriteEngine on

RewriteRule ^Cron/(.*)$ Cron/$1 [L]
RewriteRule ^Include/(.*)$ Include/$1 [L]
RewriteRule ^Res/(.*)$ Res/$1 [L]
RewriteRule ^vendor/(.*)$ vendor/$1 [L]

RewriteRule ^Res/Images/(.*)$ Res/Images/$1 [L]
RewriteRule ^([a-z0-9A-Z_\/\.\-\@%\ :,]+)/?(.*)$ index.php?r=$1&%{QUERY_STRING} [L]
RewriteRule ^/?(.*)$ index.php?r=index&%{QUERY_STRING} [L]
For more information send a message to info at phpclasses dot org.