Details

    • Type: New feature (RFE)
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-ALPHA-33
    • Component/s: None
    • Labels:
      None

      Description

      Use a specific RequestProcessor with a configuration such as:

      <redirects>
      <redirect type="permanent" requestUri="<regexp>">$mediaLink(...)$</redirect>
      </redirects>

      Using $mediaLink(...)$ or $nodeLink(...)$ allows to redirect to any kind of resource.

        Issue Links

          Activity

          Hide
          fabrizio.giudici Fabrizio Giudici added a comment -
          Indeed, the first needed thing is something à la Apache Httpd, with

          <map>
             <entry>
                 <key>regexp</key>
                 <value>redirect</value>
             </entry>
             <entry>
                 <key>regexp</key>
                 <value>redirect</value>
             </entry>
          </map>

          Thus it requires NW-162.
          Show
          fabrizio.giudici Fabrizio Giudici added a comment - Indeed, the first needed thing is something à la Apache Httpd, with <map>    <entry>        <key>regexp</key>        <value>redirect</value>    </entry>    <entry>        <key>regexp</key>        <value>redirect</value>    </entry> </map> Thus it requires NW-162 .
          Hide
          fabrizio.giudici Fabrizio Giudici added a comment -
          Configuration has been implemented in a different way:

              <properties id="Redirector">
                  <property name="permanentRedirects">
                      <values>
                          <value>^/travels/(.*)$ -> /diary/$1</value>
                      </values>
                  </property>
              </properties>
          Show
          fabrizio.giudici Fabrizio Giudici added a comment - Configuration has been implemented in a different way:     <properties id="Redirector">         <property name="permanentRedirects">             <values>                 <value>^/travels/(.*)$ -> /diary/$1</value>             </values>         </property>     </properties>

            People

            • Assignee:
              fabrizio.giudici Fabrizio Giudici
              Reporter:
              Anonymous
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: