# \#web-server

**URL:** https://racket.discourse.group/tag/web-server/80.md

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

---

## [How can I properly thread serve/servlet?](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326)

<div class="topic-metadata">

**Author:** [@mfru](https://racket.discourse.group/u/mfru)\
**Replies:** 5\
**Last updated:** [November 16, 2024, 10:27pm UTC](https://racket.discourse.group/t/how-can-i-properly-thread-serve-servlet/3326 "2024-11-16T22:27:41Z")

</div>

Hi, I am working on a Racket web server. Having used Clojure in the past, I quite like being able to have convenience procedures for working within my code. Particularly, I want to implement a (start-server!) and a (st…

---

## [Best way to implement a "front controller" with Racket's web server](https://racket.discourse.group/t/best-way-to-implement-a-front-controller-with-rackets-web-server/3193)

<div class="topic-metadata">

**Author:** [@badkins](https://racket.discourse.group/u/badkins)\
**Replies:** 4\
**Last updated:** [October 9, 2024, 2:24pm UTC](https://racket.discourse.group/t/best-way-to-implement-a-front-controller-with-rackets-web-server/3193 "2024-10-09T14:24:02Z")

</div>

This question is primarily directed to @jeapostrophe , but anyone can feel free to comment :slight\_smile: I think back in 2019, Jay mentioned my use of web-server/dispatchers/dispatch-lift in Axio was less than ideal, a…

---

## [Methods for breaking up web-server files](https://racket.discourse.group/t/methods-for-breaking-up-web-server-files/2578)

<div class="topic-metadata">

**Author:** [@thrilway](https://racket.discourse.group/u/thrilway)\
**Replies:** 0\
**Last updated:** [December 8, 2023, 1:34am UTC](https://racket.discourse.group/t/methods-for-breaking-up-web-server-files/2578 "2023-12-08T01:34:20Z")

</div>

While writing a web-app, I've found my server.rkt file getting a bit unwieldy so I'm trying to break it up some. My first attempt was to put all the rendering functions in to a file separate from the file with the dispat…

---

## [Web server subprocess logging to stdout sometimes not available until after subprocess terminates](https://racket.discourse.group/t/web-server-subprocess-logging-to-stdout-sometimes-not-available-until-after-subprocess-terminates/1673)

<div class="topic-metadata">

**Author:** [@joeld](https://racket.discourse.group/u/joeld)\
**Replies:** 12\
**Last updated:** [January 30, 2023, 7:41pm UTC](https://racket.discourse.group/t/web-server-subprocess-logging-to-stdout-sometimes-not-available-until-after-subprocess-terminates/1673 "2023-01-30T19:41:35Z")

</div>

I’m running raco static-web from inside another Racket program using subprocess\[1\], and, inside a thread, monitoring the subprocess’s stdout with sync/enable-break. The weird thing is that with raco static-web in particu…

---

## [Separating webserver/app code and site templates](https://racket.discourse.group/t/separating-webserver-app-code-and-site-templates/1529)

<div class="topic-metadata">

**Author:** [@steveivy](https://racket.discourse.group/u/steveivy)\
**Replies:** 5\
**Last updated:** [December 5, 2022, 12:01am UTC](https://racket.discourse.group/t/separating-webserver-app-code-and-site-templates/1529 "2022-12-05T00:01:40Z")

</div>

\[Background - I'm porting my golang blog app to racket, and figuring it out as I go\] I've been working through the web-server-lib docs and learning to use include-template. In my existing app, the installation of the bl…

---

## [Replace this page with your favorite index page - how](https://racket.discourse.group/t/replace-this-page-with-your-favorite-index-page-how/735)

<div class="topic-metadata">

**Author:** [@Don](https://racket.discourse.group/u/Don)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 7:35pm UTC](https://racket.discourse.group/t/replace-this-page-with-your-favorite-index-page-how/735 "2022-02-26T19:35:23Z")

</div>

The Racket Web Server makes use of a default index.html file that contains the following 2 lines: Welcome to the Racket Web server! : Please replace this page with your favorite index page. Since relplacing the fi…
