Bug 37468 - No sitemap triggers 403 instead of 404
Summary: No sitemap triggers 403 instead of 404
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Packaging (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-25 08:29 UTC by Marcel de Rooy
Modified: 2024-07-25 08:29 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.