yasutake Posted December 3, 2019 Posted December 3, 2019 Hello, I tried to access this address http://sonzaishinaiworld.heliohost.org/cgi-bin/bbs.cgi But instead of opening the page I am getting this:""""Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@sonzaishinaiworld.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."""" I have double-checked that all my files has required permissions and "cgi-bin" has 777 permission. Please help. Quote
yasutake Posted December 3, 2019 Author Posted December 3, 2019 It needs the permission 755.Set it to 755. Still same error showing up. Quote
wolstech Posted December 3, 2019 Posted December 3, 2019 What's the shebang line in the CGI file? Also, make sure your file has unix line endings. Windows line endings will cause these errors. Quote
yasutake Posted December 3, 2019 Author Posted December 3, 2019 What's the shebang line in the CGI file? Also, make sure your file has unix line endings. Windows line endings will cause these errors.#!/usr/local/bin/perlAlso it is the code in ZIP that I downloaded. http://download.torworld.com/download.cgi?down=download.torworld.com/bbs/tree/tree.zip&id=tree User: yasutakeServer: Johny Quote
wolstech Posted December 3, 2019 Posted December 3, 2019 Shebang line is wrong. Perl is here: /usr/bin/perl 1 Quote
yasutake Posted December 4, 2019 Author Posted December 4, 2019 Shebang line is wrong. Perl is here: /usr/bin/perl I just typed #!/usr/bin/perl and BAM!It worked. Thank you very much brother. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.