I can successfully serve one stateless webserver from one racket webserver file. I'd like to serve multiple stateless webservers from one racket webserver file.
(define (my-app req) (response/full 200 #"Okay" (current-seconds) TEXT/HTML-MIME-TYPE empty (list (string->bytes/utf-8 (include-template "file.htm")))) ) (serve/servlet my-app #:listen-ip #f #:port 8000 #:servlet-path "/webserver.rkt" #:extra-files-paths (list (build-path "/home/don/ServerX/clients/a1")) #:stateless? #t ) ;With current configuration directory must contain both the .rkt and .htm files. ;Assuming 1 .rkt file could serve multiple servelets, I would also need to learn how to ;reference the .htm files in different directories. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/beaa2ef6-afd2-4686-829a-390eb69f5620n%40googlegroups.com. Beyond the Racket Users Google Group, Racket Discussions take place on Discourse ( https://racket.discourse.group/ ) and Discord ( https://discord.gg/6Zq8sH5 ). Discussion (but less active) also takes place on the Racket Slack https://racket.slack.com/ ( sign up at https://racket-slack.herokuapp.com/ ), and IRC #racket https://kiwiirc.com/nextclient/irc.libera.chat/#racket --- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/72c4ef76-cd88-4712-8305-f5da78caa040n%40googlegroups.com.