Feature #87

Add fallback for servers without mod_rewrite / .htaccess support

Added by Robert Lemke over 7 years ago. Updated almost 5 years ago.

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

100%

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

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 almost 6 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 almost 6 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

#1 Updated by Robert Lemke over 7 years ago

  • Target version changed from 1 to 18

#2 Updated by Robert Lemke over 7 years ago

  • Status changed from New to Accepted
  • Assigned To 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).

#3 Updated by Robert Lemke over 7 years ago

  • Assigned To deleted (Karsten Dambekalns)

#4 Updated by Robert Lemke about 7 years ago

  • Target version deleted (18)

#5 Updated by Robert Lemke about 6 years ago

  • Target version set to 283

#6 Updated by Karsten Dambekalns about 6 years ago

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

#7 Updated by Bastian Waidelich about 6 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.

#8 Updated by Robert Lemke about 6 years ago

  • Target version deleted (283)

#9 Updated by Karsten Dambekalns almost 6 years ago

  • Assigned To set to Karsten Dambekalns
  • Target version set to 1.0 alpha 5

#10 Updated by Karsten Dambekalns almost 6 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...

#11 Updated by Karsten Dambekalns almost 6 years ago

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

Applied in changeset r3234.

Also available in: Atom PDF