
soundlord
New User
Mar 27, 2014, 10:57 AM
Post #1 of 1
(114564 views)
|
[opensuse 12.2 -- Mantis] apache2 mod_perl2.0.6 -- script shown but not executed
|
Can't Post
|
|
I have nothing in the log concerning this virtual host which has the following config file: <VirtualHost 127.0.0.3:80> ServerAdmin soundlord@gmail.com ServerName www.cdm2014.be DocumentRoot /www/cdm2014 ErrorLog /var/log/apache2/cdm2014-error_log CustomLog /var/log/apache2/cdm2014-access_log combined HostnameLookups Off UseCanonicalName Off ServerSignature On <FilesMatch \.pl$> SetHandler cgi-script </FilesMatch> <FilesMatch \.php$> SetHandler cgi-script </FilesMatch> AddHandler cgi-script .pl .php ScriptAlias /cgi-bin/ "/www/cdm2014/cgi-bin/" <Directory "/www/cdm2014/cgi-bin"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir public_html Include /etc/apache2/mod_userdir.conf </IfModule> <Directory "/www/cdm2014"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> </VirtualHost> ...the server's loadmodule.conf includes mod_perl --> see attachements... My web site uses a simple FORM with the action directive pointing to "cgi-bin/nouveautest.pl" ...as you can see the .pl is not recognized as a perl script and it is opened as a text file by firefox...
(This post was edited by soundlord on Mar 27, 2014, 11:06 AM)
|