Change working webroot to a subfolder of the current webroot
Posted: Mon Jul 10, 2006 11:59 pm
I am guessing this is not possible but if someone out there knows a way they would be great!!!
Currently in a software app i am developing i have a number of folders at the root folder1,folder2
html(webroot)
.-----login/login.sm
.
.-----folder1
.
.-----folder2
.
.-----folder3
.
at the moment a client logs in(login.sm) and is directed to folder 1 which uses classes in folder2,folder3 etc
What i want to do is now allow depending on the client to use different versions of my software without having to change all the code to include a new level as follows
.-----login/login.sm
.
.-----version1.------folder1
.
__________.------folder2
.
__________.------folder3
.
.
.-----version2.------folder1
.
........
Is it possible to change the webroot from 'html' to 'version1' or 'version 2' depending on what version the client uses in login.sm
I would greatly appreciate anyone that could give me some solution to this as i have spent a long time trying to get a work around
Currently in a software app i am developing i have a number of folders at the root folder1,folder2
html(webroot)
.-----login/login.sm
.
.-----folder1
.
.-----folder2
.
.-----folder3
.
at the moment a client logs in(login.sm) and is directed to folder 1 which uses classes in folder2,folder3 etc
What i want to do is now allow depending on the client to use different versions of my software without having to change all the code to include a new level as follows
.-----login/login.sm
.
.-----version1.------folder1
.
__________.------folder2
.
__________.------folder3
.
.
.-----version2.------folder1
.
........
Is it possible to change the webroot from 'html' to 'version1' or 'version 2' depending on what version the client uses in login.sm
I would greatly appreciate anyone that could give me some solution to this as i have spent a long time trying to get a work around