xcat-core/xCAT-server/xCAT-wsapi/xcat-ws.conf.ubuntu
2012-04-10 10:25:29 +00:00

12 lines
267 B
Plaintext

LoadModule rewrite_module /usr/lib/apache2/modules/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>