diff --git a/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache2 b/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache2 deleted file mode 100644 index 21ce5b943..000000000 --- a/xCAT-server/xCAT-wsapi/xcat-ws.conf.apache2 +++ /dev/null @@ -1,14 +0,0 @@ -LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so - -# Redirect all http request to https -RewriteEngine On -RewriteCond %{SERVER_PORT} 80 -RewriteCond %{HTTPS} !=on -RewriteRule ^/?xcatws/(.*) https://%{SERVER_NAME}/xcatws/$1 [R,L] -RewriteRule ^/?xcatwsv2/(.*) https://%{SERVER_NAME}/xcatwsv2/$1 [R,L] - - - Order allow,deny - Allow from all - -