<html>
<body>
<font size=3>At 02:32 PM 22/04/2013, Indy Singh wrote:<br>
<blockquote type=cite class=cite cite="">Hi,<br>
 <br>
Are you using Windows or Linux?<br>
 <br>
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:<br>
<a href="http://www.indigostar.com/indigoampp.php">
http://www.indigostar.com/indigoampp.php</a><br>
 <br>
This installation contains Apache, Perl, PHP and MySQL. It’s a little
out of date, but should be fine for your needs.<br>
 <br>
Also note that on Windows your Perl scripts must start with a line that
points to the Perl installation, e.g:<br>
#!C:\perl\bin\perl<br>
or just:<br>
#!perl<br>
 <br>
Indy Singh<br>
IndigoSTAR Software --
<a href="http://www.indigostar.com/" eudora="autourl">
www.indigostar.com</a><br>
 </font></blockquote><br>
Thanks Indy<br>
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:<br><br>
<Directory "d:/screeningtool.ca"><br>
    Options -Indexes FollowSymLinks<br>
    AllowOverride None<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br><br>
<Directory d:/screeningtool.ca/cgi-bin ><br>
<x-tab>        </x-tab>Options
ExecCGI<br>
<x-tab>        </x-tab>SetHandler
cgi-script<br>
<x-tab>        </x-tab>AddHandler
cgi-script .pl .cgi<br>
</Directory><br><br>
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.  <br><br>
Perhaps it would be best to copy everything to C.  <br><br>
I am also wondering if it would be better NOT to install Apache in the
default Program Files location due to Windows permissions?<br><br>
Thanks all for your suggestions!<br><br>
<br><br>
<blockquote type=cite class=cite cite=""><font size=3><b>From:</b>
<a href="mailto:cj@enersave.ca">Chris Jones</a> <br>
<b>Sent:</b> Monday, April 22, 2013 2:13 PM<br>
<b>To:</b> <a href="mailto:toronto-pm@pm.org">TPM</a> <br>
<b>Subject:</b> [tpm] Help with Apache configuration<br>
 <br>
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.  <br><br>
Thank you!<br><br>
<br>
>><br>
Christopher Jones, P.Eng.<br>
Suite 1801, 1 Yonge Street<br>
Toronto, ON M5E1W7<br>
Tel. 416-203-7465<br>
Fax. 416-946-1005<br>
email cj@enersave.ca<br><br>
<hr>
_______________________________________________<br>
toronto-pm mailing list<br>
toronto-pm@pm.org<br>
<a href="http://mail.pm.org/mailman/listinfo/toronto-pm" eudora="autourl">
http://mail.pm.org/mailman/listinfo/toronto-pm</a></blockquote>
<x-sigsep><p></x-sigsep>
>><br>
Christopher Jones, P.Eng.<br>
Suite 1801, 1 Yonge Street<br>
Toronto, ON M5E1W7<br>
Tel. 416-203-7465<br>
Fax. 416-946-1005<br>
email cj@enersave.ca<br>
</font></body>
</html>