'Internal Server Error' on 1and1 hosting

If you see this error on 1and1 hosting:

Internal Server Error

 

It happened because there is an error in your .htaccess file. More than likely, you are using something you were suggested elsewhere on the Internet to include in your .htaccess, but that 1and1 does not allow. These include, but are not limited to:

php_value upload_max_filesize "10M"

php_value session_save_path "tmp/cache"

php_flag magic_quotes_gpc Off

php_flag register_globals Off

php_flag session.use_trans_sid Off

php_flag display_startup_errors 0

php_flag display_errors 0

php_flag html_errors 0

php_value docref_root 0

php_value docref_ext 0

 

 

If you were adding 301 redirects, or other statements as well, then making even a tiny error (an extra slash or space), will result in the same effect. My suggestion if you come across this error, and you believe it is due to your htaccess file:

Either temporarily disable htaccess, or comment out sections of your file with the # character at the beginning of each line to see which line is the problem.

 

You may also be seeing this error periodically. 1and1 seems to have a limit on simultaneous persistent http connections. A comment below indicates that many users accessing the site at a time will cause this error. In my own experience, I can only confirm that this error shows every time someone tries to open many pages from your website in tabs, all at the same time. It does not take more than about a dozen simultaneously opening tabs of your website opening before this error is shown. I will attempt to contact 1and1 to see how this limit can be removed.

 

 

"Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

Please contact the server administrator, webadmin@kundenserver.de and inform them of the time the error occurred, and anything you might have done that may have caused the 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."

#php_value upload_max_filesize "10M"

#php_value session_save_path "tmp/cache"

#php_flag magic_quotes_gpc Off

#php_flag register_globals Off

#php_flag session.use_trans_sid Off

#php_flag display_startup_errors 0

#php_flag display_errors 0

#php_flag html_errors 0

#php_value docref_root 0

#php_value docref_ext 0



˅˅˅ Additional valuable information is available at one of the links below: ˅˅˅

 

Did you like the article? Let Google Search know by clicking this button: . Please link to content that you find useful on this website on your own website, forum or blog! You can also comment on this page below, or to ask a question or suggest a topic for me to research. There is a user-editable Wiki available on my website, as well as a Forum that you can contribute to. Site Map.

Page last modified 28-Sep-12 13:09:59 EDT
Comments on this page: