I sent this to bug@litespeedtech.com but since I have received no response in over a week, I will post it here as well.
---
It appears that litespeed is caching the 'resolved' path for the homedir.
If I have the homedir for a site set to /home/site/htdocs, and /home/site/dev and /home/site/prod containing files for the site. Creating a sybolic link from /home/site/dev to /home/site/htdocs in order to load the files in 'dev' as the homedir. Now I want to switch to 'prod' as the website, so I remove the htdocs symlink, and make a new symlink form /home/site/prod to /home/site/htdocs. Litespeed still loads/serves the files from 'dev'.
Restarting litespeed solves the problem.
This behavior was experienced on a litespeed-std install (no caching), and an litespeed-ent (with caching disabled), if caching was enabled, I could see this behavior as a result of the caching, but neither of these servers have caching enabled.
---
Just to add additional info
The std version was: v4.0.20
The ent version was: v4.0.16
---
James Mackie
EZProvider Networks, Inc.
http://www.ezp.net
1.888.397.7853
---
It appears that litespeed is caching the 'resolved' path for the homedir.
If I have the homedir for a site set to /home/site/htdocs, and /home/site/dev and /home/site/prod containing files for the site. Creating a sybolic link from /home/site/dev to /home/site/htdocs in order to load the files in 'dev' as the homedir. Now I want to switch to 'prod' as the website, so I remove the htdocs symlink, and make a new symlink form /home/site/prod to /home/site/htdocs. Litespeed still loads/serves the files from 'dev'.
Restarting litespeed solves the problem.
This behavior was experienced on a litespeed-std install (no caching), and an litespeed-ent (with caching disabled), if caching was enabled, I could see this behavior as a result of the caching, but neither of these servers have caching enabled.
---
Just to add additional info
The std version was: v4.0.20
The ent version was: v4.0.16
---
James Mackie
EZProvider Networks, Inc.
http://www.ezp.net
1.888.397.7853