2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-09 19:12:59 +00:00
Files
xcat-core/xCAT-server/xCAT-wsapi
Daniel Hilst 6bc7800bba fix(xcat-core): deny the REST aliases when mod_rewrite is not loaded
xcat-ws.conf sends /xcatws and /xcatwsv2 to https only when mod_rewrite is
loaded. Without that module the aliases run the REST CGI on any port.

An IfModule !mod_rewrite.c block now answers 403 for both aliases.
RedirectMatch comes from mod_alias, which the ScriptAlias lines of the
same file already require. Other paths, such as /install, are not changed.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-05 14:03:14 -03:00
..
2024-05-07 16:43:07 +02:00
2026-04-23 02:01:33 -03:00
2016-07-21 13:27:40 -04:00
2024-05-07 16:43:07 +02:00
2026-04-23 02:01:33 -03:00