2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Merge pull request #2038 from zVMopenstack/xcat_Client_Updates

Xcat client updates
This commit is contained in:
Chuck Brazie 2016-10-26 15:31:10 -04:00 committed by GitHub
commit 9ba2d04d61
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>