Site is not working!

Discussion in 'Apache' started by anversli, Dec 23, 2006.

  1. #1
    HI,

    I was using this code to parse PHP within HTML.

    AddHandler application/x-httpd-php .html
    AddType application/x-httpd-php .html
    Code (markup):
    But my host did update something and its not working.

    Before the update it was something like /www/username/web/ and I got an email to change it with '/opt/www', but I don't have any idea howto change that.

    Can someone help me to fix this problem pls.

    Regards
     
    anversli, Dec 23, 2006 IP
  2. fzx5v0

    fzx5v0 Guest

    Messages:
    188
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I presume you host would like you to change the document root in your in httpd.conf on your virtual hosts
     
    fzx5v0, Dec 24, 2006 IP
  3. anversli

    anversli Active Member

    Messages:
    350
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    fzx5v0 tnx for reply. Problem is already solved, I'm using mod_rewrite function to rewrite php -> html and is working.
     
    anversli, Dec 25, 2006 IP