[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cgi scripts not executed with ssl



Hi,

I just set up apache2 and configured ssl.conf with:
<VirtualHost *:443>
... same DocumentRoot as my default.conf ...
only siginificant difference for scripts is
<Directory "/usr/lib/cgi-bin">
   SSLOptions +StdEnvVars
</Directory>


Testing a cgi script with "http:.../cgi-bin/hello.cgi" executes the
script and returns "hello world"
but the same url just with SSL "https://.../cgi-bin/hello.cgi"; returns
the content of the perl file (at least in a secure browser window):

#!/usr/local/bin/perl
print "Content-type:text/html\n\n";
print "hello world";

It's not getting executed.

Did anybody stumbled into similar problems?
Any ideas or hints what I missed?

Thanks a lot for any help or suggestions.

-- Bernd



Reply to: