[TYPO3-team-core-v5] Getting rid of index_dev.php - please give feedback

Bastian Waidelich bastian at typo3.org
Thu Feb 26 10:43:18 CET 2009


Karsten Dambekalns wrote:

Hi Karsten,

> Currently we need one index.php per context. This sucks equally well for 
> CLI and web access.

I think, it's a good idea to set the context via environment variables.
But it does not only suck to have multiple index.php - it also feels 
very awkward having to type 
"http://www.myapp.tld/index_dev.php/blog/test" into the browsers address 
bar.

I think, the Context should be represented by some kind of "meta
information" not by the request path if possible (and if not, it should 
at least not contain ".php" IMO)

I can't really think of the best way for such meta data. It might be 
some cookie, request headers or a different (sub-)domain..

What is a common scenario for a change of context anyways? Does it make 
sense to share one Public/index.php for multiple contexts on a live server?

Bastian


More information about the TYPO3-team-core-v5 mailing list