It can also be specified via the mod_python.wsgi.base_uri option, but the <Location> method is recommended, also because it has a side-benefit of informing mod_python to skip the map-to-storage ...
Pythonで開発をしていると、ログの扱いについてジレンマを感じることがあります。 開発中は、ターミナル(画面)でリアルタイムにログを確認したい。 でも、後でエラー調査ができるように、ファイルにもログを保存しておきたい。 「print()だと画面にしか ...
Python*Handler ディレクティブを ロケーションセクション (<Location></Location> や <LocationMatch></LocationMatch> の中) で使った場合には、モジュールパスは変更されないので、ハンドラモジュールを読み込むためにパスを設定したい場合などには PythonPath ディレクティブが必要です。