python web2pyをlighttpdサーバーにインストールしていますが、ブログ用にwordpressを追加したいのですが、問題は、wordpressをサブドメインとしてではなくsite.com/blogに配置したいということです。lighttpd構成を実行するにはどうすればよいですか。
url.rewrite-once = (
"^/$" => "/ad",
"^(/.+?/static/.+)$" => "/applications$1",
"(^|/.*)$" => "/fcgihandler.fcgi$1", <-- tried to exclude
"/blog$" => "$0", <-- tried to exclude /blog from rewriting
)
php-cgiのfastcgiサポートも追加されました
fastcgi.server = (
".fcgi" => ("localhost" => (
"check-local" => "disable",
"min-procs" => "1",
"max-procs" => "2",
"socket" => "/tmp/web2py.sock"
)),
".php" => ("localhost" => (
"socket" => "/tmp/php.socket"
))
)
できませんでしたが、アドバイスをお願いします!