sebastianjonasson/phpmvcprojekt/master/webroot/.htaccess
# http://httpd.apache.org/docs/current/mod/core.html#errordocument
#ErrorDocument 404 /404.php
ErrorDocument 404 "This is a Anax 404. Document is not here."
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
#RewriteBase /~sejb14/phpmvc/phpmvcprojekt/webroot/
RewriteBase /phpmvcprojekt/webroot/
RewriteRule ^user/(.*)$ user.php/$1 [L]
RewriteRule ^questions/(.*)$ questions.php/$1 [L]
RewriteRule ^setup$ setup.php/ [L]
RewriteRule ^about$ about.php/ [L]
RewriteRule ^login$ login.php/login [L]
RewriteRule ^logout$ login.php/logout [L]
RewriteRule ^registrera$ login.php/registrera [L]
RewriteRule ^source$ source.php/$1 [L]
RewriteRule ^users/(.*)$ user.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.+) setup.php/$1 [L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file