danielsaidi/pico-mvc/master/.htaccess - Htaccess File

danielsaidi/pico-mvc/master/.htaccess

Options -Indexes
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$  pico/pico.php?controller=$1&action=$2    [NC,L,QSA]
RewriteRule ^([a-zA-Z0-9_-]+)$            pico/pico.php?controller=$1&action=index  [NC,L,QSA]
RewriteRule ^$                    pico/pico.php?controller=home&action=index  [NC,L,QSA]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache