Questions tagged [litespeed]
78 questions
0
votes
1 answer
My laravel .env file is downloadable via ip access! How to solve this on litespeed server?
hello I am creating a new laravel project with Openlitespeed server and I saw a glaring security issue.
I've added the following rule to the .htaccess of the site root and it works fine by stopping when someone tries to download the .env file by…

user3416348
- 11
- 1
- 3
0
votes
1 answer
In LiteSpeed, where is $VH_ROOT defined?
After installing LiteSpeed, the first task when experimenting is often setting up a vhost.
When we look around dashboard at various settings we come across some variables. One of which is $VH_ROOT.
How can the value of $VH_ROOT be discovered?
Also,…

user76615
- 133
- 6
0
votes
1 answer
Folder created in terminal does not give access to control panel user
I have made a script which creates a folder (website) in the public path of a website that belongs to a website control panel (CyberPanel):
mkdir /home/example.com/website/
But this command does not give enough permissions to the panel user to…

Computer User
- 113
- 4
0
votes
1 answer
Litespeed - NextJS app in DigitalOcean Droplet - Restart Custom Server
Am using the DigitalOcean OpenLiteSpeed NodeJS image from marketplace for setting up the Droplet, for running my NextJS app.
I have setup everything and when tested, the home page was displaying properly. When I clicked the Login button (that uses…

Vpp Man
- 103
- 1
0
votes
2 answers
After changing user:group the site shows 503 error and even the ipa.ddr.ess:7080 won't let me in; it says "Invalid credentials."
I accidently used this command in the root directory and now the ipa.ddr.ess:7080 won't let me in; it says "Invalid credentials."
the command that I used was
chown -R www-data:www-data /.
then I realized that it was a mistake then changed most of…

AnupRaj
- 101
- 2
0
votes
1 answer
Litespeed + Certbot - Invalid cert, expired
I keep getting an issue where my site reports the site as having an invalid SSL.
ERR_CERT_DATE_INVALID (in chrome)
It is simply fixed by restarting LSWS.
I therefore checked my cron for certbot and it looks correct?
0 */12 * * * root test -x…

oldskoo1
- 11
- 1
0
votes
1 answer
How to configure Load Balancing Servers
I want to configure load balancing servers on Cloudflare. They have a feature where I can add a couple of servers to improve uptime and service availability.
Now, I'm still a novice in this server stuff. All I want to know is do I need duplicate…

Deewinc
- 1
0
votes
1 answer
How to use LiteSpeed server with Apache?
On my search i've got only info about replacement of Apache with LiteSpeed. My question is rather: how to use them together?
I think about a similar setup, where Apache is used together with Nginx, where Nginx plays a reverse proxy role.
Is such…

Evgeniy
- 255
- 2
- 10
0
votes
0 answers
Strange download speed
I have a problem with download/upload speed. If I try to download a file from my server I have really low speed like 1 mb/s, on this server I have 1 gbit uplink. If I do a speedtest-cli the network speed is good. I tried many methods to download,…

Nabbello
- 9
- 1
0
votes
1 answer
Factors of slow TTFB comparing between two VPS providers
I set up two VPS with the same (databases and hosting control panel).
VPS company 1: based in california | 1 gbs | 2 core intel(R) Xeon(R) | 2 gb Ram | using Cloudflare
VPS company 2: based in california | 1 gbs | 3 core intel(R) Xeon(R) | 3 gb Ram…

factos20
- 3
- 2
0
votes
1 answer
Migrate vhosts from Apache to OpenLiteSpeed
I was under the impression from reading the LiteSpeed web server doc, that LiteSpeed was using the same syntax for vhosts config than Apache ones, thus the migration was easy.
However, after installing OpenLiteSpeed and creating vhosts through…

bolino
- 273
- 3
- 15
0
votes
1 answer
404 on LiteSpeed vhost
I just installed OpenLiteSpeed 1.6.17 on my dedicated server running Debian 10, with the goal to replace my Apache 2.4.38 in the future.
I have access to OpenLiteSpeed WebUI, didn't changed the default HTTP listening port 8088 for now as I'm waiting…

bolino
- 273
- 3
- 15
0
votes
1 answer
OpenLiteSpeed slow after IP change
I tested this multiple times, I created an image of perfectly working OpenLiteSpeed server on EC2, and when I deploy it, it doesn't connect or it connects but extremely slow (it takes around 1 min for page to load).
I just created a simple php page…

Karthik Malla
- 101
- 3
0
votes
0 answers
HTTPS redirect is not working
I just migrate my WordPress website to google cloud using openlitespeed server. After setting up SSL my website is not redirecting to HTTPS although I set https redirect on my .httaccess. Also when a user point HTTP:// this code show up instead of…

altrgeek
- 1
- 1
0
votes
1 answer
OpenLiteSpeed file_put_contents Permission Denied Error
New to OpenLiteSpeed, I received a permission denied warning error when trying to write a file in the website subdirectory using file_put_contents() API from PHP. I thought perhaps I needed to adjust the open_basedir in…

ServerChecker
- 1,518
- 2
- 14
- 35