e9c9d8b22b
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@293 b3834d28-1941-0410-a4f8-b48e95affb8f
35 lines
920 B
ApacheConf
35 lines
920 B
ApacheConf
#####################################
|
|
# the first part of this file is used if you configure your scuttle for nice urls
|
|
# (see $cleanurls in config.inc.php)
|
|
#####################################
|
|
|
|
|
|
# Rewrite clean URLs onto real files
|
|
<IfModule mod_rewrite.c>
|
|
Options +FollowSymlinks
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME}.php -f
|
|
RewriteRule ^([^/.]+)/?(.*)$ $1.php/$2 [QSA,L]
|
|
</IfModule>
|
|
|
|
|
|
#####################################
|
|
# This second part is used to speed-up the application
|
|
#####################################
|
|
|
|
<IfModule mod_expires.c>
|
|
ExpiresActive On
|
|
|
|
ExpiresByType image/ico "access plus 15 days"
|
|
ExpiresByType image/png "access plus 15 days"
|
|
ExpiresByType image/gif "access plus 15 days"
|
|
ExpiresByType text/js "access plus 15 days"
|
|
ExpiresByType text/css "access plus 15 days"
|
|
</IfModule>
|
|
|
|
|
|
<IfModule mod_deflate.c>
|
|
#<FilesMatch "\.(js|css)$">
|
|
SetOutputFilter DEFLATE
|
|
#</FilesMatch>
|
|
</IfModule>
|