Re: Check if path is child of directory

2014-02-11 Thread Jeroen Bollen
On Monday, 10 February 2014 at 00:44:23 UTC, Jesse Phillips wrote: On Sunday, 9 February 2014 at 21:02:59 UTC, Jeroen Bollen wrote: I'm building a webserver using the Vibe.d library. Whenever the user requests a page inside my /images/ folder; I want them to output this file. Because there wi

Re: Check if path is child of directory

2014-02-09 Thread Jesse Phillips
On Sunday, 9 February 2014 at 21:02:59 UTC, Jeroen Bollen wrote: I'm building a webserver using the Vibe.d library. Whenever the user requests a page inside my /images/ folder; I want them to output this file. Because there will be a lot of images present, and because these are likely to chan

Re: Check if path is child of directory

2014-02-09 Thread Jonathan M Davis
On Sunday, February 09, 2014 21:09:51 Jeroen Bollen wrote: > On Sunday, 9 February 2014 at 21:02:59 UTC, Jeroen Bollen wrote: > > I'm building a webserver using the Vibe.d library. Whenever the > > user requests a page inside my /images/ folder; I want them to > > output this file. > > > > Because

Re: Check if path is child of directory

2014-02-09 Thread Jeroen Bollen
On Sunday, 9 February 2014 at 21:02:59 UTC, Jeroen Bollen wrote: I'm building a webserver using the Vibe.d library. Whenever the user requests a page inside my /images/ folder; I want them to output this file. Because there will be a lot of images present, and because these are likely to chan

Check if path is child of directory

2014-02-09 Thread Jeroen Bollen
I'm building a webserver using the Vibe.d library. Whenever the user requests a page inside my /images/ folder; I want them to output this file. Because there will be a lot of images present, and because these are likely to change in the future, I would like to just get the URL from the reque