WebFaction
Community site: login faq

I want to run an older Perl app using CGI. I had hoped to use FastCGI for this. So far, I cannot get this too work and have not found sufficient answers on Webfaction docs or user community. Here are my questions:

  1. Given - I have set up CGI/PHP application. Website is pointing to agileresponse.beancatnet.com I have a dummy index.html page out there.
  2. So far, I have a simple test application out there called testapp.pl. I tested the app and it works.
  3. What do I need for my .htaccess. Right now I have:

Options +ExecCGI AddHandler cgi-script cgi pl

  1. Is there anything else I need to do?

I wish that the Webfaction docs would address this directly. I know most folks are interested in PHP and Python these days, but there is a lot of CGI/Perl stuff out there.

Thanks in advance, Dave Capuano

This question is marked "community wiki".

asked 24 Apr '12, 09:45

dscapuano
1133
accept rate: 0%

Ok, sorry about not seeing that typo. I would like to know if this instance is running FastCGI. I'm not an Apache guru so how can I tell?
Thanks

(24 Apr '12, 12:25) dscapuano

Since you're using "AddHandler cgi-script ....", your scripts will run as regular CGI. If you use "AddHandler fastcgi-script ...." then they will run as FastCGI (assuming you've written them to work that way).

(24 Apr '12, 12:47) seanf

Hi,

You've mounted your app to /agileresponse, so the page is available at http://agileresponse.beancatnet.com/agileresponse/testapp.pl - please check it, everything seems to be working properly for me.

If you have any additional questions, please let us know.

permanent link

answered 24 Apr '12, 10:34

todork
1.2k5
accept rate: 34%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×33
×31
×20

question asked: 24 Apr '12, 09:45

question was seen: 13,729 times

last updated: 24 Apr '12, 12:47

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM