Thanks for your reply. The problem was apparently with vqServer using the Sun JVM(which I have here) I could have changed and used Microsoft's JVM, but I installed the Apache server instead. Who knows what is wrong on my Linux partition, hmnnnnnnnn here I go again.
"Craig Dean" <[EMAIL PROTECTED]> wrote in message 20030105152406.VIBJ26296.imf14bis.bellsouth.net@there">news:20030105152406.VIBJ26296.imf14bis.bellsouth.net@there... > remove .exe from the shebang line. should be #!/usr/bin/perl > Windows does not use this line > You must setup perl in IIS. If you are using Active State > It tells you how to do this in the docs ActivePerl FAQ subheading Windows > Specific > The line you need to add is .pl C:\perl %s %s > .pl is the extension of your CGI scripts this could also be .cgi > You need to add one line for every extension > C:\perl is the path to perl.exe where ever you have that installed > Good Luck > Perl is very deep and wide > On Sunday 05 January 2003 06:09 am, Phill wrote: > > Hi there > > > > I am having trouble getting my first Perl(CGI)scripts > > to work, Im very new to Perl and CGI. When I run > > the following code in a browser it shows the code and > > not just "Hello world!" as it should. Im running WinXP > > and I am using VQServer. I dont believe it is a problem > > with finding the interpreter because the exact same thing > > happens when I go to my other partition on my HD and > > try to run it on Linux 8.0. > > > > > > #!/perl/bin/perl.exe > > print "Content-type:text/html\n\n"; > > > > print <<EndOfHTML; > > <html><head><title>Test Page</title></head> > > <body> > > <h2>Hello, world!</h2> > > </body></html> > > > > EndOfHTML > > > > Any help is appreciated > > Phill. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]