AddHandler not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jkirkpatrick
    Junior Member
    • Jan 2005
    • 12

    #1

    AddHandler not working

    I've included the following in my .htaccess file:

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


    I'm not sure why it's not working. I don't get an error message, it just doesn't call the .php code.

    For example, view the code for the following page: http://www.pipsqueakboutique.com/Gif...p-1-c-324.html and you'll see that the first line is showing up instead of being executed like it's supposed to.

    Any ideas on what I'm doing wrong? This is driving me insane

    Thanks for any help,
    Jennifer
  • -Oz-
    Senior Member
    • Mar 2004
    • 545

    #2
    i dont think this code works due to phpsusexec. gonna have to use modrewrite to do it as that will work on these servers.
    Dan Blomberg

    Comment

    • sdjl
      Senior Member
      • Mar 2004
      • 502

      #3
      Could you not use the add handler thing located in cPanel?

      David
      -----
      Do you fear the obsolescence of the metanarrative apparatus of legitimation?

      Comment

      • AndrewT
        Administrator
        • Mar 2004
        • 3655

        #4
        AddHandler will work, AddType will not. Please submit a ticket and I can look into this a bit further.

        Comment

        Working...