My customer accountSales contactWebmailOVHcloud Blog

Welcome to OVHcloud.

Log in to order, manage your products and services, and track your orders

Log in
OVH Guides

Web Hosting: How to fix the 500 Internal Server Error

500 Internal Server Error

Last updated 5th May 2020

.htaccess

If the .htaccess syntax is incorrect, the web server will return a 500 Internal Server Error. To confirm whether .htaccess is the cause, rename the .htaccess file .htaccess_bak for example.

Find out more: What else can you do with the .htaccess file?

Permissions:

You must follow a few security rules concerning the permissions you give to your scripts.

  • your website's root folder must be set to 705 (the default permissions set up by OVHcloud). This is your FTP server / (slash) or . (point) directory, do not change it.
  • other directories must be set to no higher than 755,
  • php/cgi scripts must be set to no higher than 755.

Script error

If you program in perl for example, an error in your script is summed up by a 500 error. Due to security you will not be given more details. To debug your scripts, you can use the telnet/ssh connection (available with Professional hosting and upwards).

Click here for more information: Modifying the configuration of a Web Hosting plan


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...