apache2 - ssl虚拟主机不执行cgi脚本

时间:2012-03-23 14:26:25

标签: apache2 openssl virtualhost apache2-module

我有以下虚拟主机配置

<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脚本完全没有问题。 没有启用其他虚拟主机!

1 个答案:

答案 0 :(得分:1)

错字:

<Directory "/home/ren/pubic/*">
                         ^---missing L?