现将我探索出的解决方法提供如下:
1. yum安装lighttpd
2. 启动lighttpd。如果httpd已经运行则先停止它
3. 停止lighttpd
4. 面板切换程序
原因猜想是需要lighttpd的配置文件。
shell脚本如下:
yum install lighttpd -y
service httpd stop
service lighttpd start
service lighttpd stop
进行切换。
奋斗是个奢侈品,享受奋斗过程是危险的行为,要么永无终止,要么一败涂地!