目前我的域 foo.com 由 wsgi 脚本处理,但我需要 foo.com/articles* 下的 url 映射到public_html
文件夹中存储的一些 WordPress php 页面。这是我微弱的尝试-
WSGIScriptAlias / /home/foo/property_buyer/buyer.wsgi
WSGIDaemonProcess foo processes=7 threads=1 display-name=%{GROUP}
WSGIProcessGroup foo
WSGIApplicationGroup %{GLOBAL}
Alias /articles /home/foo/public_html/articles/
Alias /media/ /home/foo/static/
<Directory /home/foo/static>
Order deny,allow
Allow from all
</Directory>
我有以下错误虽然 -
[Wed May 16 00:22:03 2012] [error] [client 121.6.147.148] SoftException in Application.cpp:422: Mismatch between target UID (506) and UID (503) of file "/home/property/public_html/articles/index.php"
[Wed May 16 00:22:03 2012] [error] [client 121.6.147.148] Premature end of script headers: index.php
我的方法是否正确,或者有人知道错误是什么意思吗?