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:
commit
9ba2d04d61
15
xCAT-UI/etc/apache2/conf.d/xcat-ui.conf.apach22
Normal file
15
xCAT-UI/etc/apache2/conf.d/xcat-ui.conf.apach22
Normal 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>
|
14
xCAT-UI/etc/apache2/conf.d/xcat-ui.conf.apach24
Normal file
14
xCAT-UI/etc/apache2/conf.d/xcat-ui.conf.apach24
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user