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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

Mar 27, 2014, 10:57 AM

Post #1 of 1 (106510 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:


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 \.php$>
SetHandler cgi-script

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

<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
<Directory "/www/cdm2014">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

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