Login   Register  
PHP Classes
elePHPant
Icontem

File: .htaccess

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of sutomo  >  Logos MVC  >  .htaccess  >  Download  
File: .htaccess
Role: Auxiliary data
Content type: text/plain
Description: htaccess
Class: Logos MVC
MVC framework that stores data in flat files
Author: By
Last change:
Date: 2013-11-08 04:47
Size: 672 bytes
 

Contents

Class file image Download
Options +FollowSymLinks
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^http://localhost/logos [NC]
    RewriteRule ^(.*)$ http://localhost/logos/$1 [L,R=301]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^([a-zA-Z0-9-_]*)/?([a-zA-Z0-9-_]*)?/?([a-zA-Z0-9-_]*)?/?([a-zA-Z0-9-_]*)?/?([a-zA-Z0-9-_]*)?/?$ index.php?page=$1&aksi=$2&s1=$3&s2=$4&s3=$5 [NC,L]
    </IfModule>
    <ifmodule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
    </ifmodule>
    ExpiresActive on
    ExpiresDefault A604800