Ben Symfony'de bir uygulama geliştiriyorum ve localhost (XAMPP) ben webserver olarak aynı koşulları simüle etmek istiyorum.
Aşağıdaki gibi web sunucusu yapılandırılır:
/www   => mydomain.com
/foo   => foo.mydomain.com
/bar   => bar.mydomain.com
...
Ben orada olacağım bu yüzden /www direcotry içine benim Symfony uygulamaya koymak için gidiyorum:
/www
/www/apps
/www/apps/frontend
/www/apps/frontend/...
/www/apps/backend
/www/apps/backend/...
/www/cache
/www/config
... and so on...
/www/web
The thing is that the document root is still set to the /www directory but Symfony expects it in the /www/web.
Of course it will work if I call http://mydomain.com/web but I guess you understand this is quiet stupid solution.
So my question is:. Nasıl htaccess falan kullanan / bypass varsayılan belge kök ayarını değiştirebilirsiniz herhangi bir yolu var mı?
EDIT: I solved it.