apache2opensslvirtualhostapache2-module

apache2 - ssl virtual host does not execute cgi scripts


I have the following virtual host configuration

<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
    .....

I.e. an ssl enabled website, however it does not run the cgi scripts.

While I have exactly the same configuration (without the ssl stuff), which runs the cgi scripts with no problem at all. No other virtual hosts are enabled!


Solution

  • Typo:

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