【发布时间】:2019-11-08 10:48:55
【问题描述】:
这是我的沙盒https://github.com/pavelsr/mod_perl_sandbox
当我创建 docker-compose up 然后转到 http://localhost:3000/env.pl 结果 html 已下载,未提供。
在 CGI 模式下(在 docker-compose 中删除了 -DMODPERL)一切正常。
好像 ModPerl::Registry 没有处理 Content-type: text/html
我需要在httpd.conf 中修复什么?
添加PerlOptions +ParseHeaders 不会解决问题
【问题讨论】:
标签: mod-perl2 mod-perl-registry