WebFaction
Community site: login faq

Hi.
I am trying to install Koha library application (http://koha-community.org/). First thing I need to solve is .cgi script naming of it`s files.
Every script in this application have .pl suffix. Renaming all of the files to .cgi suffix will be a nightmare (especially every time when I will need to make an upgrade). Another problem is that I need to add some ScriptAlias directives to httpd.conf.

I start to think about running my own instance of apache.
Do I need to compile one?

What is better solution running new instance of apache or some way of workaround (symlinking/renaming app files and directories) ?

asked 06 Mar '12, 21:02

rwnbt
1123
accept rate: 0%


Hello,

You are using the shared Apache server, and on it you do not have access to httpd.conf.

You would have to build your own from source to have access to this.

You should be able to solve both issues with a .htaccess file however,

For the .pl files add this,

AddHandler cgi-script .cgi .pl

What directives need to be set with ScriptAlias? According to the Apache docs you should be able to get the same functionality using Location or Directory directives.

permanent link

answered 07 Mar '12, 02:15

johns
5.4k412
accept rate: 23%

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:

×226
×31
×20

question asked: 06 Mar '12, 21:02

question was seen: 10,337 times

last updated: 07 Mar '12, 02:15

                              
WEBFACTION
REACH US
SUPPORT
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