mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-08 02:23:01 +00:00
6bc7800bba
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>