Tag Archives: devops

Install Symfony app in a subfolder of an existing site

The request was simple: one of my customer wanted to have a Symfony app available as a subfolder of an existing site, i.e.

http://www.example.com/myapp/

Googling for it, I found lots of tutorials but each one of them failed to meet two specific requirements:

  • I don’t want to edit the virtual host configuration
  • the application folders (“app”, “bin”, “src”, “vendor”) must be outside the site root

So here’s my solution, which only assumes that you have file access (i.e. FTP) at one level above your site root.

Continue reading Install Symfony app in a subfolder of an existing site