"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Simon Harrison <info@simonh.uk>
Subject:
Re: Help setting up gotwebd on Debian 13
To:
Thomas Adam <thomas@xteddy.org>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 15 Aug 2026 07:42:17 +0100

Download raw body.

Thread
On Fri, 14 Aug 2026 12:37:47 +0100
Thomas Adam <thomas@xteddy.org> wrote:

> Hello,
> 
> On Fri, 14 Aug 2026 at 06:13, Simon Harrison <info@simonh.uk> wrote:
> 
> > Hello. I've managed to get gotwebd running behind Apache but for the
> > life of me, I can't get the static files (CSS, images) to be served.
> >
> > Here's my /etc/gotwebd.conf:
> 
> 
> Have you had a read through this?
> 
> https://gameoftrees.org/got-portable.7.html
> 
> I put it together to ensure I didn’t forget.
> 
> If it’s still not working, what to the apache access logs say?
> 
> Kindly,
> Thomas

Hi Thomas. Yes, your man page was one of the docs I used to try and get
things working. The Apache access log reports the assets were served
with 200 code:

[14/Aug/2026:12:46:43 +0100] "GET /got.png HTTP/1.1" 200 

As I wrote in the first post, everything seems to be working fine apart
from the static files. My Apache conf is below if that reveals anything
stupid I've done / not done:

<VirtualHost *:80>
    ServerName got.simonh.uk
    DocumentRoot /var/www/got

    <Directory /var/www/htdocs/gotwebd>
        Require all granted
    </Directory>

    # Pass all requests to the gotwebd FastCGI socket
    <Directory /var/www/got/public>
        Options +ExecCGI
        Require all granted
    </Directory>

    # Forward the root or scripts to gotwebd via Unix Socket
    SetHandler "proxy:unix:/var/www/got/gotwebd.sock|fcgi://localhost"

    ErrorLog ${APACHE_LOG_DIR}/gotweb_error.log
    CustomLog ${APACHE_LOG_DIR}/gotweb_access.log combined
</VirtualHost>