2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-01 10:25:33 +00:00

fis issue [REST] xCAT restful API xcatws cannot work #4622 (#4623)

This commit is contained in:
yangsong
2018-01-11 04:49:16 -06:00
committed by Bin Xu
parent d7a556b17e
commit c88042cb73
2 changed files with 4 additions and 5 deletions

View File

@ -7,8 +7,8 @@ RewriteCond %{HTTPS} !=on
RewriteRule ^/?xcatws/(.*) https://%{SERVER_NAME}/xcatws/$1 [R,L]
RewriteRule ^/?xcatwsv2/(.*) https://%{SERVER_NAME}/xcatwsv2/$1 [R,L]
<Files (xcatws.cgi|zvmxcatws.cgi)>
<FilesMatch "^(xcatws.cgi|zvmxcatws.cgi)$">
Order allow,deny
Allow from all
</Files>
</FilesMatch>

View File

@ -5,7 +5,6 @@ RewriteCond %{HTTPS} !=on
RewriteRule ^/?xcatws/(.*) https://%{SERVER_NAME}/xcatws/$1 [R,L]
RewriteRule ^/?xcatwsv2/(.*) https://%{SERVER_NAME}/xcatwsv2/$1 [R,L]
<Files (xcatws.cgi|zvmxcatws.cgi)>
<FilesMatch "^(xcatws.cgi|zvmxcatws.cgi)$">
Require all granted
</Files>
</FilesMatch>