summaryrefslogblamecommitdiffstats
path: root/archives/extend/2015-January/000506.html
blob: 851bc42f36bc3124034596f5b9efbc319cde5bea (plain) (tree)






















































































                                                                                                                                                                                                    
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] Rewriting URLs
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Rewriting%20URLs&In-Reply-To=%3C54C792B0.3040406%40ninenines.eu%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000505.html">
   <LINK REL="Next"  HREF="000507.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] Rewriting URLs</H1>
    <B>Lo&#239;c Hoguin</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Rewriting%20URLs&In-Reply-To=%3C54C792B0.3040406%40ninenines.eu%3E"
       TITLE="[99s-extend] Rewriting URLs">essen at ninenines.eu
       </A><BR>
    <I>Tue Jan 27 14:29:20 CET 2015</I>
    <P><UL>
        <LI>Previous message: <A HREF="000505.html">[99s-extend] Rewriting URLs
</A></li>
        <LI>Next message: <A HREF="000507.html">[99s-extend] Rewriting URLs
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#506">[ date ]</a>
              <a href="thread.html#506">[ thread ]</a>
              <a href="subject.html#506">[ subject ]</a>
              <a href="author.html#506">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 01/27/2015 02:24 PM, Paul Dickson wrote:
&gt;<i> On Tue, 2015-01-27 at 14:10 +0100, Lo&#239;c Hoguin wrote:
</I>&gt;&gt;<i> On 01/27/2015 02:07 PM, Paul Dickson wrote:
</I>&gt;&gt;<i> &gt;   Info [&lt;&lt;&quot;/&quot;&gt;&gt;,&lt;&lt;&quot;music&quot;&gt;&gt;,&lt;&lt;&quot;Library&quot;&gt;&gt;,&lt;&lt;&quot;Folk&quot;&gt;&gt;,&lt;&lt;&quot;Swiss&quot;&gt;&gt;,
</I>&gt;&gt;<i> &gt;           &lt;&lt;&quot;Alphorn.ogg&quot;&gt;&gt;]
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Should be from Library onward, and not include the first two elements.
</I>&gt;&gt;<i>
</I>&gt;<i>
</I>&gt;<i> This is perhaps a confusing case, because the incoming URL and the
</I>&gt;<i> transformed URL both start with &quot;/music&quot;.  What if that was not the
</I>&gt;<i> case, and the resulting path was, for example,
</I>&gt;<i>
</I>&gt;<i>      /home/me/music/Folk/Swiss/Alphorn.ogg
</I>&gt;<i>
</I>&gt;<i> which does not match anything in the rules at all?  Is that allowed, or
</I>&gt;<i> must the rewritten URL also match a rule?
</I>
Middlewares execute in order and only once, so not sure what you're asking.

Again I'd need to see some code to help you as I am quite confused by 
what you are trying to do and what your issue is.

-- 
Lo&#239;c Hoguin
<A HREF="http://ninenines.eu">http://ninenines.eu</A>
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000505.html">[99s-extend] Rewriting URLs
</A></li>
	<LI>Next message: <A HREF="000507.html">[99s-extend] Rewriting URLs
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#506">[ date ]</a>
              <a href="thread.html#506">[ thread ]</a>
              <a href="subject.html#506">[ subject ]</a>
              <a href="author.html#506">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>