2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-14 07:10:21 +00:00
Files
xcat-core/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache2
Chuck Brazie 5a83bf5e63 Merge our code with global xCAT team except for xcatws.cgi
Change-Id: I945c430685fa2febd914be09f6a6f976783abeec
2017-02-02 14:31:27 -05:00

14 lines
315 B
Plaintext

LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
# Redirect all http request to https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTPS} !=on
RewriteRule ^/?xcatws/(.*) https://%{SERVER_NAME}/xcatws/$1 [R,L]
<Files xcatws.cgi>
Order allow,deny
Allow from all
</Files>