dd conf support for apache2.4:create a new file xcat-ws.conf.apache22
This commit is contained in:
parent
b6c35465dc
commit
dd63773ee8
11
xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22
Normal file
11
xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22
Normal file
@ -0,0 +1,11 @@
|
||||
LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
|
||||
RewriteEngine On
|
||||
RewriteCond %{SERVER_PORT} 80
|
||||
RewriteCond %{REQUEST_URI} xcatws
|
||||
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R,L]
|
||||
|
||||
<Files xcatws.cgi>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</Files>
|
||||
|
Loading…
Reference in New Issue
Block a user