Questions tagged [litespeed]

LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.

292 questions
3
votes
1 answer

LiteSpeed VS OpenLiteSpeed

Due to information in LiteSpeedTech site I didn't found any significant difference between community and enterprise edition. Is there a reason I use enterprise edition instead of community. I found some issue about Apache compatibility for…
haj_baba
  • 117
  • 4
  • 13
3
votes
0 answers

Is there a response content filter in litespeed web server?

I being new in Litespeed, I used to use the Nginx web server, but now I have a business that I must use Litespeed. And my problem is, is there any content response filter in Litespeed? In Nginx, I used to use the sub_filter module. I've searched in…
maulana satya
  • 94
  • 1
  • 7
3
votes
1 answer

mod_proxy using .htaccess on LiteSpeed

I'm trying to get this htaccess code to work: RewriteEngine On RewriteRule ^fld/(.*) http://example.com/fld/$1?proxy=http://example.com [P] RewriteRule ^/?$…
Roger
  • 63
  • 6
2
votes
1 answer

.htaccess RewriteOptions Inherit is not inheriting

I've been trying inerhiting my rules with RewriteOptions Inerhit, because for some reason rules are not inerhited by default.You might want to know that I'm on a LiteSpeed server. The IP XXX.XX.XX.XX points to a subdomain which is located in…
Fabian
  • 3,465
  • 4
  • 34
  • 42
2
votes
1 answer

How to use apache ..htaccess in lightspeed web server

I did some .htaccess code to make PHP API route. It's working in apache ( local server ) Options -MultiViews RewriteEngine On #What does this mean?? RewriteRule ^(.+)$ quizAPI.php?url=$1 [QSA,L] But when I moved mine code to server it's not…
parth mangukiya
  • 192
  • 1
  • 10
2
votes
1 answer

How can i add current URL to .htaccess CSP header dynamically?

I'm currently working on Shopify app, one of their main requirement is to add an iframe-protection. here is more info Currently, to resolve this I need the CSP to set should be in this format : Content-Security-Policy: frame-ancestors…
niyamxsept
  • 105
  • 6
2
votes
2 answers

React router 404 Error On (Litespeed Webserver)

I am building movie app, initialize with create-react-app. I am using react-router@5. I get 404 Error when route url on production (on Litespeed webserver) but it's work on local machine. Example Url : www.example.com/tv/detail/131959 I am…
2
votes
1 answer

Litespeed 403 POST data issue (not solved by mod_security) maybe due to square brackets [] input names?

So I've got a custom made PHP site on running on PHP5 that I'm attempting to migrate from Apache to a different Litespeed server on a different hosting company (i'd assume the open source litespeed) /foo/bar.php works fine by itself But, when using…
2
votes
0 answers

MYSQL error reading communication packets

I get 2021-06-03 11:04:07 5559 [Warning] Aborted connection 5559 to db: 'mydbname' user: 'mydbusername' host: 'localhost' (Got an error reading communication packets) every 10 minutes in mysql log file. the my.cnf setting is…
zilord
  • 69
  • 6
2
votes
1 answer

how to hide index.php from url on litespeed server

url - example.com/index.php want to hide /index.php htaccess is enabled - some other rules work RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] doesn't work. index.php…
qadenza
  • 9,025
  • 18
  • 73
  • 126
2
votes
1 answer

how to serve django media files in LiteSpeed webserver

I deployed a django project on shared host , and my media files did not loadedproduct image not load what config do i do for fix this issue? setting.py STATIC_URL = '/site_statics/' STATICFILES_DIRS = [ os.path.join(BASE_DIR,…
2
votes
2 answers

Wordpress on OpenLiteSpeed CyberPanel get 404 error after VPS reboot

i get 404 error after reboot my vps that host wordpress using openlitespeed. All version are latest using Digital Ocean Marketplace (just build today). My VPS run CyberPanel (Hosting Control Panel for LiteSpeed), so multiple website can host in my…
questionasker
  • 2,536
  • 12
  • 55
  • 119
2
votes
0 answers

Is there any chance to use that nginx HttpAccessKeyModule in litespeed or apache?

can i use nginx's HttpAccessKeyModule in litespeed or apache. or do you know any module or htaccess rule which doing same job? http://wiki.nginx.org/HttpAccessKeyModule
MC_delta_T
  • 596
  • 1
  • 9
  • 22
2
votes
1 answer

How to pass route parameter value to middleware definition for route?

I'm applying Litespeed cache on our website and I need to use parameter value from route when calling lstag middleware. I've already tried…
djlimix
  • 59
  • 10
2
votes
1 answer

REGEX never match for Origin in .htaccess

I have 10 sub domains and getting all static files from a sub domain (static.88n8.com). I want to allow cross origin for all sub domains in .htaccess with this: SetEnvIf Origin…
ICE
  • 1,667
  • 2
  • 21
  • 43
1
2
3
19 20