On Sat, Oct 30, 2010 at 2:21 AM, john skaller
<skal...@users.sourceforge.net> wrote:
> I have the webserver mainly working now, though the following
> conundrum may force me to change it again.
>
> The webserver takes GET requests like
>
> /std/array.flx
> std/array.flx
>
> and tries to load as written, if that fails searches for it in the FLX_PATH. 
> There's some fun with my
> new feature:
>
> include "./child.flx"
>
> because the browser thinks it is smart, and replaces the . with
> the current file's directory, so I have to add an extra / in the anchor
> href.

Maybe hashtags in the url trick would work here? As in
http://localhost/#std/std.flx. You'd have to have a dynamic page to do
that, but that might not be so bad. Here's a little doc about it:

http://ajaxpatterns.org/Unique_URLs

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to