Re: Help with perl in httpd

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

 



On 7/14/23 06:48, Peter Boy wrote:
I have the thankless task of getting an application written with perl to run on one of our F38 servers.

The application was developed around 2005 or so, last changes around 2012, the developer is long gone from the university and the colleagues whose (long term) project use the application know nothing except how to use the finished system. It was running on an external DomainFactory web space, which has now been terminated at short notice and I only have the backup, no configuration information. The last time I used perl was more than a decade ago. Those were the times.


I installed a fresh VM as default and added https and mod_perl.

The problem is:
The html pages show up nicely, the perl scripts are downloaded automatically.

The Perl scripts are scattered around in DocumentRoot and various subdirs and sub-subdirs. So they are not all in one cgi directory.

I faintly remember having to enable directories for Perl. I guess that mod_perl basically already does that as usual in Fedora.

As far as I have found information, everything is based on a dedicated cgi directory, where all scripts are located and executed. But there must be another way, at least the application worked a week ago as it is.

I have also not used perl on a web server for around 20 years, but I think you need to map the file extension in a way to trigger mod_perl to handle it. For example, if you look in the php config, you'll see this:
    <FilesMatch \.(php|phar)$>
        SetHandler application/x-httpd-php
    </FilesMatch>

You need to find the corresponding handler for mod_perl.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux