in reply to Re^2: 500 Internal server error
in thread 500 Internal server error

Is that file a cgi script?

Replies are listed 'Best First'.
Re^4: 500 Internal server error
by sachinz2 (Acolyte) on Feb 06, 2014 at 11:32 UTC

    the process is like this, user requests a cgi script with a pdf file name, my script grabs the file name, then passes the file name to a .pl script as an argument, and my .pl script scraps the pdf, generates the required data in csv file, and then, displays the location of csv file on browser

    user then calls my url "http://my.server.name/cgi-bin/Output/Waybill/waybills01_29_14.csv"

    all the directories are in cgi directory

      the process is like this,

      :) Hmm, that is a whole lot more letters than "yes" or "no"

      Your apache thinks files in the cgi-bin are cgi programs, so apache tries to execute them ... its almost like apache has been told that stuff in cgi-bin is cgi programs to be executed....

        :)

        Yes, But I thought Better to explain , so you may have more insite to the problem

        So if i Keep the file in other Directory(outside cgi-bin), and give the location of that directory Will it work

        I'll do the same and let you now