Htaccess problems, any idea to the prob? (Very simple)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathan
    Senior Member
    • Mar 2004
    • 1229

    #1

    Htaccess problems, any idea to the prob? (Very simple)

    AddType application/x-httpd-php .php .htm .html .shtml .gd

    ^^ Thats all it is. Yet the ".gd" seems to produce a Server 500 Error,
    and the second I remove it all is right. Any idea to why?

    Is it a reserved file name maybe? Or PHP just don't like it?
    I'm trying to use it to sort of "customize" the files to the site's initials ("GD").
    "How can someone be so distracted yet so focused?"
    - C
  • Amitabh
    Member
    • Mar 2004
    • 78

    #2
    Seems more like an issue with the server . I just tried it on my FC2/Apache 2.50, and it worked without a problem.

    Comment

    • Jonathan
      Senior Member
      • Mar 2004
      • 1229

      #3
      Turns out to be a issue with PHPSuexec (sp?).
      I s'pose you can only run it under standard extentions like .PHP
      "How can someone be so distracted yet so focused?"
      - C

      Comment

      • sdjl
        Senior Member
        • Mar 2004
        • 502

        #4
        You tried adding a mime type in cPanel?
        You can specify what extensions are handled by what.
        It may help..

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

        Comment

        • Jonathan
          Senior Member
          • Mar 2004
          • 1229

          #5
          Hmm just tried but that didn't work. I guess if PHPSuexec
          won't let it work, with or without setting a mime in cPanel.
          "How can someone be so distracted yet so focused?"
          - C

          Comment

          • bjacobs
            Junior Member
            • Mar 2004
            • 28

            #6
            Have you tried AddHandler application/x-httpd-php .php .htm .html .shtml .gd

            I use this without the .gd and it works to read php in html pages.

            Comment

            Working...