in reply to half on my scripts didn't work once uploaded

Did you convert the line endings to match those expected by the IIS operating system? That could influence whether or not the shebang line gets interpreted correctly, and thus, whether or not the Perl interpreter is invoked as it should be.


Dave

  • Comment on Re: half on my scripts didn't work once uploaded

Replies are listed 'Best First'.
Re^2: half on my scripts didn't work once uploaded
by lepetitalbert (Abbot) on Jan 22, 2006 at 05:11 UTC

    sorry wrong button. 6am here !

    "There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates

      Hello again dear Monks,

      NOTE : there's already a site (I wrote) running on the server.

      - Removed all <!--#include virtual="/script.pl" -->

      - added <!--#include virtual="/scr/title.pl" -->

      title.pl is a simple

      print qq~ html stuff ~

      OK

      - added footer.pl (same as title.pl). OK

      - added <!--#include virtual="/scr/menu.pl?file=menuservices.txt"  -->

      Got Error processing SSI file '/scr/menu.pl%3Ffile=menuaudits.txt'

      ?!? if I change to <!--#exec cgi="/scr/menu.pl?file=menuservices.txt"  -->, the menu appears and the footer is gone ?ü?

      ?!? If I change all '#include virtual' to '#exec cgi' (I read that #exec doesn't work with params?), OK ?!?

      but then I have problems with the next script.

      Any suggestion is welcome.

      Remenber that everything works fine on my abyss server.

      The only diff I can see between the old and the new site, is that the old one didn't use CGI (I had only print qq~'s) and now I use CGI but only in 2 scripts ?!

      Hope it's understandable, sorry for my english.

      Thanks.

      Have a nice day.

      "There is only one good, namely knowledge, and only one evil, namely ignorance." Socrates