2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00
xcat-core/xCAT-UI/etc/apache2/conf.d/xcat-ui.conf.apach22
Chuck Brazie f6b94ed332 Add missing UI files for Apache
Change-Id: I84450642b19e1121a529b42603697863dca2817f
2016-10-26 15:17:48 -04: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>