Skip to content

Commit 3a8ee9e

Browse files
author
Till Brehm
committed
Fixed #4864 Wrong/incomplete config for Python-enabled sites
1 parent 3dcad76 commit 3a8ee9e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

server/conf/vhost.conf.master

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@
182182

183183
<tmpl_if name='python' op='==' value='y'>
184184
<IfModule mod_python.c>
185+
<Directory {tmpl_var name='web_document_root_www'}>
186+
<FilesMatch "\.py$">
187+
SetHandler mod_python
188+
</FilesMatch>
189+
PythonHandler mod_python.publisher
190+
PythonDebug On
191+
</Directory>
185192
<Directory {tmpl_var name='web_document_root'}>
186193
<FilesMatch "\.py$">
187194
SetHandler mod_python

0 commit comments

Comments
 (0)