you need to add host header for anydomain.com on www.anydomain.com or you can create seperate domain anydomain.com on same server and redirect it to www.anydomain.com.
or you can use below code as default document (but u should have anydomain.com host entry or seperate setup)
host =...
Below Are the steps
1. Create system User for ur domain
2. Open Domain Property's from IIS
3. goto Directory Security tab
4. click EDIT (Anonymous access and authentication)
5. uncheck Anonymous Access (only integrated windows authentication should be checked)
Note : new user should have...
i think it's problem with case
the script is an case senditive. like
CASE "www.clientA.mycompany.com" is diirent from
CASE "www.clienta.mycompany.com"
add two line's for debugging asp script after host = lcase(request.servervariables("HTTP_HOST"))
response.write host
Response.End
hi,
u can set asp page for this ..
<%
host = lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.clientA.mycompany.com"
response.redirect "www.clientA.mycomany.com/clientA/login.do?lang=en"
CASE "www.clientB.mycompany.com"
response.redirect...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.