help

Status
Not open for further replies.

bukov8520

New Member
Messages
3
Reaction score
0
Points
0
uploaded a site, error Internal Server Error

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

Please contact the server administrator, no-reply@x10hosting.com 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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

What is it?

on the server, you can use .htaccess
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
Hello,

500 Internal Server Errors are caused by errors on your account that you can easily fix once you figure out what the error is. The common causes for 500 Internal Server Errors are below:
1. Permissions. Files MUST be 644 and folders MUST be 755.
2. Not specifying a RewriteBase when using RewriteRules in .htaccess.
3. Trying to use php_flag or php_value in .htaccess.

Please see our wiki page for more information.
 

bukov8520

New Member
Messages
3
Reaction score
0
Points
0
content .htaccess


AddDefaultCharset windows-1251

RewriteEngine On
RewriteBase /
RewriteRule ^.htaccess$ - [F]

RewriteCond %{REQUEST_URI} !\.(jpg|jpeg|ico|gif|png|css|xml|js|pl|txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !^/admin
RewriteCond %{REQUEST_FILENAME} !^/migrate
RewriteCond %{REQUEST_FILENAME} !^/install
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php [L]



Permissions. Files MUST be 644 and folders MUST be 755. well done


error remains




Hello,

500 Internal Server Errors are caused by errors on your account that you can easily fix once you figure out what the error is. The common causes for 500 Internal Server Errors are below:
1. Permissions. Files MUST be 644 and folders MUST be 755.
2. Not specifying a RewriteBase when using RewriteRules in .htaccess.
3. Trying to use php_flag or php_value in .htaccess.

Please see our wiki page for more information.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
I don't think that is the cause, but try commenting out/removing the AddDefaultCharset line to see if that fixes things. Only other thing I can think of is the permissions on public_html itself, which should be set to 750
 
Status
Not open for further replies.
Top