Compromised .htaccess ?

Discussion in 'Site & Server Administration' started by Nystul, Jun 7, 2009.

  1. #1
    Found a new .htaccess on my site -

    # -FrontPage-

    AddType application/x-httpd-php .html .php .htm
    php_flag output_buffering On
    php_value output_handler ob_gzhandler
    php_flag zlib.output_compression Off

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>

    #DirectoryIndex index.php

    ** Is this compromised ?

    Thanks alot
     
    Nystul, Jun 7, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    First part of the code says that html should act as php

    It could be compromised if u didnt add it offcourse as a code cant just come in there
     
    Bohra, Jun 7, 2009 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    Have you recently enabled FrontPage Extension in your web site? It seems that the code is added by FrontPage Extensions.

    Kailash
     
    kailash, Jun 8, 2009 IP