Ticket #1523 (closed bug: fixed)

Opened 8 years ago

Last modified 8 years ago

Problems with the PT flag in Nagare apache rewrite rules

Reported by: sprat Owned by: apoirier
Priority: major Component: nagare-admin
Version: 0.4.1 Keywords: apache,rewrite rules


I encountered a very tricky issue with the PT flag that Nagare generates for Apache rewrite rules. This "Pass Through" flag tells Apache that the URL is transformed to another URL (instead of a filesystem path normally) and thus prevent the
<Location /static> rules to be executed.

I think Nagare should generate the rewrite rules with full paths to the static directories, [L] flag only, and no document root (only the virtualhost configuration should declare a document root if it needs to, not Nagare, in order to avoid document root problems).

Change History

comment:1 Changed 8 years ago by sprat

I found the changeset that introduced the problem: changeset 228 ( http://hg.nagare.org/core/rev/be5cbc511e10) ! So, Nagare 0.3.0 is not affected by this problem.

comment:2 Changed 8 years ago by Alain Poirier <alain.poirier@…>

  • Status changed from new to closed
  • Resolution set to fixed

In [14c9b3e84b4165b99338052a4c98634d72c112ca/core]:

Fixed #1523. No more relative paths from document root

Note: See TracTickets for help on using tickets.