wrsu/altercpa/master/work/.htaccess - Htaccess File

wrsu/altercpa/master/work/.htaccess

RewriteEngine On

# API
RewriteRule ^api/([a-z]+)/([a-z-]+).([a-z]+)/?  /?api=$1&f=$2&t=$3      [L,NC,QSA]
RewriteRule ^api/?                  /              [L,R=301]

# Redirects
RewriteRule ^go([0-9]+)$             /go.php?flid=$1         [L,QSA]

# Orders Processing
RewriteRule ^exto/([0-9]+)/([0-9a-z]+)?$    /add.php?a=ext&exti=$1&key=$2  [L,NC,QSA]
RewriteRule ^exto/([0-9]+)/?$          /add.php?a=ext&exti=$1      [L,NC,QSA]
RewriteRule ^neworder$              /add.php?a=add          [L,NC,QSA]

# Do Not Redirect The Files
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule .*                   -                 [L]
RewriteRule ^help/                -                [L]

# Index Pages
RewriteRule ^a-([a-z-]+)/([0-9]+)/?$      /?a=$1&id=$2          [L,NC,QSA]
RewriteRule ^a-([a-z-]+)/?$          /?a=$1              [L,NC,QSA]
RewriteRule ^([a-z-]+)/([0-9]+)/?$        /?m=$1&id=$2          [L,NC,QSA]
RewriteRule ^([a-z-]+)/?$            /?m=$1              [L,NC,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache