Feature #87

Add fallback for servers without mod_rewrite / .htaccess support

Added by Robert Lemke almost 12 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC
Start date:
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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 (diff)
Added by Karsten Dambekalns about 10 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 (diff)
Added by Karsten Dambekalns about 10 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 almost 12 years ago

  • Target version changed from 1 to 18

#2 Updated by Robert Lemke over 11 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).

#3 Updated by Robert Lemke over 11 years ago

  • Assignee deleted (Karsten Dambekalns)

#4 Updated by Robert Lemke over 11 years ago

  • Target version deleted (18)

#5 Updated by Robert Lemke over 10 years ago

  • Target version set to 283

#6 Updated by Karsten Dambekalns over 10 years ago

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

#7 Updated by Bastian Waidelich over 10 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 over 10 years ago

  • Target version deleted (283)

#9 Updated by Karsten Dambekalns about 10 years ago

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

#10 Updated by Karsten Dambekalns about 10 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 about 10 years ago

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

Applied in changeset r3234.

Also available in: Atom PDF