Subdomain to a folder

Redirects a subdomain into a folder child of main domain, named same as subfolder.
Code in Default.asp in Subdomain

CodeFunctionName
What is this?

Public

Tested

Original Work
<%
MyFol                            = Request.ServerVariables("server_name")
MyFol                            = left(MyFol, instr(Myfol, ".") - 1)
' Possible options and pass over parameters
' UserInfo                    = Split(GetUserInfo_Folder(MyFol), "|")
Response.Redirect            "http://www.Alwah.net/" & MyFol
% >
' Extracted from Alwah.net "Add SubDomain" feature. Add Subdomain to a user

Views 206

Downloads 87

CodeID
DB ID