h0ru5/rugtrain/master/.htaccess - Htaccess File

h0ru5/rugtrain/master/.htaccess

AddHandler x-httpd-php5 .php
<ifModule mod_deflate.c>
  <filesMatch ".(css|js|x?html?|php)$">
    SetOutputFilter DEFLATE
  </filesMatch>
</ifModule>

RewriteEngine On 
RewriteRule ^retro/([0-9]+|next)$ ./training.php?tid=$1 
RedirectMatch 301 ^/shiny/([0-9]+|next)$ /shiny/event.html?tid=$1 
RewriteRule ^cal/?$ ./res/calender.php [QSA] 
RewriteRule ^([0-9]+|next)$ ./train2.php?tid=$1 
RewriteRule ^([0-9]+|next)/([a-zA-Z]+)$ ./index.php?tid=$1&action=$2 [QSA,L]

AddCharset UTF-8 .html
AddCharset UTF-8 .php

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache