3

php に相当する python があるかどうか知っていますvirtual()か?

私の構成はpython、djanogo、mod_wsgi、apacheです

上記のインクルードを使用して php の例のみを持ち、すべての Web サイトのページに含める必要があるスクリプトをインクルードしようとしています。

ありがとう

LE: .cgi スクリプトを含めています

4

1 に答える 1

0

私が見るこれへの唯一の参照は

http://www.modpython.org/pipermail/mod_python/2004-January/014834.html

どの州In theroy you can use the Apache 2.x chain handlers feature, where more than one content handler can process the request. I say in theroy because I've read about it, but never tried it =)

PHPマニュアルから、virtual() is an Apache-specific function which is similar to <!--#include virtual...--> in mod_include. It performs an Apache sub-request . . . This function is only supported when PHP is installed as an Apache module.

「チェーン処理」が意味する Apache フィルターに関する情報のリンクは次のとおりです。

http://httpd.apache.org/docs/2.2/filter.html

mod_includeドキュメントは、出力された後mod_wsgi(または必要に応じて前) に処理できる必要があります。

于 2011-07-21T09:55:19.737 に答える