0

次の仮想ホスト構成があります

<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 対応の Web サイトですが、cgi スクリプトは実行されません。

私はまったく同じ構成(sslのものなし)を持っていますが、cgiスクリプトをまったく問題なく実行します。他の仮想ホストは有効になっていません!

4

1 に答える 1

1

打ち間違え:

<Directory "/home/ren/pubic/*">
                         ^---missing L?
于 2012-03-23T14:28:36.603 に答える