sana
June 6, 2023, 5:36pm
1
I’m using the latest version of CyberPanel on Ubuntu 20.04, with my website in Laravel 8. I’ve routed the DNS through Cloudflare, but when the link redirects back to website, it shows a ‘403 Forbidden’ error. I’ve recorded a short video to demonstrate the issue. Can you please help me resolve this?
Video
Image2
Disable waf and check again.if issue not persist after disabling the waf, enable waf again and disable the triggered rule.
sana
June 7, 2023, 1:38am
3
Disable waf already disabled…
triggered rules disabled
still the same error
What you can see in error logs?
Triggered rule disabled without log not possible how did you?
Share .htacces or reset with default and check.
sana
June 7, 2023, 6:00pm
7
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]
RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
RewriteRule ^(.*)$ public/$1
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ server.php
sana
June 7, 2023, 6:02pm
8
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]