Hello,I had been installed for CyberPanel&OLS
but I modified for the configuration file for OLS default Example host,it's got an inexplicable 404 error
(The host is managed by OLS DIRECTLY,not by CyberPanel)
Section of httpd_config.conf below
vhconf.conf below
/var/www/html is owned by nobody:nobody
but it's got UNLOGED 404 error
but I modified for the configuration file for OLS default Example host,it's got an inexplicable 404 error
(The host is managed by OLS DIRECTLY,not by CyberPanel)
Section of httpd_config.conf below
NGINX:
virtualhost Example {
vhRoot /var/www
configFile $SERVER_ROOT/conf/vhosts/Example/vhconf.conf
allowSymbolLink 1
enableScript 1
restrained 1
setUIDMode 2
}
NGINX:
docRoot $VH_ROOT/html/
enableGzip 1
errorlog $VH_ROOT/logs/error.log {
useServer 1
logLevel DEBUG
rollingSize 10M
}
accesslog $VH_ROOT/logs/access.log {
useServer 0
rollingSize 10M
keepDays 30
compressArchive 0
}
index {
useServer 0
indexFiles index.html, index.php
autoIndex 0
autoIndexURI /_autoindex/default.php
}
expires {
enableExpires 1
}
accessControl {
allow *
}
context / {
location $DOC_ROOT/
allowBrowse 1
}
rewrite {
enable 0
autoLoadHtaccess 0
logLevel 0
}
but it's got UNLOGED 404 error