我刚刚在运行Debian 10的专用服务器上安装了OpenLiteSpeed 1.6.17,其目标是在将来取代Apache2.4.38。
我可以访问OpenLiteSpeed WebUI,目前还没有更改默认的HTTP侦听端口8088,因为在切换到80和移除Apache之前,我正在等待一切顺利运行。我开始使用OpenLiteSpeed webUI创建一个vhost,包括以下内容:
Virtual Host Name: www.example.com
Virtual Host Root: /home/www/production/example.com
Config file: $SERVER_ROOT/conf/vhosts/example.com/vhconf.conf
Document Root: $VH_ROOT
Use Server Index Files: Yes但是,当我尝试访问http://www.example.com:8088时,我得到了一个404,显然是由LiteSpeed提供的。
我忘了什么?
更多信息:
/usr/local/lsws/conf/vhosts/example.com/vhost.conf中创建了文件/home/www/production/example.com/index.html)不应该出现问题。www-data,但我确保LiteSpeed用户lsadmn是www-data Linux组的一部分。发布于 2020-11-09 22:38:35
您在侦听器中将vhost映射到域了吗?
https://serverfault.com/questions/1041869
复制相似问题