I tried to setup a laravel site in CyberPanel VPS Hosting Server. But other that home url => it is redirecting to the 404 page only. Kindly help us to fix this.
Site URL : https://testing.nanjilmarket.com
Kindly help me to fix is…
I tried to setup a laravel site in CyberPanel VPS Hosting Server. But other that home url => it is redirecting to the 404 page only. Kindly help us to fix this.
Site URL : https://testing.nanjilmarket.com
Kindly help me to fix is…
Can you please show me the .htaccess file?
do you have the rules there and also restart litespeed webserver and check
@shoaibkk Thanks for your response. Please find the .htaccess file
Options -MultiViews -Indexes RewriteEngine 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]# cors
# Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Origin "*"
<Files .env>
Order allow,deny
Deny from all
If needed I will share the server credentials to you, kindly help me to fix this issue…
After restarting litespeed issue fixed, thanks for your support
it’s working from here
Already added this in my last coment