diff --git a/html/.htaccess b/html/.htaccess deleted file mode 100644 index d8360e65bb..0000000000 --- a/html/.htaccess +++ /dev/null @@ -1,20 +0,0 @@ -RewriteEngine On - -Options All -Indexes - -# Web accesses to xdmod-prod.ccr.buffalo.edu will redirect to xdmod.ccr.buffalo.edu -RewriteCond %{HTTP_HOST} xdmod-prod.ccr.buffalo.edu -RewriteRule ^(.*)$ https://xdmod.ccr.buffalo.edu%{REQUEST_URI} [R,L] - -# Exception so the Report Generator can talk to the controller(s) responsible -# for "Usage Explorer" image generation -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -#RewriteCond %{SERVER_PORT} 9001 -#RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] diff --git a/html/.htaccess_maintenance b/html/.htaccess_maintenance deleted file mode 100644 index 772dc2e645..0000000000 --- a/html/.htaccess_maintenance +++ /dev/null @@ -1,17 +0,0 @@ -RewriteEngine On - -Options All -Indexes - -# Web accesses to xdmod-prod.ccr.buffalo.edu will redirect to xdmod.ccr.buffalo.edu -RewriteCond %{HTTP_HOST} xdmod-prod.ccr.buffalo.edu -RewriteRule ^(.*)$ https://xdmod.ccr.buffalo.edu%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -RewriteCond %{SERVER_PORT} 9001 -RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] - -RewriteRule ^(.*)$ maintenance/index.php \ No newline at end of file diff --git a/html/.htaccess_pass b/html/.htaccess_pass deleted file mode 100644 index 2db31c9dd5..0000000000 --- a/html/.htaccess_pass +++ /dev/null @@ -1,27 +0,0 @@ -RewriteEngine On -AuthType Basic -AuthUserFile /home/ag28/.htpasswd -AuthName "Login" -require valid-user -satisfy any -deny from all -Order deny,allow - -Options All -Indexes - -# Web accesses to xdmod-prod.ccr.buffalo.edu will redirect to xdmod.ccr.buffalo.edu -RewriteCond %{HTTP_HOST} xdmod-prod.ccr.buffalo.edu -RewriteRule ^(.*)$ https://xdmod.ccr.buffalo.edu%{REQUEST_URI} [R,L] - -# Exception so the Report Generator can talk to the controller(s) responsible -# for "Usage Explorer" image generation -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -#RewriteCond %{SERVER_PORT} 9001 -#RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] diff --git a/html/.htaccess_production b/html/.htaccess_production deleted file mode 100644 index d8360e65bb..0000000000 --- a/html/.htaccess_production +++ /dev/null @@ -1,20 +0,0 @@ -RewriteEngine On - -Options All -Indexes - -# Web accesses to xdmod-prod.ccr.buffalo.edu will redirect to xdmod.ccr.buffalo.edu -RewriteCond %{HTTP_HOST} xdmod-prod.ccr.buffalo.edu -RewriteRule ^(.*)$ https://xdmod.ccr.buffalo.edu%{REQUEST_URI} [R,L] - -# Exception so the Report Generator can talk to the controller(s) responsible -# for "Usage Explorer" image generation -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -#RewriteCond %{SERVER_PORT} 9001 -#RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] diff --git a/html/maintenance/.htaccess b/html/maintenance/.htaccess deleted file mode 100644 index b0e37d7d94..0000000000 --- a/html/maintenance/.htaccess +++ /dev/null @@ -1 +0,0 @@ -RewriteEngine Off \ No newline at end of file diff --git a/html/rest/.htaccess b/html/rest/.htaccess deleted file mode 100644 index d992f77dfd..0000000000 --- a/html/rest/.htaccess +++ /dev/null @@ -1,29 +0,0 @@ -RewriteEngine On - -# Workaround for Jasper Reports -# (Internal requests can access REST via (non-secure) HTTP) - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} 127.0.0.1 -RewriteRule (.*) index.php [L] - -# Serve the front controller to any client accessing /rest via HTTPS -RewriteCond %{HTTPS} on -RewriteRule (.*) index.php [L] - -# Any outsiders who attempt to access REST via HTTP are to be re-directed -# to the secure version (HTTPS) of the requested path - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -#RewriteCond %{SERVER_PORT} 9001 -#RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] -RewriteRule (.*) index.php [L] - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - - diff --git a/html/rest/.htaccess_maintenance b/html/rest/.htaccess_maintenance deleted file mode 100644 index 048a209bb8..0000000000 --- a/html/rest/.htaccess_maintenance +++ /dev/null @@ -1,28 +0,0 @@ -RewriteEngine On - -# Workaround for Jasper Reports -# (Internal requests can access REST via (non-secure) HTTP) - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} 127.0.0.1 -RewriteRule (.*) index.php [L] - -# Serve the front controller to any client accessing /rest via HTTPS -RewriteCond %{HTTPS} on -RewriteRule ^(.*)$ maintenance.php - -# Any outsiders who attempt to access REST via HTTP are to be re-directed -# to the secure version (HTTPS) of the requested path - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -RewriteCond %{SERVER_PORT} 9001 -RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - - diff --git a/html/rest/.htaccess_production b/html/rest/.htaccess_production deleted file mode 100644 index 3ff09b8486..0000000000 --- a/html/rest/.htaccess_production +++ /dev/null @@ -1,28 +0,0 @@ -RewriteEngine On - -# Workaround for Jasper Reports -# (Internal requests can access REST via (non-secure) HTTP) - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} 127.0.0.1 -RewriteRule (.*) index.php [L] - -# Serve the front controller to any client accessing /rest via HTTPS -RewriteCond %{HTTPS} on -RewriteRule (.*) index.php [L] - -# Any outsiders who attempt to access REST via HTTP are to be re-directed -# to the secure version (HTTPS) of the requested path - -RewriteCond %{HTTPS} off -RewriteCond %{REMOTE_ADDR} !127.0.0.1 - -# Direct HTTP / Port 9001 requests to HTTPS / Port 9444 -RewriteCond %{SERVER_PORT} 9001 -RewriteRule ^(.*)$ https://%{SERVER_NAME}:9444%{REQUEST_URI} [R,L] - -# Direct HTTP / Port 80 requests to HTTPS / Port 443 -RewriteCond %{SERVER_PORT} 80 -RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] - -