Feb 24, 2022
0
Level 1
404 NOT FOUND After file hosting in server
I uploaded my wesite in sub folder in sever for testing like
public_html --> dev -> jaccdemy(website)
when i try to load my site it shows 404 error
i place .htaccess file in public folder code is :
Options -MultiViews -IndexesRewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
and another .htacess file in jaccademy folder
code is:
RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]Please or to participate in this conversation.