CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: mod_perl:
[opensuse 12.2 -- Mantis] apache2 mod_perl2.0.6 -- script shown but not executed

 



soundlord
New User

Mar 27, 2014, 10:57 AM

Post #1 of 1 (97159 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)
Attachments: perlfaitchier.png (35.2 KB)
  perlfaitchier2.png (25.4 KB)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives