Htaccess File

dane-yeah/diploma/master/.htaccess

SCRIPT_FILENAME
RewriteEngine On

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

RewriteRule ^(.*)$ index.php [L]
#RewriteRule ^protected/(.*)$ protected/ajax.php [L]

#Custom error pages.
ErrorDocument 400 /protected/view/errors/400.php
ErrorDocument 401 /protected/view/errors/401.php
ErrorDocument 403 /protected/view/errors/403.php
ErrorDocument 404 /protected/view/errors/404.php
ErrorDocument 500 /protected/view/errors/500.php
Exit mobile version