ziadloo/JSAMI/master/webroot/.htaccess - Htaccess File

ziadloo/JSAMI/master/webroot/.htaccess

##
 #   Copyright 2012 Mehran Ziadloo & Siamak Sobhany
 #   Pomegranate Framework Project
 #   (http://www.sourceforge.net/p/pome-framework)
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 #   You may obtain a copy of the License at
 #
 #       http://www.apache.org/licenses/LICENSE-2.0
 #
 #   Unless required by applicable law or agreed to in writing, software
 #   distributed under the License is distributed on an "AS IS" BASIS,
 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 #   See the License for the specific language governing permissions and
 #   limitations under the License.

SetEnv APPLICATION_ENV development
SetEnv CONFIG_FILE "/var/www/virtual-hosts/jsami/offweb/config/config.ini"
SetEnv PACKAGE_ROOT "/var/www/virtual-hosts/jsami/offweb/packages"

RewriteEngine on
RewriteRule .* - [E=HTTP_IF_MODIFIED_SINCE:%{HTTP:If-Modified-Since}]
RewriteRule .* - [E=HTTP_IF_NONE_MATCH:%{HTTP:If-None-Match}]
RewriteRule ^(.*/)?([^:-]+)(-([^:]+))?:([^/]+)/([^?]+) $1server.php?Request=$2&RawIndex=$4&Response=$5&Path=$6 [QSA,L]

On Github License

Files

Download PDF of Htaccess file
ENV, If-Modified-Since, If-None-Match

Comments

Apache