My website loads well on http but when i enable ssl and with https it give me 403 Forbidden Access You don't have permission to access / on this server.
I have tries many different htaccess codes but I wasn't able to solve this problem.
My htaccess on my documnet root:
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]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
I keep on getting 403 Forbidden access error and if I change something in htaccess It gives me 500 Internal Server Error or 404 Page Not Found