Forums

[resolved] Can anyone tell me what this code I found in my htaccess does? (3 posts)

  1. slobizman
    Member
    Posted 1 year ago #

    I found this code in my htaccess file and don't know what it does, so I pulled it out. Can anyone tell me what it does?

    (My domain name (mydomain.com) was not being indexed in Google (used to be), but many internal pages are. Could this code have done something?

    # -FrontPage-
    
    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>
    AuthName www. [spam link removed] .com
    AuthUserFile /home/xxxxxxxm/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/xxxxxxxm/public_html/_vti_pvt/service.grp
  2. mrmist
    Forum Janitor
    Posted 1 year ago #

    The first line is telling the automatic index which Apache shows when there's no default file to ignore a whole bunch of files. (So essentially it's hiding stuff.)

    The limit bits look like they are attempts to prevent various uploads. Whether the syntax is valid I couldn't say 100% without checking.

    The authname bit is the basis for setting up apache based authentication, with a an authname section that looks fairly spamish. However, there doesn't seem to be any code that actually applies this authentication.

    All in all, I'd say if you didn't put this stuff there, your server is probably compromised. Read http://codex.wordpress.org/FAQ_My_site_was_hacked and the related links.

  3. slobizman
    Member
    Posted 1 year ago #

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags