2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-29 14:10:59 +00:00

Change the configuration file of xcat-ws to fit both rh and sles

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi
2012-01-12 02:44:51 +00:00
parent ca091c84b2
commit 5420622ea2
3 changed files with 15 additions and 5 deletions
-5
View File
@@ -1,5 +0,0 @@
LoadModule ssl_module /etc/httpd/modules/mod_ssl.so
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} xcatws
RewriteRule ^(.*)$ https://${HOSTNAME}$1 [R,L]
@@ -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]
<Files xcatws.cgi>
Order allow,deny
Allow from all
</Files>
@@ -0,0 +1,4 @@
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} xcatws
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R,L]