I transferred a web site to a Terra hosting and trying to access it shows the following error:
Not Found [CFN # 0005]
I'm talking to the support - horrible, by the way (Neto) - and they say it's my programming that's wrong.
Ask to check the files and .htaccess
.
I'm using Laravel:
My .htaccess
is thus in the root:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
I do this to access the site without using / public in the URL.
And inside the public folder has another .htaccess
.
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
This .htaccess
is Laravel itself that does.
And still the error persists. I have already checked the permissions and they are all in 755 or RX.