2012-03-23 76 views
0

我有以下的虚拟主机配置的Apache2 - SSL虚拟主机不执行CGI脚本

<VirtualHost petyo.net:443> 
    ServerAdmin [email protected] 

    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

错字:

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

:(我感到羞愧,现在对不起固定 – ren 2012-03-23 14:31:39

+0

不用担心我曾经在公共图书馆工作,而你也不会相信多少电子邮件签名/新闻稿出去!作为“公共图书馆”... – 2012-03-23 14:46:32

+0

有一个[运动来清理堆栈溢出](http://meta.stackexchange.com/q/167342)通过删除这些错字相关的问题,我们真的可以使用你的帮助!通过在这个问题上进行近距离投票,你会介意一点点吗? – 2013-03-07 14:08:11