2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00
xcat-core/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache24
Chuck Brazie 5bab3873a2 Add in version 1 and version 2 REST-API into zVM. Default zVM to version
1 in the zvmxcatws.cgi

Change-Id: I2ad620ded8f4f3bff997bf308881cbeabd61022b
2017-02-20 15:33:44 -05:00

12 lines
343 B
Plaintext

LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTPS} !=on
RewriteRule ^/?xcatws/(.*) https://%{SERVER_NAME}/xcatws/$1 [R,L]
RewriteRule ^/?xcatwsv2/(.*) https://%{SERVER_NAME}/xcatwsv2/$1 [R,L]
<Files (xcatws.cgi|zvmxcatws.cgi)>
Require all granted
</Files>