user2271642
user2271642

Reputation:

How to route symfony2 404 to symfony1 legacy app

I'm migrating a symfony1.4 application to symfony 2.5, and we need to run both applications simultaneously seamlessly to the end user.

The idea is to land on sf2 app and if a certain route does not exist, then route (fall back) to the sf1 app.

The challenge here is to use the same domain.

For instance:

Any ideas on how to best approach this?

Cheers, Fabian

Upvotes: 2

Views: 155

Answers (1)

webDEVILopers
webDEVILopers

Reputation: 1916

I think this wrapper bundle was designed for your purpose:

https://github.com/theodo/TheodoEvolutionLegacyWrapperBundle

This bundle allows you to call the legacy framework from Symfony2. Tested and works for legacy app made with symfony 1.4.

Upvotes: 2

Related Questions