SSI and parsing PHP in .html

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheMaster
    Confirmed User
    • Nov 2003
    • 2734

    #1

    SSI and parsing PHP in .html

    Hi,

    could someone help me out?

    (Linux server)

    I use a lot of ssi, which I activate in my .htaccess by adding the line:

    AddHandler server-parsed .html

    now I would like to include rss feeds on my html pages, for that I use a php parser. To make the parser work in html, I added the lines

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

    to my .htaccess

    now the ssi doesn't work anymore of course

    Anyone know, how to make them work together?

    Thanks
  • TheMaster
    Confirmed User
    • Nov 2003
    • 2734

    #2
    damn, why do things in hindsight always seem so easy ???

    just kept AddHandler server-parsed .html in my .htaccess
    and I call the rss parser from within my html pages by ssi

    Comment

    • Elixir
      CHECK MY SIG-AMAZING SITE
      • May 2006
      • 12870

      #3
      Linux servers are difficult to handle
      SIG FOR SALE


      ICQ 210874419

      Comment

      • Fetish Gimp
        Confirmed User
        • Feb 2005
        • 1699

        #4
        Why keep using SSI when you can use PHP includes? Besides, PHP includes give you much more flexibility.
        Strapon Seduction - femdom blog | Twitter

        Comment

        • jo3
          Confirmed User
          • Nov 2003
          • 876

          #5
          php for the win
          //porn-oh network

          Comment

          Working...