[tpm] Help with Apache configuration

Chris Jones cj at enersave.ca
Mon Apr 22 12:59:12 PDT 2013

At 02:32 PM 22/04/2013, Indy Singh wrote:
>Are you using Windows or Linux?
>If Windows, and if you want to start with a 
>working configuration and compare it with your 
>non-working configuration you can install IndigoAMPP from here:
>This installation contains Apache, Perl, PHP and 
>MySQL. It’s a little out of date, but should be fine for your needs.
>Also note that on Windows your Perl scripts must 
>start with a line that points to the Perl installation, e.g:
>or just:
>Indy Singh
>IndigoSTAR Software -- www.indigostar.com

Thanks Indy
My issue is I have Apache installed in the C: 
drive and my application on the D: drive.  I was 
hoping not to have to copy all the files (about 1 
Gig) to the C: drive.  I thought I could use the 
<Directory command to acheive this:

<Directory "d:/screeningtool.ca">
     Options -Indexes FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all

<Directory d:/screeningtool.ca/cgi-bin >
         Options ExecCGI
         SetHandler cgi-script
         AddHandler cgi-script .pl .cgi

The first one works - I can get the index.html 
page to come up the following page, a cgi script 
does not execute for some reason.   I tested the 
Apache installation and a sample cgi script in 
the C:\Program Files\Apache Software 
Foundation\Apache2.2\cgi-bin directory does run.

Perhaps it would be best to copy everything to C.

I am also wondering if it would be better NOT to 
install Apache in the default Program Files 
location due to Windows permissions?

Thanks all for your suggestions!

>From: <mailto:cj at enersave.ca>Chris Jones
>Sent: Monday, April 22, 2013 2:13 PM
>To: <mailto:toronto-pm at pm.org>TPM
>Subject: [tpm] Help with Apache configuration
>I am wondering if someone might be willing to 
>help me straighten out my httpd.conf file to get 
>a website on my local computer working.  I have 
>succeeded in getting the first page, the 
>index.html page up but the subsequent cgi 
>scripts return an error.  Or can you point me to 
>the approproate apache mailing list.
>Thank you!
> >>
>Christopher Jones, P.Eng.
>Suite 1801, 1 Yonge Street
>Toronto, ON M5E1W7
>Tel. 416-203-7465
>Fax. 416-946-1005
>email cj at enersave.ca
>toronto-pm mailing list
>toronto-pm at pm.org

Christopher Jones, P.Eng.
Suite 1801, 1 Yonge Street
Toronto, ON M5E1W7
Tel. 416-203-7465
Fax. 416-946-1005
email cj at enersave.ca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20130422/c83dd50a/attachment.html>

More information about the toronto-pm mailing list