Parmifer/PanzerFramework/master/ProjetExemple/.htaccess
RewriteEngine On
RewriteRule ^login$ view/page/login.phtml [NC,L]
RewriteRule ^logout$ controller/page/logout.php [NC,L]
RewriteRule ^module/([A-Za-z0-9-]+)/([0-9]+)$ index.php?class=module&page=$1&id=$2 [NC,L]
RewriteRule ^module/([A-Za-z0-9-]+)$ index.php?class=module&action=$1 [NC,L]
RewriteRule ^exam/([A-Za-z0-9-]+)/([0-9]+)$ index.php?class=exam&page=$1&id=$2 [NC,L]
RewriteRule ^exam/([A-Za-z0-9-]+)$ index.php?class=exam&action=$1 [NC,L]
RewriteRule ^student/([A-Za-z0-9-]+)/([0-9]+)$ index.php?class=student&page=$1&id=$2 [NC,L]
RewriteRule ^student/([A-Za-z0-9-]+)$ index.php?class=student&action=$1 [NC,L]
RewriteRule ^administration/([A-Za-z0-9-]+)$ index.php?class=administration&page=$1 [NC,L]
RewriteRule ^([A-Za-z0-9-]+)$ index.php?page=$1 [NC,L]
<FilesMatch ".ph(p[2-6]?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
On Github License
Files