ozzyfant/Skies/master/.htaccess - Htaccess File

ozzyfant/Skies/master/.htaccess

########################
# Skies .htaccess file #
########################

# @author Janek Ostendorf (ozzy) <ozzy2345de@gmail.com>
# @copyright Copyright (c) Janek Ostendorf
# @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License, version 3

# Avtivate mod_rewrite
Options +FollowSymlinks
RewriteEngine on

# Rewrite $_GET, too
RewriteCond %{REQUEST_FILENAME} !-f

# Page given
# Everything => $_GET['__0']
RewriteRule ^(.*)$ index.php?__0=$1&%{QUERY_STRING}

## NGINX EQUIVALENT ##

#location / {
#  if (!-e $request_filename){
#    rewrite ^(.*)$ /index.php?__0=$1&$query_string;
#  }
#}

On Github License

Files

Download PDF of Htaccess file
GET, QUERY_STRING, REQUEST_FILENAME

Comments

Apache