GlowHost Web Hosting Forums  

Go Back   GlowHost Web Hosting Forums > In The Lounge > Programming Talk
Register Forum FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-15-2007
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default GoDaddy and php

I need the MIME type or Apache handler for the htaccess to have php parsed as html on a GoDaddy Wiindows server.

I have tried, with no success:

AddHandler application/x-httpd-php .html
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml
AddHandler application/x-httpd-php .htm

and

AddType application/x-httpd-php .html .htm
Addhandler application/x-httpd-php .html .htm

I found the answer a few months ago through Google Search, but can't seem to locate it again.

It's not the answer that is within GoDaddy Support, this applies to their Linux servers.

Any suggestions are appreciated!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-15-2007
sergey's Avatar
Newbie
 
Join Date: Aug 2005
Posts: 181
Rep Power: 51
sergey is on a distinguished road
Default

You need to ask GoDaddy technicians to add the following application extensions in IIS -> Web Sites -> yourdomain.com -> Properties -> Home Directory -> Configuration -> Mappings

.html (extension) C:\PHP\php.exe (execution path)

If they have PHP installed in another folder, they should specify the path to php.exe in Execution Path field.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-15-2007
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

Thank you Sergey! Do you have any other suggestions?

I am just doing some web design for them and would like to use the php includes... not to keen on contacting the client to have them contact GoDaddy.
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-16-2007
sergey's Avatar
Newbie
 
Join Date: Aug 2005
Posts: 181
Rep Power: 51
sergey is on a distinguished road
Default

Unfortunately there is no another way to enable php parser for html pages on the Windows server except the way I described in my last response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-16-2007
rlhanson's Avatar
Master Glow Jedi
 
Join Date: Aug 2007
Location: Chapman, Kansas
Posts: 347
Rep Power: 35
rlhanson will become famous soon enough
Default

Thank you so much Sergey! I do appreciate your responses!
__________________
Thank you,
Lynne Hanson
RL Hanson-Online
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:50 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO
Copyright 2000-2007 GlowHost.com