2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 01:56:39 +00:00
Chuck Brazie e413f23264 Secure cookies merge into global xCAT team UI. A few other changes also.
Change-Id: I529160b9e2c31c86aca7c2c1ad32559c43ab4aea
2017-01-23 10:05:07 -05:00

16 lines
344 B
Plaintext

Alias /xcat "/opt/xcat/ui"
PHPINIDir "/opt/xcat/ui"
# Redirect all http request to https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTPS} !=on
RewriteRule ^/?xcat/(.*) https://%{SERVER_NAME}/xcat/$1 [R,L]
<Directory "/opt/xcat/ui">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>