1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

found this in my .htaccess

Discussion in 'Apache' started by login, Jan 16, 2008.

  1. #1
    Can you please tell me what this is doing?
    Green rep to good answers:)

    <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.mydomxin.com
    AuthUserFile /usr/local/4admin/apache/vhosts/mydomxin.com/httpdocs/_vti_pvt/service.pwd
    AuthGroupFile /usr/local/4admin/apache/vhosts/mydomxin.com/httpdocs/_vti_pvt/service.grp
     
    login, Jan 16, 2008 IP
  2. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #2
    The <limit GET POST> section tells the server to accept a GET or POST HTTP request from anyone.

    The <limit PUT DELETE> section tells the server not to accept PUT or DELETE HTTP requests from anyone.

    The last 3 lines have to do with prompting you for a password when you access that directory in your browser.
    AuthName is basicly a title for the password prompt.
    AuthUserFile handles name based logins.
    AuthGroupFile handles group based logins.
     
    joebert, Jan 16, 2008 IP
    login likes this.
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Thanks joebert.

    Hmm, wonder why it is there, there are no logins or passwords at the site.
     
    login, Jan 17, 2008 IP
  4. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #4
    Directories/Files with "_vti" in the beginning of the name usually have somthing to do with Frontpage extensions.
     
    joebert, Jan 17, 2008 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    if you have no Frontpage relevant content on your site, you may safely remove all your above quoted lines ( ###out-comment first - then remove after successful test) .
    may be that server default .htaccess is included for frontpage ppl

    to the best of my 10 yrs of linux experience, in normal linux hosting is no need/no use for such .htaccess lines at all
     
    hans, Jan 18, 2008 IP
    login likes this.