Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    CGI file will not execute?

    Hello all,

    I am trying to restore an old site that was given to me. All the webpages are complete. I have downloaded and installed Xampp as my webserver. I threw my folder of html files in the htdocs folder. All of my static HTML pages and links work just fine except there is one link to a cgi perl script in a seperate folder called cgi-bin and it just does not work. Anyone know why? I am unfamiliar with cgi.

    Thanks!

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Have you checked the error logs of the server? If the scripts 'worked before' then I would check, firstly that you have set the files permissions to be perhaps 755

    take a look at the error log if that doesn't help.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #3
    Regular Coder Samhain13's Avatar
    Join Date
    Aug 2008
    Location
    Pilipinas
    Posts
    169
    Thanks
    4
    Thanked 18 Times in 18 Posts
    Is the CGI script executable?

    You can also check the Perl script. The path in the first line, starting with #! should be the path to your Perl interpreter (or whatever XAMPP suggests for Perl scripts).
    I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
    ** Independent Multimedia Artist in Pasig **


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •