Answered
Automated method to create subsites
We are creating subsites by creating new subdirectories and
using a separate application.cfm and include files.
www.mysite.com/subsite1
www.mysite.com/subsite2
Is there a way in coldfusion to automate this? I.e., map "subsite1", "subsite2", ... to a database column to determine which rows/content to render. The part that is unclear is how to capture the subdirectory and map it to a database column even if the subdirectory doesn't exist.
www.mysite.com/subsite1
www.mysite.com/subsite2
Is there a way in coldfusion to automate this? I.e., map "subsite1", "subsite2", ... to a database column to determine which rows/content to render. The part that is unclear is how to capture the subdirectory and map it to a database column even if the subdirectory doesn't exist.