cgi script error may need to have perl module configured or installed

  • Hali: Closed
  • Zawadi: $100
  • Wasilisho Zilizopokelewa: 2
  • Mshindi: tassaduqvw

Maelezo ya Shindano

Hello,
I have the below cgi perl script which shows "test" successfully in the browser.
However, I need lines 2,3,4 to work. When i uncomment those lines, we get 500 Internal Server Error ""End of script output before headers: simple.cgi"

Please make necessary configurations in Linux Red Hat Server to make those lines work. You may need to install a perl module or any other necessary configurations. I will give you access via ssh and ftp .

filename: simple.cgi
#! /usr/bin/perl
################use CGI;
################use Time::Local;
################use MIME::Lite;
print "Content-type: text/html\n\n";
print "<HTML><BODY><H1>test</H1></BODY></HTML>\n";

Ujuzi unaopendekezwa

Maoni ya Muajiri

“Awesome worker who is very experienced and i look forward to working with him again. ”

Picha ya Profaili TheTechnologyGuy, United States.

Bodi ya Ufafanuzi ya Umma

  • tassaduqvw
    tassaduqvw
    • Miaka 5 iliyopita

    what is your redhat version?

    • Miaka 5 iliyopita
    1. tassaduqvw
      tassaduqvw
      • Miaka 5 iliyopita

      can you text me directly? I used APACE2 to get this reloved this

      • Miaka 5 iliyopita
    2. tassaduqvw
      tassaduqvw
      • Miaka 5 iliyopita

      Task done ping me when you get there :D

      • Miaka 5 iliyopita
  • Mazharmehdi009
    Mazharmehdi009
    • Miaka 5 iliyopita

    please share code and more infromation

    • Miaka 5 iliyopita
    1. TheTechnologyGuy
      Mwenye Shindano
      • Miaka 5 iliyopita

      salam. all the code is in the description. that is the entire script.

      • Miaka 5 iliyopita

Onyesha maoni zaidi

Jinsi ya kuanza kwa kutumia mashindano

  • Chapisha Shindano Lako

    Chapisha Shindano Lako Haraka na rahisi

  • Pokea wasilisho nyingi

    Pokea Wasilisho Nyingi Kutoka kote ulimwenguni

  • Tuza wasilisho bora zaidi

    Tuza wasilisho bora zaidi Pakua faili - Rahisi!

Tuma Shindano Sasa ama Jiunge nasi Leo!