【发布时间】:2012-03-23 14:26:24
【问题描述】:
我有以下虚拟主机配置
<VirtualHost petyo.net:443>
ServerAdmin m@petyo.net
DocumentRoot /home/ren/public/
<Directory "/home/ren/pubic/*">
Options +ExecCGI Indexes
AllowOverride All
Order allow,deny
allow from all
AddHandler cgi-script .cgi .py .pl
</Directory>
ErrorLog /var/log/apache2/petyo.net-ssl_errors.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel debug
CustomLog /var/log/apache2/petyo.net_access.log combined
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
.....
即启用 ssl 的网站,但它不运行 cgi 脚本。
虽然我有完全相同的配置(没有 ssl 的东西),但运行 cgi 脚本完全没有问题。 没有启用其他虚拟主机!
【问题讨论】:
标签: apache2 openssl virtualhost apache2-module