a3gz/a3gFw/master/.htaccess - Htaccess File

a3gz/a3gFw/master/.htaccess

###
# .htaccess
#
# @author Alejandro Arbiza <alejandro@roetal.com>
#
# Copyright (C)    Alejandro Arbiza
#
# This file is part of a3gFramework.
#  
# a3gFramework 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 version 3 of the License.
#
# a3gFramework 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.
# 
# You should have received a copy of the GNU General Public License
# along with a3gFramework.    If not, see <http://www.gnu.org/licenses/>.
### 

###
# php_value upload_max_filesize 1000M
# php_value post_max_size 1050M
###

###
# Rewrite conditions to make index.php the entry point of every request sent to the system.
# The requested resource is decided inside the code by the request parser. 
#
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
    # NON-SAAS aplications use the rule below 
  RewriteRule ^(.*)$ index.php?r=$1 [QSA,L]
    # SAAS aplications use the rule blow: 
  # RewriteRule ^([^/]+)/?(.*)$ index.php?saascid=$1&r=$2 [QSA,L]
</IfModule>
###

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache