dd conf support for apache2.4:create a new file xcat-ws.conf.apache22

This commit is contained in:
immarvin 2014-10-31 03:12:25 -07:00
parent b6c35465dc
commit dd63773ee8

View File

@ -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>