BrokenLegs/GreenCircleOnline/master/.htaccess - Htaccess File


# Apache configuration file

# Note: ".htaccess" files are an overhead for each request. This logic should
# be placed in your Apache config whenever possible.

# Turning on the rewrite engine is necessary for the following rules and
# features. "+FollowSymLinks" must be enabled for this to work symbolically.

<IfModule mod_rewrite.c>
  #Options +FollowSymLinks
  RewriteEngine On

# For all files not found in the file system, reroute the request to the
# "index.php" front controller, keeping the query string intact

<IfModule mod_rewrite.c>
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  #tar man bort frågetecknet får man ett php/sql error. är den där får man "missing authorization code"
  RewriteRule ^(.*)$ index.php/$1 [L]

On Github License


Download PDF of Htaccess file