parsing .html files (tried everything but can't get it to work)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • manishie@manishie.com

    parsing .html files (tried everything but can't get it to work)

    hi all,

    i'm running apache 2.0. here's my php.conf:

    LoadModule php4_module modules/libphp4.so
    AddType application/x-httpd-php .php .php4 .php3 .phtml .html
    DirectoryIndex index.php index.php3

    whenever i try to open an html page, the browser keeps trying to
    download the file. i've ready every post i could find, but nothing
    seems to help.

    help!

    mkm

  • rw

    #2
    Re: parsing .html files (tried everything but can't get it to work)

    Saved from browser doc is interpreted by php? Look at http negotiation,
    use eg. ethereal, what headers send apache?

    manishie@manish ie.com wrote:[color=blue]
    > hi all,
    >
    > i'm running apache 2.0. here's my php.conf:
    >
    > LoadModule php4_module modules/libphp4.so
    > AddType application/x-httpd-php .php .php4 .php3 .phtml .html
    > DirectoryIndex index.php index.php3
    >
    > whenever i try to open an html page, the browser keeps trying to
    > download the file. i've ready every post i could find, but nothing
    > seems to help.
    >
    > help!
    >
    > mkm
    >[/color]

    --
    Robert Was

    Comment

    • Kartic

      #3
      Re: parsing .html files (tried everything but can't get it to work)

      manishie@manish ie.com said the following on 1/21/2005 12:09 AM:[color=blue]
      > hi all,
      >
      > i'm running apache 2.0. here's my php.conf:
      >
      > LoadModule php4_module modules/libphp4.so
      > AddType application/x-httpd-php .php .php4 .php3 .phtml .html
      > DirectoryIndex index.php index.php3
      >
      > whenever i try to open an html page, the browser keeps trying to
      > download the file. i've ready every post i could find, but nothing
      > seems to help.
      >
      > help!
      >[/color]


      Did you restart Apache after changing your httpd.conf so that the
      modifications can take effect?

      --Kartic

      Comment

      Working...