Thanks Jose
Please have more details as below:
CyPanel Current Version: 2.3
Build: 4
Current Commit: c8da443334b8815ec250a0fba606e75355f641cd
Latest Version: 2.3
Latest Build: 4
Latest Commit: c8da443334b8815ec250a0fba606e75355f641cd
Ubuntu 22.04
VHost mysite.com:
docRoot $VH_ROOT/public_html
vhDomain $VH_NAME
vhAliases www.$VH_NAME
adminEmails [email protected]
enableGzip 1
enableIpGeo 1
errorlog $VH_ROOT/logs/$VH_NAME.error_log {
useServer 1
logLevel WARN
rollingSize 10M
}
accesslog $VH_ROOT/logs/$VH_NAME.access_log {
useServer 0
logFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
logHeaders 5
rollingSize 10M
keepDays 10
compressArchive 1
}
index {
useServer 0
indexFiles index.php, index.html
}
scripthandler {
add lsapi:bluep3632 php
}
extprocessor bluep3632 {
type lsapi
address UDS://tmp/lshttpd/bluep3632.sock
maxConns 10
env LSAPI_CHILDREN=10
initTimeout 600
retryTimeout 0
persistConn 1
pcKeepAliveTimeout 1
respBuffer 0
autoStart 1
path /usr/local/lsws/lsphp81/bin/lsphp
extUser bluep3632
extGroup bluep3632
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}
context /.well-known/acme-challenge {
location /usr/local/lsws/Example/html/.well-known/acme-challenge
allowBrowse 1
rewrite {
enable 0
}
addDefaultCharset off
}
rewrite {
enable 1
autoLoadHtaccess 1
}
module cache {
storagePath /usr/local/lsws/cachedata/$VH_NAME
}
vhssl {
keyFile /etc/letsencrypt/live/mysite.com/privkey.pem
certFile /etc/letsencrypt/live/mysite.com/fullchain.pem
certChain 1
sslProtocol 24
enableECDHE 1
renegProtection 1
sslSessionCache 1
enableSpdy 15
enableStapling 1
ocspRespMaxAge 86400
}
Rewrite Rules: (no files in my website yet)
cat: /home/mysite.com/public_html/.htaccess: No such file or directory
Why the 404 page return Apache 404 when OLS is supposed to run ?
Apparently Apache is not running on my server.
> httpd -v
> Command 'httpd' not found
But, if I search for it, I get lots of files, and the Apache 404 is triggered only for mysite.com
If I type a non-existent url for any of my other domains, I get a OLS 404 (not Apache)