我想根据bash脚本的输出重定向“/”。假设脚本返回0或1. 我已经继承了没有经验的lighttpd服务器,所以希望有人可以提供帮助。 :) 基本上我想: On accessing any url
If script output returns 1
redirect to /index.php
else
redirect to another url
嗨,我有一个问题,在树莓上安装lighttpd。 我已经安装在右击方式lighttpd的,和它的工作,但因为我已经重新启动,我有这样的信息: 须藤/etc/init.d/lighttpd重新启动[...]重新启动的lighttpd (通过 systemctl):lighttpd.service的lighttpd.serviceJob失败。有关详细信息,请参阅 'systemctl status l