Sponis/agirini/master/plugins/system/jch_optimize/assets/.htaccess - Htaccess File

Sponis/agirini/master/plugins/system/jch_optimize/assets/.htaccess

###
# JCH Optimize - Joomla! plugin to aggregate and minify external resources for 
#   optmized downloads
# @author Samuel Marshall <smarshall@cwjamaica.com>
# @copyright Copyright (c) 2010 Samuel Marshall
# @license GNU/GPLv3, See LICENSE file 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# If LICENSE file missing, see <http://www.gnu.org/licenses/>. 
# 
# This plugin, inspired by CssJsCompress <http://www.joomlatags.org>, was
# created in March 2010 and includes other copyrighted works. See individual 
# files for details.
###

#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test the plugin.  If it works,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use
RewriteEngine On

#
## If it doesn't work try uncommenting RewriteBase and specify the path to the jscss.php file below
##
# RewriteBase /plugins/system/jch_optimize/assets/

########### Begin Rewrite CSS & Javascript urls ############
#
RewriteRule ^(gz|nz)/([^/]+)/([^/]+).(js|css)$ jscss.php?f=$3&type=$4&gz=$1&d=$2
#
########### End Rewrite CSS & Javascript urls ###########

On Github License

Files

Download PDF of Htaccess file

Comments

Apache