| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
says GIMME SOME MORE!
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,092 posts
Gave thanks: 8
Thanked 34 times
|
phpsuexec and html files
Ok, I'm still waiting on a response back from support about a site, but it has occured to me that the 500 Interal Server Error problem I am having is only affecting html files. PHP files are running fine, but html files are giving the 500 error. So, sites that are purely html or start with an html file instead of a php are coming up with the error, while the php ones are not.
Any clues as to why this is happening?
__________________
|
|
|
|
|
|
#2 (permalink) | |
|
says GIMME SOME MORE!
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,092 posts
Gave thanks: 8
Thanked 34 times
|
Ok, adding:
Quote:
__________________
|
|
|
|
|
|
|
#3 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
if its a dedi you have (your server?), you can easily append .html to that line in the apache httpd.conf? id suggest finding out why it isnt working, but that would be a fine temp solution if using phps handler works.
|
|
|
|
|
|
#4 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
|
Geoff's got it =D, but yeah, definitely gotta look into it, don't forget that whole thing about unnecessary usage of the CPU to parse html files as php files.
__________________
Nobody doing nothing |
|
|
|
|
|
#5 (permalink) |
|
says GIMME SOME MORE!
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,092 posts
Gave thanks: 8
Thanked 34 times
|
That last part is exactly what I was worried about. I'm responding back to the ticket now. The reason it wasn't responded to was because they closed it. I think they closed it because of the way I answered...it sounded like the problem was solved because I said I may have solved my own problem. So, I confused them lol
But this sounds like something I could fix myself...how? Where do I look, what do I add. Wait, better idea...I'll let them do it. I could short out the building.
__________________
Last edited by David; March 21st, 2006 at 6:30 AM.. |
|
|
|
|
|
#6 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
my experience with 500 errors has typically been with a badly configured httpd.conf and cgi scripts with incorrect, headers? content-type in particular if i remember correctly. (ive been working with pretty much php only the last 2 years)
might want to make sure that the default content type setting in the conf file is correct. thats all i can think of for now. im gonna be playing in my own conf file in the next few days, so if i think of anything else ill drop it here ![]() |
|
|
|
|
|
#7 (permalink) | |
|
says GIMME SOME MORE!
Resident.
Joined in Mar 2004
Lives in fear of Obama.
Hosted on Pass 7
13,092 posts
Gave thanks: 8
Thanked 34 times
|
Cool beans. The more information, the more dangerous I can be to myself.
This was what I got back from the desk: Quote:
__________________
|
|
|
|
|
|
|
#8 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
|
That's my only gripe with some of support, sometimes it's not about the best solution, just a solution.
I'll do some checking into phpsuexec for ya though.
__________________
Nobody doing nothing |
|
|
|
|
|
#9 (permalink) |
|
Yabadabadoo
Super #1
Joined in Nov 2004
Lives in B.C., Canada
Hosted on Dedicated
1,013 posts
Gave thanks: 7
Thanked 28 times
|
ya it looks like they did exactly what i suggested earlier as a TEMP solution, and a big part of the recommendation was as mr fern stated, will cause unnessary resource usage, which ultimately is causing a longer load time. for a small server without a lot going on it wont make any noticable difference at all. but start trying to run a site like mr fern there and youll want that fixed properly asap:P
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|