ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
orivej has quit [Ping timeout: 240 seconds]
freemint has joined #picolisp
freemint has quit [Ping timeout: 276 seconds]
orivej has joined #picolisp
rob_w has joined #picolisp
mtsd has joined #picolisp
mtsd has quit [Remote host closed the connection]
mtsd has joined #picolisp
maxxcan has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
freemint has joined #picolisp
libertas is now known as Guest90798
libertas has joined #picolisp
<freemint> How does httpGate handle subdomains? from reading httpGate.html i am not sure.
<Regenaxer> It does not handle *any* domains (?)
<Regenaxer> What should it do? httpGate handles connections to processes listening at local ports
<freemint> Ok, can i run a httpGate on a particular (sub-)domain?
<Regenaxer> What do you mean? It does not know or care about domains
<Regenaxer> It listens at the given port
<Regenaxer> e.g. 443
<Regenaxer> You configure the name service at the provider (DNS)
<Regenaxer> this determines at which domains httpGate is reachable
<freemint> But i (hypothetically) care about domains. If i want forum.a.de/home and blog.a.de/home to be different services. Can i achieve that with httpGate, assuming forum.a.de and blog.a.de point to the same IP?
<Regenaxer> As I said, httpGate does not care
<freemint> I do not understand what "doesn't care" means.
<Regenaxer> For example, picolisp.com is also 7fach.de
<Regenaxer> All are: 7fach.de, app.7fach.de,sushi.7fach.de,blitzmenu.7fach.de,firefight.7fach.de, 7fach.com, picolisp.com,wiki.picolisp.com, pulse.tcgfsupplychain.com
<Regenaxer> So if you connect any of these domains, you always get to the *same* httpGate
<Regenaxer> You have some provider where you configure your DNS
<Regenaxer> the domains of your *server*
<Regenaxer> All domains point to the *same* IP address
<freemint> If 7fach.de and picolisp.com run on the same server and all requests end up on the same httpGate, how does 7fach.de and picolisp.com return different content?
<Regenaxer> it is the names file
<freemint> that is the relation between urls and the names file?
<Regenaxer> ok, I have a master running
<Regenaxer> it maps wiki.picolisp.com to "wiki"
Regenaxer has left #picolisp [#picolisp]
Regenaxer has joined #picolisp
<Regenaxer> oops
<Regenaxer> So you get the wiki also at 7fach.de/wiki
<Regenaxer> or 7fach.com/wiki
<Regenaxer> or sushi at picolisp.com/sushi ;)
<Regenaxer> httpGate only resolves names like wiki or sushi
<Regenaxer> What I did is have a master server running at "@" (see doc/httpGate.html)
<Regenaxer> it maps sushi.7fach.de to 7fach.de/sushi and such things
<Regenaxer> But that's just sugar
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
maxxcan has quit [Quit: maxxcan]
<freemint> What is a master?
<Regenaxer> nothing special. A server process at "@"
<freemint> and how does it rewrite urls?
<Regenaxer> ?
<Regenaxer> httpGate does not rewrite urls
<freemint> "it maps wiki.picolisp.com to "wiki""
<Regenaxer> yes, no "rewrite"
<Regenaxer> it *connects* to the port in names in the "wiki" line
<freemint> i can not help but find explanations obscure. Can you explain what happens if i connect to wk.picolisp.com and why wiki.7fach.com/ returns JSON?
<Regenaxer> Sorry, was busy
<freemint> No problem i am on and off too.
<Regenaxer> wiki.picolisp.com is translated by some process listening at some high port
<Regenaxer> @ 65500
<Regenaxer> this redirects to picolisp.com/wiki
<Regenaxer> and thats what httpGate sees
<Regenaxer> But there is no JSON involved
<freemint> wiki.7fach.com/ returns JSON. Why?
<freemint> Oh it is an Apache response.
<freemint> Where does the apache come from?
<beneroth> 7fach.com?
<beneroth> has nothing to do with 7fach.de ?
<beneroth> :P
mtsd has quit [Quit: Leaving]
<Regenaxer> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTM
<Regenaxer> this is a redirect
<Regenaxer> beneroth, 7fach.com and 7fach.de are both (134.119.9.33)
<Regenaxer> and picolisp.com and tcgf... too
<beneroth> oh ok
rob_w has quit [Remote host closed the connection]
<Regenaxer> I think this redirect page with "Apache" is by ~he provider where we host that domain
<freemint> Regenaxer, thank you for time. I now have enough knowledge to have an understanding what to put in my names file. I find it sad that no dispatch based on (sub-)domain but it is not necessary for my use case.
<Regenaxer> ok, good. It is simple to write such a subdomain server, but my own one here is too specialized
<Regenaxer> and, as I said, it does not really anything
<Regenaxer> just redirects xxx.domain.xy to domain.xy/xxx
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
_whitelogger_ has joined #picolisp
orivej has quit [*.net *.split]
patrixl has quit [*.net *.split]
_whitelogger has quit [*.net *.split]
michelp has quit [*.net *.split]
michelp_ is now known as michelp
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #picolisp
<tankf33der> they have picolisp in list
<beneroth> what an epic domain
<beneroth> awesome introduction.. "your language isn't broken" jsut lying
<beneroth> (pretending)
<DKordic> IMHO [[http://h14s.p5r.org/2014/11/why-i-find-ieee-754-frustrating.html][Why I find IEEE 754 frustrating]] and [[http://h14s.p5r.org/2012/09/0x5f3759df.html][0x5f3759df]] are far more interesting.
<Regenaxer> Cool indeed
rick42 has quit [Ping timeout: 246 seconds]