File: Web/.htaccess

Recommend this page to a friend!
  Classes of Burge Lab  >  Burge CMF  >  Web/.htaccess  >  Download  
File: Web/.htaccess
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Burge CMF
Framework to publish managed content
Author: By
Last change: hit counter correction
Date: 1 year ago
Size: 1,270 bytes
 

Contents

Class file image Download
#RewriteEngine On
#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} ^www\. [NC]
#RewriteRule ^ http%{ENV:protossl}://burge\.pro%{REQUEST_URI} [QSA,L,R=301]

ExpiresActive On
ExpiresByType image/gif "access plus 1 months"
ExpiresByType image/jpg "access plus 1 months"
ExpiresByType image/jpeg "access plus 1 months"
ExpiresByType image/png "access plus 1 months"
ExpiresByType image/x-icon "access plus 1 months"
ExpiresByType image/ico "access plus 1 months"
ExpiresByType application/javascript "now plus 1 months"
ExpiresByType application/x-javascript "now plus 1 months"
ExpiresByType text/javascript "now plus 1 months"
ExpiresByType text/css "now plus 1 months"
ExpiresByType audio/mpeg "access plus 1 months"
ExpiresByType audio/wav "access plus 1 months"
ExpiresByType audio/wave "access plus 1 months"
ExpiresByType audio/x-wav "access plus 1 months"
ExpiresByType audio/x-pn-wav	"access plus 1 months"
ExpiresByType video/mp4 "access plus 1 months"

#ExpiresDefault "access plus 1 days"

DirectoryIndex index.php

Options -Indexes 

RewriteEngine on
RewriteCond $1 !^(index\.php|images|scripts|styles|upload|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]


For more information send a message to info at phpclasses dot org.