Adding apache handler ALWAYS turning out in 500 internal server error

Status
Not open for further replies.

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Here is my prob: everytime I add a Apach handler in the cpanel or in a .htaccess file I get one of these errors:

1. If I typed in wrong handler or a non excisting handler I get prompted to download the page

2. If it is the right handler I get 500 internal server error

Now this is making me unable to add th x10 ads on my site right now so I hope I don't get suspended because this errors.
Edit:
Plz help!
 
Last edited:

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
When I add this to the .htaccess file
Code:
AddHandler application/x-httpd-php .php
php_value auto_prepend_file overall_header.php
php_value auto_append_file overall_footer.php

I get it like this:

http://jagf.pcriot.com/dk

both overall_header.php and overall_footer.php exsists.

This happen only in the folder I have the .htaccess in. The reason I trying with this because I don't want to breake the rules and add the ad on every page.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Code:
AddHandler application/x-httpd-php .php

Adding that overrides our intermediate PHP settings which will cause problems, try taking that out.

-Corey
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Found the error!
[Tue Nov 13 11:26:15 2007] [alert] [client *IP*] /home/viggeswe/public_html/dk/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration

What should the real thing be???
Edit:
Plz help me... No one knows the right value???
Edit:
Well, I don't add the ads then... What about that?
 
Last edited:

Chris73

New Member
Messages
5,356
Reaction score
1
Points
0
Interesting. Threats don't get answers and telling us you won't add the ads will only get you suspended. I am sure corey will be along to explain how to fix your mess up.
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I have waited over an week to found a way to place my ads on my site and no one answers how I should add an overall header. The ppl that has done most is probably Slothie that gived me the code. Then the .htaccess and error log says that "php_value" doesen't exsist or something or are misspelled I can't add the ads. I think there would be an option for the ads: 1. Place the code yourself or have it automaticly set to the header or the footer.
Edit:
C'mon! The game has been down foe almost one week now!
 
Last edited:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Don't place the ads, see what happens.

We do not support 3rd party scripts, so fixing YOUR issue is not our priority. Is your hosting account working? Yes. that is the only thing we are required to keep working.

Because it doesn't work the way you want and do the things that ONLY you are requesting is not our problem. Most settings can not be set using .htaccess, this is probably the issue. We have AllowOverride None which might be causing it. It could be a few things. Bottom line, what you are trying to do probably won't work like that.

-Corey
 
Status
Not open for further replies.
Top