ubuntu下布置apache加wsgi加python
通过外网访问服务器,
可以读取网站目录,可以识别html结尾的index文件,
但是无法加载.py的网页文件
error.log提示打开.py的文件失败,no modules named web
但是python 里确实装好了web.py
PHPz2017-04-24 16:00:52
The final solution was a bit unexpected. It was actually because my urls={'/','hello'}
According to the way web.py is written, it will make an error
After checking the official document of web.py, I got into trouble. Once, I just added .* after / and it was successful. It means that I need to supplement the operating principle of wsgifunc. .