Skip to content

Instantly share code, notes, and snippets.

@robozavri
Created August 29, 2018 20:19
Show Gist options
  • Save robozavri/8c2715b9c2288cba1d835404799e5102 to your computer and use it in GitHub Desktop.
Save robozavri/8c2715b9c2288cba1d835404799e5102 to your computer and use it in GitHub Desktop.
htaccess ssl turn off all pages laravel litespeed cyberpanel
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
#ეს ორი სტროფი თიშავს ssl-ს
RewriteCond %{HTTPS} on
RewriteRule ^/?$ http://%{HTTP_HOST} [R=302,L,NE]
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
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment