500 Internal server error

Status
Not open for further replies.

panzerbandit

New Member
Messages
8
Reaction score
0
Points
0
I got internal server error in my website http://dunia-games.com
I already re-install SMF script and successful with softaculous but i still got internal server error.
 

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 the cPanel file manager you'll need to enable the viewing of dotfiles to see it. Also, verify that NOTHING is CHMOD 777. Generally, files should be 644 and folders 755.

Thanks.
 

panzerbandit

New Member
Messages
8
Reaction score
0
Points
0
my .htaccess is empty, i already CHMOD all folder and files 777 to 755 but still internal server error
 

stpvoice

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

Folders should be 755, and files 644. Also verify that the public_html folder itself is 750.
 

panzerbandit

New Member
Messages
8
Reaction score
0
Points
0
I try made simple html files on my main domain

index.html
Code:
<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
<html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;>
<head>
</head>
<body>
<p><font size=&quot;7&quot;><strong>Website is under construction</strong></font></p>
<p><font size=&quot;7&quot;><strong><a href=&quot;[URL="http://x10hosting.com/forums/view-source:http://panzerbandit.co.cc/redirect.php"]redirect.php[/URL]&quot; title=&quot;&quot;>Click to Redirect</a>&nbsp;</strong></font></p>
</body>
</html>
when i go to http://panzerbandit.co.cc is fine, but when i clicked link to redirect.php, i got 500 internal server error

redirect.php
Code:
<?php
$redirect = 'http://dunia-games.com';
echo &quot;<center><font face=\&quot;tahoma\&quot;>Click <a href=\&quot;$redirect\&quot;>here</a> if your browser does not automatically redirect you</font></center>&quot;;
?>
<SCRIPT LANGUAGE=&quot;JavaScript&quot;>
redirTime = &quot;2550&quot;;
redirURL = &quot;<?php echo $redirect ?>&quot;;
function redirTimer() {
self.setTimeout(&quot;self.location.href = redirURL;&quot;,redirTime);}
</script>
<BODY onLoad=&quot;redirTimer()&quot;>
Please somebody help me, why my hosting cannot running php files ??
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Dealt with via IRC. Closed.
 
Status
Not open for further replies.
Top