Yes there is. Just put the frontend controler in the root and the rest one level lower. You might need to change some file permissions but this worked at my project.
> Hi guys and girls! > > Is there a way to publish a Symfony project with the index.php (front > controller) on the web-root directory? (instead of the sf_app_name/web/ > directory). > > I have this question cuase there are many clients that like just to put > the > project folder on the > htdocs directory (mostly are Windows users) and they expect the > application > to work (This way you are jumping over the virtual host configurations > suggested on the jobeet tutorial) > > And also some free web hosting do not allow configuring a Virtual Host, > they > expect you to put your index.php on the toplevel directory and that is > imposible with a common Symfony project hierarchy (as far as I know and > the > reason of my question). > > If I put a SF project on the top level, I would have to access my app like > : > http://myapp.suckingfreewebhosting.com/*web*/index.php > when I would love to do: > http://myapp.suckingfreewebhosting.com/index.php > > > So if there is no wayto have the front controller on the web-root > directory, > my current thoughts are : > > 1-My clients should have enough money to get a web master services to > configure the project for them. > 2- Free hosting sucks, I should get a real hosting. > > That is what takes my breath away this days, cuase I do really would love > to > use Symfony on really small projects and not only on big projects having > access to a virtual host, I dont want to do things like the DIY style > anymore. > > Is there a way to get the front controller in the web-root directory? > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
