PHP Classes

File: .htaccess

Recommend this page to a friend!
  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: 8 years ago
Size: 672 bytes


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 mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
    ExpiresActive on
    ExpiresDefault A604800
For more information send a message to info at phpclasses dot org.