1
目前我的域名foo.com由wsgi腳本處理,但我需要foo.com/articles*下的url來映射到存儲在public_html
文件夾中的一些WordPress php頁面。這是我愚蠢的嘗試 -apache wsgi route url to wordpress
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
我做了正確的方式,或有沒有人知道什麼是錯誤的手段?
感謝@graham,您的支持與您的產品本身一樣有幫助。將嘗試一下。 – goh