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ï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:
><i> On Tue, 2015-01-27 at 14:10 +0100, Loïc Hoguin wrote:
</I>>><i> On 01/27/2015 02:07 PM, Paul Dickson wrote:
</I>>><i> > Info [<<"/">>,<<"music">>,<<"Library">>,<<"Folk">>,<<"Swiss">>,
</I>>><i> > <<"Alphorn.ogg">>]
</I>>><i>
</I>>><i> Should be from Library onward, and not include the first two elements.
</I>>><i>
</I>><i>
</I>><i> This is perhaps a confusing case, because the incoming URL and the
</I>><i> transformed URL both start with "/music". What if that was not the
</I>><i> case, and the resulting path was, for example,
</I>><i>
</I>><i> /home/me/music/Folk/Swiss/Alphorn.ogg
</I>><i>
</I>><i> which does not match anything in the rules at all? Is that allowed, or
</I>><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ï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>
|