mjpearson/peptalk/master/.htaccess - Htaccess File

mjpearson/peptalk/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /peptalk_git/peptalk/

    RewriteCond %{THE_REQUEST} ^(GET|HEAD) .*js/([a-z]+).([a-z0-9]+).js HTTP/ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule js/([a-z]+).([a-z0-9]+).js ./js/$1.js.php

    RewriteCond $1 !^(index.php|resources|robots.txt)
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^/]+)(/?)(([^/]+))?$ ./index.php?controller=$1&view=$3 [QSA]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
GET, REQUEST_FILENAME, THE_REQUEST

Comments

Apache