Lets say the site is running now on en.mywebsite.com. In this directory all the application code, data and library is located.
I also have on the same server these es.mywebsite.com and fr.mywebsite.com directories. My idea was to put the files that are normally in the /public directory of a zf application in these subdomain dirs. And by pointing the Application_path in the index.php files to the en.mywebsite.com/application I thought I could run the application on the subdomains.
When I open the es.mywebsite.com in my browser I get a error message like this:
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'parse_ini_file(../
Is my approach correct to run a single application on different subdomains and how can I solve this?
Can someone help me with this problem? Thanks!
Regards,
Laurens van Vliet
没有评论:
发表评论