Article ID: 1167, created on Oct 6, 2008, last review on May 9, 2014

  • Applies to:
  • Plesk 10.x for Windows
  • Plesk 9.x for Windows
  • Plesk 8.x for Windows
  • Plesk 7.x for Windows

Symptoms

When going to a website preview specifying a subfolder (eg. http://xxx.xxx.xxx.xxx/$sitepreview/domain.com/subfolder) without a document name, the users are redirected to the actual domain itself.

Resolution

It’s the peculiarity of IIS itself and sitepreview filter is likely to be working correctly:

http://xxx.xxx.xxx.xxx/$sitepreview/domain.com/subfolder
IIS returns a `Location` to browser pointing to ttp://domain.com/subfolder/ (because IIS has recognized it as a directory not a file). and browser follows that  URL. If domain.com is resolved in DNS then you are likely to  a get 403 error - directory listing denied or 404 - not found.

In this case the Plesk redirection filter is not applied at all. So one should explicitly specify `/` at the end of the address string, such as http://xxx.xxx.xxx.xxx/$sitepreview/domain.com/subfolder/

not

http://xxx.xxx.xxx.xxx/$sitepreview/domain.com/subfolder

AdditionalInformation

More information about this IIS behavior can be found here:

http://support.microsoft.com/kb/298408/en-us

c0c38d2367acfa8909699e0b34b01dea a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 c45acecf540ecd42a4bbfb242ce02b1d aac4a8fcd879de03758354e15495d69a c796c01d6951fa24ed54c7f1111667c6 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF