.htaccess — CyberPanel - WebHosting Control Panel for OpenLiteSpeed


edited December 2018 in General Discussion
could you be so kind and help me out converting this file to OL?
I've try several conventions and nothings seems to work. Keep getting 404
Thanks a lot!!!

DirectoryIndex index.php

Order Allow,Deny
Deny from all

Options -MultiViews

# Do not allow directory listings
Options -Indexes

RewriteEngine On

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!