500 internal server error

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

6 replies · 2,162 views · started 17 years ago · 1 min read

5 participants
Dj-marc Developer · 164 posts #1

this is the message that ive received while trying to access my site

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. wat could be the problem?

in my error log i get this: [Wed Apr 29 15:35:42 2009] [error] [client 81.93.186.97] File does not exist: /home/...../public_html/500.shtml,

riderz Lead · 975 posts #4

just change ur htacces to php.ini then it should be working


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

opticalpigion Lead · 593 posts #5

Dj-marc wrote: this is the message that ive received while trying to access my site

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. wat could be the problem?

in my error log i get this: [Wed Apr 29 15:35:42 2009] [error] [client 81.93.186.97] File does not exist: /home/...../public_html/500.shtml,

save this code as 500.shtml

<!-- SHTML Wrapper - 500 Server Error -->
<!--#exec cgi="/500.php" -->

and

<!-- PHP Wrapper - 500 Server Error -->
<html><head><title>500 Server Error</title></head>
<body bgcolor=white>
<h1>500 Server Error</h1>

A misconfiguration on the server caused a hiccup.
Check the server logs, fix the problem, then try again.
<hr>

<?
echo "URL: http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]<br>\n";
$fixer = "checksuexec ".escapeshellarg($_SERVER[DOCUMENT_ROOT].$_SERVER[REQUEST_URI]);
echo `$fixer`;
?>

</body></html>

save as 500.php

capofret Developer · 225 posts #6

opticalpigion wrote: save this code as 500.shtml

<!-- SHTML Wrapper - 500 Server Error -->
<!--#exec cgi="/500.php" -->

and

<!-- PHP Wrapper - 500 Server Error -->
<html><head><title>500 Server Error</title></head>
<body bgcolor=white>
<h1>500 Server Error</h1>

A misconfiguration on the server caused a hiccup.
Check the server logs, fix the problem, then try again.
<hr>

<?
echo "URL: http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]<br>\n";
$fixer = "checksuexec ".escapeshellarg($_SERVER[DOCUMENT_ROOT].$_SERVER[REQUEST_URI]);
echo `$fixer`;
?>

</body></html>

save as 500.php

this only gives a blankpage. 😕

LDSWAPWORLD site closed. im busy with other things in life like facebook , send me PM so i can add you 🙂 www.pinoySG.com

don't ask for help if you're not even helping yourself! i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

External image (may be gone)

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close