karibeer Posted June 21, 2010 Posted June 21, 2010 Hi There I am getting a 500 internal server error for my domain x-metal.co.uk Is this a server error or something I am doing wrong Please could you take a look Thanks Grant
Byron Posted June 21, 2010 Posted June 21, 2010 Have you recently added and programs that would edit your .htaccess file? Also check your Error log file at your cpanel for errors.
karibeer Posted June 22, 2010 Author Posted June 22, 2010 Hi There I have not made any changes to the .htaccess file however I have checked the error log and it claims below [Tue Jun 22 00:14:55 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/500.shtml but I cannot see why as I do have index.php in the root under public_html any help please
Byron Posted June 22, 2010 Posted June 22, 2010 Can you post me what you have in your .htaccess file?
karibeer Posted June 22, 2010 Author Posted June 22, 2010 Hi There See below written in my .htaccess file RewriteEngine on # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName grant.heliohost.org AuthUserFile /home/karibeer/public_html/_vti_pvt/service.pwd AuthGroupFile /home/karibeer/public_html/_vti_pvt/service.grp RewriteCond %{HTTP_REFERER} !^http://www.x-metal.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.x-metal.co.uk$ [NC] RewriteCond %{HTTP_REFERER} !^http://x-metal.co.uk/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://x-metal.co.uk$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
Byron Posted June 22, 2010 Posted June 22, 2010 This support request is being escalated to our root admin.
Ashoat Posted June 23, 2010 Posted June 23, 2010 There is surely a bug somewhere in your index.php. Do some debugging and figure out which line is giving the 500, and we can go from there.
karibeer Posted June 24, 2010 Author Posted June 24, 2010 O.K. Not sure what is happening now but getting errors below in the error log and did not change anything ? [Thu Jun 24 02:20:56 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/500.shtml, referer: http://x-metal.co.uk/ [Thu Jun 24 02:20:49 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:49 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_pvt/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_cnf/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_txt/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_log/ Any ideas ?
Byron Posted June 24, 2010 Posted June 24, 2010 O.K. Not sure what is happening now but getting errors below in the error log and did not change anything ? [Thu Jun 24 02:20:56 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/500.shtml, referer: http://x-metal.co.uk/ [Thu Jun 24 02:20:49 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:49 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/404.shtml [Thu Jun 24 02:20:46 2010] [error] [client 212.118.255.144] File does not exist: /home/karibeer/public_html/favicon.ico [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_pvt/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_cnf/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_txt/ [Thu Jun 24 02:20:45 2010] [error] [client 212.118.255.144] client denied by server configuration: /home/karibeer/public_html/_vti_log/ Any ideas ? Most of that is saying that the files don't exist, which is ok. If your not using Frontpage Extensions, you might want to go to Frontpage Extensions at your cpanel and remove them. Looks like removing your index.php stopped the 500 error though.
Ashoat Posted June 25, 2010 Posted June 25, 2010 I'm still seeing a 500. Try debugging through your index.php.
Recommended Posts