PHP & htaccess question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DOX
    Confirmed User
    • Dec 2002
    • 199

    #1

    PHP & htaccess question...

    when i add this code to my htaccess file my ssi stops working for me. any solution?

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

    must be some way to use php any kind of includes.. can anyone recommend anything?
  • natkejs
    Confirmed User
    • Jan 2003
    • 1640

    #2
    AddType application/x-httpd-php .php .htm .html .shtml

    make shtml files run as php as well and make a find/replace on your SSI include strings and parse it all as PHP.

    tho I have no idea why both wouldn't work, we run both and there are no issues.

    Comment

    Working...