Path to Perl

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Path to Perl

Postby sonofadoc » 10. August 2009 20:00

I have a simple cgi/perl contact form on my Website which works fine. I am trying to get it to run on xampp for the sake of future tests for different cgi/perl scripts I might try. I need to figure out the correct paths for running it on xammp as I get a "sorry can't run from here" error when I click on the submit form button. First of all I need to make sure I have the path to perl correct on the bnbform.cgi. I have it set like this: #!"C:\xampp\perl\bin\perl.exe" . Is this correct? Next I need to figure out the domain name path in the bnbform.cgi which I have set as this: @okaydomains=("http://localhost", "http://localhost"); Is that right? The next path that needs to be right is the path in the html form itself. I have this set as: <form method="post" action="http://localhost/cgi-bin/bnbform/bnbform.cgi">. Is that right? The only other question I can think of until I experiment further is, "do I use the cgi-bin folder that is located outside of the htdocs folder (the cgi-bin folder you see when you first open the xampp folder) or can I create a cgi-bin folder within the htdocs folder and place the scripts inside of that folder?."

sonofadoc
sonofadoc
 
Posts: 1
Joined: 10. August 2009 19:18

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests