Parsing PHP in .html Files

Discussion in 'Apache' started by xtreme fever, Jan 30, 2007.

  1. #1
    Hello,

    When I add the code to my .htaccess file, my pages ask to be opened or to be saved. How can I fix this problem?

    Thanks
     
    xtreme fever, Jan 30, 2007 IP
  2. maiahost

    maiahost Guest

    Messages:
    664
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    this code ?
    
    AddHandler application/x-httpd-php .html
    
    Code (markup):
     
    maiahost, Jan 31, 2007 IP
  3. xtreme fever

    xtreme fever Active Member

    Messages:
    472
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    95
    #3
    I think I will change to a host with cpanel.
     
    xtreme fever, Jan 31, 2007 IP
  4. JRBHosting

    JRBHosting Peon

    Messages:
    121
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you have a problem with htaccess, what software your host uses will not make a difference.

    What code is in your htaccess?
     
    JRBHosting, Feb 4, 2007 IP
  5. xtreme fever

    xtreme fever Active Member

    Messages:
    472
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    95
    #5
    i just used the code above but nothing displayed. i hope i am understanding this method correctly.
     
    xtreme fever, Feb 4, 2007 IP
  6. xtreme fever

    xtreme fever Active Member

    Messages:
    472
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    95
    #6
    i changed to a cpanel web host and everything works.
     
    xtreme fever, Feb 5, 2007 IP