mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
12 lines
309 B
Plaintext
12 lines
309 B
Plaintext
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
|
|
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
|
|
RewriteEngine On
|
|
RewriteCond %{SERVER_PORT} 80
|
|
RewriteCond %{REQUEST_URI} xcatws
|
|
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R,L]
|
|
|
|
<Files xcatws.cgi>
|
|
Require all granted
|
|
</Files>
|
|
|