Feature #87

Add fallback for servers without mod_rewrite / .htaccess support

Added by Robert Lemke over 5 years ago. Updated over 2 years ago.

Status:Resolved Start date:
Priority:Should have Due date:
Assignee:Karsten Dambekalns % Done:

100%

Category:MVC
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 5
PHP Version: Complexity:
Has patch:
Votes: 0

Description

Add fallback for servers without mod_rewrite / .htaccess support


Related issues

related to TYPO3.Flow - Feature #1235: Check if mod_rewrite is enabled Closed 2008-08-06
related to TYPO3.Flow - Bug #2751: Routing: generated links must keep index.php if needed Resolved 2009-03-03

Associated revisions

Revision 8d84796d
Added by Karsten Dambekalns over 3 years ago

[+FEATURE] FLOW3 (MVC): If mod_rewrite is not available generated links will include index.php, resolves #87.
[~TASK] FLOW3 (MVC): Fixed filename of UriBuilderTest.
[~TASK] Welcome: made sure the link to MyPackage works if mod_rewrite is disabled.

Revision 72e44295
Added by Karsten Dambekalns over 3 years ago

[+FEATURE] FLOW3 (MVC): If mod_rewrite is not available generated links will include index.php, resolves #87.
[~TASK] FLOW3 (MVC): Fixed filename of UriBuilderTest.
[~TASK] Welcome: made sure the link to MyPackage works if mod_rewrite is disabled.

History

Updated by Robert Lemke over 5 years ago

  • Target version changed from 1 to 18

Updated by Robert Lemke about 5 years ago

  • Status changed from New to Accepted
  • Assignee changed from Robert Lemke to Karsten Dambekalns
  • % Done changed from 0 to 50

Half of this is resolved by revision r654 (introduced the public/index.php and index.php).

Updated by Robert Lemke about 5 years ago

  • Assignee deleted (Karsten Dambekalns)

Updated by Robert Lemke almost 5 years ago

  • Target version deleted (18)

Updated by Robert Lemke about 4 years ago

  • Target version set to 283

Updated by Karsten Dambekalns almost 4 years ago

Now that routing works even without routes (it does, right?) this should be a lot easier...

Updated by Bastian Waidelich almost 4 years ago

Karsten Dambekalns wrote:

Now that routing works even without routes (it does, right?)

uhm.. no. Do you mean

http://localhost?@package=MyPackage&@controller=MyController&@action=myAction
?
This works, but it still requires an (empty) route. But I think it would be better to have:
http://localhost/index.php/MyPackage/MyController/myAction

If I'm right, we would "just" need to use "http://localhost/index.php/" instead of "http://localhost/" as Base URI if mod_rewrite wasn't available.

Updated by Robert Lemke almost 4 years ago

  • Target version deleted (283)

Updated by Karsten Dambekalns over 3 years ago

  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 alpha 5

Updated by Karsten Dambekalns over 3 years ago

Bastian Waidelich wrote:

If I'm right, we would "just" need to use "http://localhost/index.php/" instead of "http://localhost/" as Base URI if mod_rewrite wasn't available.

Almost - only for links, as otherwise paths to static resources would be wrong...

Updated by Karsten Dambekalns over 3 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 50 to 100

Applied in changeset r3234.

Also available in: Atom PDF