mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-16 11:24:16 +00:00
5a83bf5e63
Change-Id: I945c430685fa2febd914be09f6a6f976783abeec
14 lines
315 B
Plaintext
14 lines
315 B
Plaintext
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]
|
|
|
|
<Files xcatws.cgi>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Files>
|
|
|