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.
yasutake Posted December 3, 2019 Author Posted December 3, 2019 It needs the permission 755.Set it to 755. Still same error showing up.
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.
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
wolstech Posted December 3, 2019 Posted December 3, 2019 Shebang line is wrong. Perl is here: /usr/bin/perl 1
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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now