I have a custom login page that in development works fine... but live, it has an error. On the bottom of one of my pages I have an "Admin" link that links to a page in a sub folder called "Secure". The sub folder is secured in web.config. The security is working correctly. The program should direct the user to the login page... which is at the root of a subdomain. Unfortunately, it is directing to the subdomain + the folder name. As an example:
SubDomain: www.SubDomain.com
SubDomain points to folder in main domain www.MainDomain.com/MySubFolder
When the page is looking for a file in the secured folder it
is directing the user to www.SubDomain.com/MySubFolder/login.aspx rather than www.SubDomain.com/login.aspx.
I have been working on this issue for 2 weeks without a resolve... hoping you can help.