Hello, Can you show your index.php?
2010/2/19 Laurens van Vliet <[email protected]>: > I have a website that I made with ZF and it is running on a server. Because > I want this website to be multilanguage, I made some subdomains for the > different languages on the webserver. > 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(../application/configs/application.ini) [<a > href='function.parse-ini-file'>function.parse-ini-file<a>]: failed to open > stream: No such file or directory' in > /var/www/zend/ZendFramework-1.9.7-minimal/library/Zend/Config/Ini.php:184 > > 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 > > > -- Sincerely yours, Aleksey V. Zapparov A.K.A. ixti FSF Member #7118 Mobile Phone: +34 617 179 344 Homepage: http://www.ixti.ru JID: [email protected] *Origin: Happy Hacking!
