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 + +