How To Fix Server Error?

Table of contents:

How To Fix Server Error?
How To Fix Server Error?

Video: How To Fix Server Error?

Video: How To Fix Server Error?
Video: [FIXED] Server Error In '/' Application Code Problem Issue 2024, December
Anonim

The impossibility of sending the requested document is considered to be server errors. Errors are divided into those to be processed and to be corrected. An error code that describes the problem is displayed in the HTTP header.

How to fix server error?
How to fix server error?

Instructions

Step 1

Create a file named index.html to perform an operation to correct a 403 Access Denied error that occurs when the server is unable to complete a request due to the lack of permission to access the file or its absence in the directory.

Step 2

Change the permissions to the required file to 644 to allow the web server to read the selected file, or edit the permissions to read and execute the required script in the cgi-bin directory to 755.

Step 3

Create and place the.htaccess file in the www list with ErrorDocument 404 /not-found.html to fix an HTTP 404 "File not found" error that appears when requesting a file that does not exist on disk.

Step 4

Create a file not-found.html with a description of the problem and advice for site visitors to automatically redirect to the generated page when entering a non-existent address.

Step 5

Check the correctness of entering the value of the required directive in the.htaccess file when an error message with the code 500 Internal Server Error appears. Very often the reason is a misspelling.

Step 6

Enter chmod 755 script.pl in the unix shell command line field if you have permission problems for the selected Perl script and make sure to use text (ASCII) FTP transfer mode.

Step 7

Verify that the HTTP headers are outputting correctly in the error.log file and enter the following value in the unix shell text box to perform the syntax check of the selected script:> perl -cw script.plscript.pl syntax OK

Step 8

Correct the errors found and re-check the correctness of the script.

Recommended: