Error on Server

Status
Not open for further replies.

bersec_sap57

New Member
Messages
5
Reaction score
0
Points
0
i have this problem with my free server
http://yokonichiwa.x10.mx/

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.

Please Help me, thanks
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Please post the contents of the .htaccess file you have in the public_html directory. If using cPanel file manager you'll need to enable the viewing of dotfiles to see it. Also, ensure you have no folders CHMOD 777. Generally, folders should be 755, and files 644.

Thanks.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
htaccess is least of his problems; you're dead on with permissions. They're all 777, that has to be fixed first :)
 

bersec_sap57

New Member
Messages
5
Reaction score
0
Points
0
htaccess is least of his problems; you're dead on with permissions. They're all 777, that has to be fixed first :)

But i put permissions to all files in 777 in the begining, and quit the .htacces but does not work, what can i do, thanks.

Pero desde el inicio coloque los permisos 777 a todos los archivos y quite el archivo .htacces pero no funciono, que mas me recomiendan hacer? Gracias.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
777 is blocked by the SUPHP configuration. Files should be 644, folders 755.
 

bersec_sap57

New Member
Messages
5
Reaction score
0
Points
0
777 is blocked by the SUPHP configuration. Files should be 644, folders 755.

This is the .htacces file
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://http://yokonichiwa.x10.mx/
RewriteCond %{HTTP_REFERER} !^http://www.http://yokonichiwa.x10.mx/
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.http://yokonichiwa.x10.mx//empty.html [L]
#http://yokonichiwa.x10.mx//empty.html - your custom hotlinker page

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://http://yokonichiwa.x10.mx/
RewriteCond %{HTTP_REFERER} !^http://www.http://yokonichiwa.x10.mx/
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.http://yokonichiwa.x10.mx//empty.html [L]
#http://yokonichiwa.x10.mx//empty.html - your custom hotlinker page

ExpiresActive on
ExpiresDefault A31536000


can you help me with this problem please.
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
[size=+1]THIS HAS NOTHING TO DO WITH .htaccess![/size]

As was stated above, go into your File Manager or FTP and change the permissions of all of your files and folders. Files must be 644 and folders must be 755.
 
Last edited:

bersec_sap57

New Member
Messages
5
Reaction score
0
Points
0
[SIZE=+1]THIS HAS NOTHING TO DO WITH .htaccess![/SIZE]

As was stated above, go into your File Manager or FTP and change the permissions of all of your files and folders. Files must be 644 and folders must be 755.

Thanks men, i do that inmideatly. bye
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://http://yokonichiwa.x10.mx/
RewriteCond %{HTTP_REFERER} !^http://www.http://yokonichiwa.x10.mx/
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.http://yokonichiwa.x10.mx//empty.html [L]
#http://yokonichiwa.x10.mx//empty.html - your custom hotlinker page

Actually, you do need to add a line to your .htaccess, just to be safe.

Code:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} !^http://http://yokonichiwa.x10.mx/
RewriteCond %{HTTP_REFERER} !^http://www.http://yokonichiwa.x10.mx/
RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.http://yokonichiwa.x10.mx//empty.html [L]
#http://yokonichiwa.x10.mx//empty.html - your custom hotlinker page
 
Status
Not open for further replies.
Top