From dd63773ee8048d3decaa39d0be8fb686d1d24c8e Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 31 Oct 2014 03:12:25 -0700 Subject: [PATCH] dd conf support for apache2.4:create a new file xcat-ws.conf.apache22 --- xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22 diff --git a/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22 b/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22 new file mode 100644 index 000000000..8e7326c59 --- /dev/null +++ b/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache22 @@ -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] + + + Order allow,deny + Allow from all + +