How do I get root url using ASP not ASP.net?
I have found this question (
How do I get the site root URL?
)
but it is related to ASP.net.
=====================================
Abbas’s answer provide me the
parent site root url
but does not provide me the subsite root url
=====================================
Classic ASP had a Request.ServerVariables collection that contained all server and environment details. Here’s what the classic ASP version of the example .NET code looks like: