When i make .htaccess in my public_html directory it works after restarting lightspeed, however when i make one in subdirectory it is not working and rules are not set.
I am trying to deny execution of php in that folder but standard htaccess that i used in lamp stack worked, is this a bug in LS or?
Hello, can you help me, I can’t post new post to this forum… I didn’t find button or link to do it… So, I post my problem with cyberpanel here… I have .htaccess that work well in apache, but when I used it to cyberpanel with openlitespeed, it dosn’t work… I was follow step on Rewrite rule difference in .htaccess vs VH rewrite tab vs VH context rewrite rules – OpenLiteSpeed , but still didn’t work… Can you hel me?? This is my .htaccess content
# Turn on URL rewriting
RewriteEngine On
If your website begins from a folder e.g localhost/my_project then
you have to change it to: RewriteBase /my_project/
If your site begins from the root e.g. example.local/ then
let it as it is
RewriteBase /bia
Protect application and system files from being viewed when the index.php is missing