[linux] Hoe een html pagina te mappen naar een cgi script

Cecil Westerhof CecilWesterhof op xs4all.nl
Vr Okt 8 19:10:22 CEST 2010


Ik heb de volgende rewrite rule gedefinieerd:
    RewriteRule    ^/workshops/timemanagement/enquete\.shtml$ /cgi-bin/form.cgi [T=application/x-httpd-cgi]

Ik heb al mijn cgi scripts in een aparte directory staan met:
    ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/decebal/"
    <Directory "/srv/www/cgi-bin/decebal/">
        AllowOverride None
        Options +ExecCGI -Includes
        Order allow,deny
        Allow from all
    </Directory>

Als ik echter ga naar:
    http://www.decebal.nl/workshops/timemanagement/enquete.shtml
dan krijg ik:
    Options ExecCGI is off in this directory: /srv/www/htdocs/decebal/cgi-bin

Wat moet ik doen om te zorgen dat het cgi-script wordt aangeroepen?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Linux mailing list