mloberg/Tea-Fueled-Does/master/public/.htaccess - Htaccess File

mloberg/Tea-Fueled-Does/master/public/.htaccess

### Set Server Environment ###
  SetEnv ENV DEVELOPMENT

### Turn errors on by default (can be turned off later) ###
  php_flag display_errors on

### Rewrite on ###
  RewriteEngine On

### Not recommended to have the content and tfd folder in the root, but if you needed to ###
  RewriteRule ^content/(.*)$ 404 [L]
  RewriteRule ^tfd/(.*)$ 404 [L]

### Point all non-existing requests to index.php ###
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?tfd_request=$1&%{QUERY_STRING}

On Github License

Files

Download PDF of Htaccess file
ENV, QUERY_STRING, REQUEST_FILENAME

Comments

Apache