"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:
gameoftrees@openbsd.org
Date:
Fri, 14 Aug 2026 13:01:23 +0100

Download raw body.

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

> 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>

And the permsissions look ok to me:

root@server:/var/www# ls -lha htdocs/gotwebd/
total 128K
drwxr-xr-x 2 www-data www-data 4.0K Aug 14 12:18 .
drwxr-xr-x 3 root     root     4.0K Aug 14 12:17 ..
-rwxr-xr-x 1 www-data www-data 6.6K Aug 14 12:11 android-chrome-192x192.png
-rwxr-xr-x 1 www-data www-data  18K Aug 14 12:11 android-chrome-384x384.png
-rwxr-xr-x 1 www-data www-data 8.8K Aug 14 12:11 apple-touch-icon.png
-rwxr-xr-x 1 www-data www-data  246 Aug 14 12:11 browserconfig.xml
-rwxr-xr-x 1 www-data www-data  532 Aug 14 12:11 favicon-16x16.png
-rwxr-xr-x 1 www-data www-data 1.1K Aug 14 12:11 favicon-32x32.png
-rwxr-xr-x 1 www-data www-data  13K Aug 14 12:11 favicon.ico
-rwxr-xr-x 1 www-data www-data  16K Aug 14 12:11 got_large.png
-rwxr-xr-x 1 www-data www-data 5.2K Aug 14 12:11 got.png
-rwxr-xr-x 1 www-data www-data 9.7K Aug 14 12:11 gotweb.css
-rwxr-xr-x 1 www-data www-data 4.3K Aug 14 12:11 mstile-150x150.png
-rwxr-xr-x 1 www-data www-data  603 Aug 14 12:11 safari-pinned-tab.svg
-rwxr-xr-x 1 www-data www-data  426 Aug 14 12:11 site.webmanifest