View Full Version : Domain Removal & 500 Internal Server Error
I am a newbie trying to solve some problems. Thanks for your patience and assistance. I have been reading threads and studying .htaccess & chmod settings and have yet to stagger upon the cure for my issue.
Last week I asked support to remove one of my 2 domains from the account. As soon as the domain was removed (and after a minor DNS snafu), the new primary refuses to load and I get "Internal Server Error" whenever I do anything.
http://www.smotch.com/tobedeleted/test.php is a hello world file and I can only get this to think it wants to be downloaded or show me the raw code in the browser. I am not using any custom php.ini files and there is now only one domain running here. What do I need to add/change to get my site running? Below are a couple error messages.
Thanks for any help...
[Thu Sep 9 23:01:57 2004] [error] [client 66.32.213.22] Premature end of script headers: /powweb/web/cgi-bin/php4
[Thu Sep 9 23:01:58 2004] [error] [client 66.32.213.22] Premature end of script headers: /powweb/web/cgi-bin/error.cgi
I am a newbie trying to solve some problems. Thanks for your patience and assistance. I have been reading threads and studying .htaccess & chmod settings and have yet to stagger upon the cure for my issue.
Last week I asked support to remove one of my 2 domains from the account. As soon as the domain was removed (and after a minor DNS snafu), the new primary refuses to load and I get "Internal Server Error" whenever I do anything.
http://www.smotch.com/tobedeleted/test.php is a hello world file and I can only get this to think it wants to be downloaded or show me the raw code in the browser. I am not using any custom php.ini files and there is now only one domain running here. What do I need to add/change to get my site running? Below are a couple error messages.
Thanks for any help...
[Thu Sep 9 23:01:57 2004] [error] [client 66.32.213.22] Premature end of script headers: /powweb/web/cgi-bin/php4
[Thu Sep 9 23:01:58 2004] [error] [client 66.32.213.22] Premature end of script headers: /powweb/web/cgi-bin/error.cgiA quick look at the error message suggests that you're still running an .htaccess file (as does your title of the thread). It would help others if you could post your .htaccess file in total or otherwise let people on here see it in order find the cause of the problem.
Edit: I tried looking at http://www.smotch.com and got a file listing - add a temporary index.html to preven others seeing your sub-directory list.
Good call on the temp index file, moved the test file there too.
Test page: http://www.smotch.com/test.php
The .htaccess is below, very simple:
AddHandler application/x-httpd-php .php .htm .html
I borrowed that from one of the other threads (as well as some other attempts), but the best I got was just a raw HTML version of the PHP scripts.
If I pull .htaccess I still get the error. Currenly there is no .htaccess
Also, Is it true that I don't even need this file unless I want to make advanced settings for other sub-domains, password protection, etc?
Thanks...
Good call on the temp index file, moved the test file there too.
Test page: http://www.smotch.com/test.php
The .htaccess is below, very simple:
AddHandler application/x-httpd-php .php .htm .html
I borrowed that from one of the other threads (as well as some other attempts), but the best I got was just a raw HTML version of the PHP scripts.
If I pull .htaccess I still get the error. Currenly there is no .htaccess
Also, Is it true that I don't even need this file unless I want to make advanced settings for other sub-domains, password protection, etc?
Thanks...I'm no expert on .htaccess (I'm very much a newbie) but would think that a one liner isn't sufficient. I'm assuming (bad mistake I know) that the handler line is needed to make any php page work so that would explain why it doesn't without .htaccess file.
Have a look again at the tutorials on .htaccess and add a very simple one.
As for not needing the file, it all depends on what you mean by 'advanced settings'.
You need a .htaccess file if you don't create your sub-domains at the same level as htdocs - there are two methods for sub-domains (subdomain.maindom.com) one needs a .htaccess file, the other doesn't. Again, the tutorials should help with this.
Good luck.
I guess I was hoping for something a little more specific than what you offered. I have read the tutorials and they are specific to the following:
• Password protection
• Setting up subdomains
• Redirection
• Blocking traffic to your site
• Custom Error pages
• stop image/bandwidth theft
None of which I have.
My fear is that POWWEB still has the old domain "transcendingglory.com" somewhere in my configuration and it is perhaps preventing smotch.com from being completely visible. Maybe if I create a subdomain in the htaccess, fate will smile.
thanks...
I guess I was hoping for something a little more specific than what you offered. I have read the tutorials and they are specific to the following:
• Password protection
• Setting up subdomains
• Redirection
• Blocking traffic to your site
• Custom Error pages
• stop image/bandwidth theft
None of which I have.
My fear is that POWWEB still has the old domain "transcendingglory.com" somewhere in my configuration and it is perhaps preventing smotch.com from being completely visible. Maybe if I create a subdomain in the htaccess, fate will smile.
thanks...I'd love to give more detailed advice, but I don't know the answers - I was hoping someone who knows more would join in as well :D
I'd suggest a further ticket to support if they closed your last one, specifically asking about the transcendingglory.com potential problem.
Thanks. I am trying that route as well as immersing myself in htaccess.
Can't think of anything else I'd rather do on a beautiful Saturday afternoon. :rolleyes:
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.