2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-23 19:50:21 +00:00

Add missing UI files for Apache

Change-Id: I84450642b19e1121a529b42603697863dca2817f
This commit is contained in:
Chuck Brazie
2016-10-26 15:17:48 -04:00
parent d4080a09a9
commit f6b94ed332
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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>

View File

@@ -0,0 +1,14 @@
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
Require all granted
</Directory>