How do I enable deny for a folder through htaccess with openlitespeed? I tried
RedirectMatch 403 ^/folder/?$
and Deny from all
Deny from all
But it didn't work, I still access the folder even after restart openlitespeed
Could you please try following in your htaccess file. This will forbid any URL whose uri starts with folder.
RewriteEngine ON RewriteRule ^folder - [F,L]
1.4m articles
1.4m replys
5 comments
56.9k users