0
My 404 Pages are working normally, however...
When I type /" after my url, the default page of error 403 appears and not the one I did, the same happens for others like 500, when I type /%after the url
My htaccess:
RewriteEngine On
ErrorDocument 400 http://localhost/site%202/pages/400.php
ErrorDocument 401 http://localhost/site%202/pages/401.php
ErrorDocument 403 http://localhost/site%202/pages/403.php
ErrorDocument 404 http://localhost/site%202/pages/404.php
ErrorDocument 500 http://localhost/site%202/pages/500.php
Options -Indexes
NOTE: I have tried Rewritebase /, and gave the same error
OBS2: I have tried->
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
Options -Indexes
And there was an even worse mistake, when I put something random after the url it returns the home page of localhost, looks like I’m at http://localhost/, but at url appears is http://localhost/site%202/algoAleatorio
OBS3: I use Sass has some problem?