Bug 37468

Summary: No sitemap triggers 403 instead of 404
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: PackagingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: mtj
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2024-07-25 08:29:52 UTC
We include:
debian/templates/apache-shared-opac.conf:    AliasMatch "^/sitemap(.*)" "/var/lib/koha/${instance}/sitemap/sitemap$1"

But if you do not use this sitemap (with koha-sitemap script), you would expect a 404 and not 403 on unexisting directory.