1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Protect directories for 'host header' sites

Discussion in 'Plesk for Windows - 8.x and Older' started by brundle, Nov 24, 2004.

  1. brundle

    brundle Guest

    I have a site setup in Plesk and the site has several additional domains setup via Host Headers in IIS.

    We set it up this way so that there would not be an additional 10 sites setup in Plesk when all the domains do is point to the main website.

    however, now when we add directory protection to the main site - it does not work when the other domains are used to browse to the site.

    Any work arounds?

    In Plesk 7, how is the authentication enforced when a Protected Directory is added?

    Can the additonal host header domains be added to a list or somthing - maybe an .htaccess - like file?
  2. cviviani

    cviviani Guest

    .htaccess does not work with iss
    you have set the hostheader names in the proberty field for this web.

    start iis manger, open "your web" Properties dialog
    open advanced and type in your hostheader names.

    have you also examined the appropriate Prermission with the file explore in this directory (Sharing and Security)

    c:\inetpub\www\vhosts\" your directory"
  3. brundle

    brundle Guest

    Yeah the perms are right - a username/password works when browsing to the domain of the main site - just not when browsing to a domain that exists in the host headers config in IIS for that site.