Thank you so much. That was the problem... After looking at the screen for a long time, you forget where you are. I needed to start the page from Localhost.
Thanks in advance for all of your help.
I did the association - I restart the server. I still get the same thing... Take a look at the image below:
http://www.rafiaie.com/photos/test
This is a screen snap shot of my pl file.
My shebang line looks like the same as you mention. Changing the PL extension to CGI, does exactly the same thing. The problem is NOT to stop the code to open up a new browser - the probelm is that the code needs to get executed and NOT to gets open up as viewing file in a browser.
Also, since I am NOT an expert with Perl and Apache, where do you fine the shebang line?? As everyone mentioned, the CFG file above looks fine and should work.
The Form tag is :
FORM name="Miami test - Online Forms" action="../cgi-bin/umform.pl" method="post" target="_blank">
Keep in mind that the umform.pl gets located and the it comes up in a new browser as like viewing the file. THis setup worked fine on someone who helped me to creat this demo -...
Firstly, if I double click on the PL file in the File manager, the Frontpage comes up. I think, what you are saying in the first comments could be true. How do I check to make sure that the #!shebang line pointing to the perl interpreter? I thought when you install PERL, it automatically does...
My script is in the CGI-BIN directory as there should be. Also, it is an IE that pops up and not a text editor.
This is how the setup is. There is an HTML page which is in the C:\Program Files\Apache Group\Apache2\htdocs directory. This web page has a button that calls for a umform.pl page...
There is one thing. WHen I install the Apachee2, it asked me to insert a Domain name or web site for the server. SInce I am just testing my codes and do NOT have any domain YET, I just insert a non existing domain to get the setup going. DO I HAVE TO HAVE THE DOMAIN NAME?? All I want is to get...
OK... Here is the file..... thanks in advance for your help...
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See...
I did everything based on what the document said. I followed line by line . WHen I click on the botton to execute my PERL page, a browser windows popup with my script in it. It looks like I click on the .PL file to open for reading or editing. What is that mean?? PLEASE HELP.....
YES . IT is. SOmeone told me that I need to add a line into the Appache cinfiguration file to execute PERL files and I do not know how to do that or not sure if that is what the probelm is. I have followed everything the way it should be. Please advice.
Thanks
I am new to Apache. I installed Perl and Apache2. Everything looks like installed correctly. The problem I have is when I execute my submit button to which calls for the PL program to execute, the browser opens up with the Perl source code. I believe it means that the script IS NOT been...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.