the core files are at
I am creating multiple sites accessing from different domains like
where a, b, c are individual folders in the same server
inside each of this index.php, there is only 1 line, I include the main bootstrap
When I access www.a.com
it throws :
CAssetManager.basePath "C:\app\site\a\assets" is invalid. Please make sure the directory exists and is writable by the Web server process.
The message is correct because there is only one asset in the main core files. But I don’t want individuals asset folders in each sites…
how to refer to only the main asset folder from other folders/domains?
You mean I have to have protected & asset in all of the sites individually?
this is not achievable without virtual host?
In such a case,i think you have to use virtual host.AFAIK
What about setting CAssetManager.basePath to "C:\app\assets" irrespective of the calling folder?
Where and how should I assign CAssetManager.basePath to try if it works without virtual host?
(tri - Tommy Riboe)
Thanks! simple and exactly what i need…