.htpasswd protect a website exept one directory?

Discussion in 'Server Operation' started by edge, Jul 12, 2009.

  1. edge

    edge Active Member Moderator

    Is it possible to .htaccess / .htpasswd protect a website exept one directory of it?

    www.domain.tld is password protected, but www.domain.tld/demo is not.
  2. TheRudy

    TheRudy ISPConfig Developer ISPConfig Developer

    Into demo folder put .htaccess file that contains:

    allow from all
    satisfy any

Share This Page