31-LO / 31-lo-site

4 stars 3 forks source link

Problems with deployment #17

Closed Norbiros closed 2 months ago

Norbiros commented 2 months ago

When I open an invalid url (for example /test) on my local machine, our website returns nice 404 page: Screenshot from 2024-04-15 20-39-45 But https://www.lo31.krakow.pl/test returns: image And https://www.lo31.krakow.pl/docs/ returns: image IMO, this is problem with production deployment configuration...

pensjonatus commented 2 months ago

It is a problem with deployment. I'll see if I can find settings for this.

pensjonatus commented 2 months ago

I changed the server settings:

  1. Set deployment to emit files with a trailing slash
  2. Added error pages to .htaccess