Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
Hi Olaf, *"Did you try 127.0.0.1:5000 instead of localhost:5000 ?"* just as a documentation, my experience is that: 1) WSL2 / w3m : all of these work http://localhost:5000 http://127.0.0.1:5000 http://0.0.0.0:5000 2) WIN10 / edge : only this works http://localhost:5000

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
Hi Alex, yes, $NAME was the computername ("asuspn"), and by setting name to $ echo $NAME 5000 everything works, I even get the wiki page with CSS then like in the real wiki. So, problem identified and solved, thanks! Cheers Thorsten Am Mi., 19. Jan. 2022 um 17:56 Uhr schrieb Alexander

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Alexander Burger
Hi Thorsten, > I looks actually as designed: > in function baseHRef in http.l is this line > > (or Port (if *SesId *Port *Port1)) > > and *Port1 is the Computername. Correct, though not the Computername. IFF the PicoLisp server is started behind a httqGate, the "port" is the application

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
Hi Alex, Hi Olaf, I would not say I found a "solution", just trying to figure out the cause. I looks actually as designed: in function baseHRef in http.l is this line (or Port (if *SesId *Port *Port1)) and *Port1 is the Computername. So apparently the landing page is build with these URLs

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread O.Hamann
Hi Thorsten, thanks for your solution! Just to be curious: Did you try 127.0.0.1:5000 instead of localhost:5000 ? Same pn-replacing effect? Regards, Olaf On 19.01.22 00:20, Thorsten Jolitz wrote: > Hi List, > today I figured out what seems to be the problem here:  > Somehow the URLs are

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Alexander Burger
Hi Thorsten, > today I figured out what seems to be the problem here: > Somehow the URLs are built with the computername instead of the port: > http://0.0.0.0:asuspn/?home > > Replacing asuspn with 5000 all of these work, even from (say) Edge in > Win10, when pil wiki server was started on WSL2:

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-18 Thread Thorsten Jolitz
Hi List, today I figured out what seems to be the problem here: Somehow the URLs are built with the computername instead of the port: http://0.0.0.0:asuspn/?home Replacing asuspn with 5000 all of these work, even from (say) Edge in Win10, when pil wiki server was started on WSL2:

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread Thorsten Jolitz
Hi Alex, yes, *ID is NIL when I debug it (see PS1). I'm not sure how to debug (app), but all global vars except *PID seem to be NIL ... I think it's a WSL2 localhost problem, not a bug in PicoLisp. Not too long ago I tried accessing the pil wiki server running on WSL2 from the Win10 Browser (say

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread Alexander Burger
Hi Thorsten, Olaf, > it's a session problem. > Port 8080 does not help, but I cross checked on Archlinux, when I first > click on the Login link, a session prefix is added to the internal links, > and after login, that session prefix is everywhere in the html source. > But on WSL2 that does not

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread Thorsten Jolitz
Hallo Olaf, it's a session problem. Port 8080 does not help, but I cross checked on Archlinux, when I first click on the Login link, a session prefix is added to the internal links, and after login, that session prefix is everywhere in the html source. But on WSL2 that does not work somehow, I

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread O.Hamann
And another idea: Did you try other more common ports, sth. like 8080 or so? (in case there is some firewall mechanism blocking, or so?) Regards, Olaf On 24.12.21 14:06, Thorsten Jolitz wrote: > Hi List,  > I have the newest pil21 and the current picolisp wiki running on  > - Win10 / WSL2

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread O.Hamann
Hi Thorsten, could it be, that the URL in href="-2.html" is missing a prefix, which would be provided by a pil21 global var or function but in your case is or returns NIL ? when I'm looking on picolisp.com the Login Link URL looks like this:

Internal WIKI Links do not work on WSL2 Debian

2021-12-24 Thread Thorsten Jolitz
Hi List, I have the newest pil21 and the current picolisp wiki running on - Win10 / WSL2 (Debian unstable) - Archlinux and while in both cases I do see the start page of the wiki on http://localhost:5000, only the external Menu links work on WSL2, not the wiki internal links (nor the login).