Route all requests to index.php #8425

Closed
mrclay opened this Issue Jun 7, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@mrclay
Member

mrclay commented Jun 7, 2015

Current system requires separate config in .htaccess, handler scripts, and blocks of code in Application::runCliServer, with no performance benefit. When design is right we basically shouldn't need ::runCliServer

@mrclay

This comment has been minimized.

Show comment
Hide comment
@mrclay

mrclay Jun 7, 2015

Member

Motivation for me is adding a translations server that rarely needs to fully boot. Right now I'd have to set up a new handler in several places or piggyback off another one.

Member

mrclay commented Jun 7, 2015

Motivation for me is adding a translations server that rarely needs to fully boot. Right now I'd have to set up a new handler in several places or piggyback off another one.

mrclay added a commit to mrclay/Elgg-leaf that referenced this issue Jun 7, 2015

feature(routing): Removes /export and all secondary front controllers
This removes the “export” URL endpoints and removes all other /engine/handlers.
Requests for these resources now all use the front controller `index.php`.

Fixes #8425
Fixes #5017
@mrclay

This comment has been minimized.

Show comment
Hide comment
Member

mrclay commented Jun 7, 2015

PR #8427

mrclay added a commit to mrclay/Elgg-leaf that referenced this issue Jun 8, 2015

feature(routing): Removes /export and all secondary front controllers
This removes the “export” URL endpoints and removes all other /engine/handlers.
Requests for these resources now all use the front controller `index.php`.

Fixes #8425
Fixes #5017

@mrclay mrclay closed this in #8427 Jun 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment