Hi @verflext,
I am not familiar with JS code so just grabed a simple post script and try. It seems works fine with Post request.
const http = require('http');
const server = http.createServer((req, res) => {
res.end(`
<!doctype html>
<html>
<body>...
Hi, may I also ask whats the output of `firewall-cmd --list-all | grep 8890`.
Could you also verify if config firewall directly on CyberPanel works or not?
Hi @breakpoint25
The "invalid rewrite directive" is because openlitespeed does not support these rewrite directive.
More setup info please check this post https://forum.openlitespeed.org/threads/invalid-rewrite-directive.3577/
I may suggest you try LiteSpeed Cache since you already using...
Fixed method and Result are here:
https://www.litespeedtech.com/support/forum/threads/after-running-yum-update-openlitespeed-is-missing-in-etc-init-d-lsws.17210/
Hi,
I can see the warning shows on Firefox but Chrome works fine.
Somehow https://fitpolo.net/ stuck on FF due to cert issue? But it should redirect to www first.
https://www.ssllabs.com/ssltest/analyze.html?d=www.fitpolo.net
I didn't see any ssl issue from this report.
Do you test it...
Hi,
I checked https://www.fitpolo.net/ seems no cert issue, does this happens on your dev server?
Can you take a snapshot with the certificate from browser which should mentioned valid from xxx to xxx
Best,
Hi @adz,
I know why. I installed via 1-click install method which includes pagespeed module already.
If your server doesn't has it, for CentOS, you can try yum install ols-pagespeed. That wiki is outdated and will be updated soon.
Hi @adz,
I just do a newly install with v1.4.39 and pagespeed module auto-installed already and conf file is in /usr/local/lsws/conf too.
May I ask which version you are running with?
cat /usr/local/lsws/conf/modpagespeed.conf
module modpagespeed {
param <<<END_param
pagespeed on
pagespeed...
Hi thecomicshq,
I think you may just need to install php mysql package, e.g. yum install lsphp56-mysqlnd. If you installed already but still not work, can you paste your phpinfo here?
I simply test with settings:
Type: Static
URl: /
Locations: $SERVER_ROOT/Example/html/
You can verify with default page: http://Your_Domain/index.html
Please correct me if I am wrong
You can try Access WebAdmin>Virtual Hosts>Context
Create a type and URl you want with Extra Headers: Access-Control-Allow-Origin *
Restart lsws gracefully
Then you can see Response Headers like this:
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Cache-Control: public, max-age=604800...
I just clean installed CentOS 7 + ./ols1clk.sh -w without any problem.
You may want to try the following commands to fix the mysql version issue:
yum -y remove lsphp56-mysql
yum -y install lsphp56-mysqlnd
service lsws restart
We have a wiki on this here for Enterprise but should work the same for OLS: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:redis#verify_the_installation