Changeset 25241 in main


Ignore:
Timestamp:
05/15/22 13:59:29 (7 weeks ago)
Author:
Paul Leo
Message:

Apache httpd config files: a few more tweaks and cleanump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • adopters/nm/trunk/src/main/serverconfigs/dmzr2nmibis002/apache_httpd_reverse_proxy/extra/httpd-vhosts.conf

    r25240 r25241  
    3333###### VirtualHost ibistest.health.state.nm.us  #######
    3434###### Testing redirect of old DNS name to new DNS name ######
     35###### Probably can be removed after we're live for awhile
    3536
    3637        <VirtualHost 10.100.2.16:443>
     
    5657                CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/ibistest_access.log 86400" combined
    5758               
    58 
    5959                ######## This server is listening for ibistest.  It should redirect to ibisnew - Alert.xml page
    6060                #### next line will only redirect root - i.e /
    61        
    62        
    63                 ####### was this way which doesn't work
    64                 #RewriteEngine  on
    65                 #RewriteCond "%{HTTP_HOST}" "=ibistest.health.state.nm.us"
    66                 ####RewriteRule "[A-Za-z0-9\-]{0,63}(\.[A-Za-z0-9\-]{0,63})+(:\d{1,4})?\/*(\/*[A-Za-z0-9\-._]+\/*)*" "https://ibisnew.health.state.nm.us/Alert.html" [R,L]
    67                 #####RewriteRule  "^\/nmepht-view\/[A-Za-z0-9\-]{0,63}(\.[A-Za-z0-9\-]{0,63})+(:\d{1,4})?\/*(\/*[A-Za-z0-9\-._]+\/*)*" "https://nmtracknew.nmtracking.org/Alert.html"
    68                 #RewriteRule  "nmepht.*" "https://nmtracknew.nmtracking.org/Alert.html"
    69                 #RewriteRule  "nmibis.*" "https://ibisnew.health.state.nm.us/Alert.html"
    70                
    71                 #Redirect / https://ibisnew.health.state.nm.us/Alert.html
    72 
    73                 ####
    74                 #RewriteEngine  on
    75                 #RewriteCond "%{HTTP_HOST}" "=ibistest.health.state.nm.us"
    76                 ####RewriteRule "[A-Za-z0-9\-]{0,63}(\.[A-Za-z0-9\-]{0,63})+(:\d{1,4})?\/*(\/*[A-Za-z0-9\-._]+\/*)*" "https://ibisnew.health.state.nm.us/Alert.html" [R,L]
    77                 #####RewriteRule  "^\/nmepht-view\/[A-Za-z0-9\-]{0,63}(\.[A-Za-z0-9\-]{0,63})+(:\d{1,4})?\/*(\/*[A-Za-z0-9\-._]+\/*)*" "https://nmtracknew.nmtracking.org/Alert.html"
    78                 #########RewriteRule  "nmepht.*" "https://nmtracknew.nmtracking.org/Alert.html"
    79                 #########RewriteRule  "nmibis.*" "https://ibisnew.health.state.nm.us/Alert.html"
    80                
    81                 #######Redirect / https://ibisnew.health.state.nm.us/Alert.html
    82                
    8361                RedirectMatch ".*" https://ibisnew.health.state.nm.us/Alert.html
    8462                Redirect / https://ibisnew.health.state.nm.us/Alert.html
     
    213191                ### NMEPHT-View
    214192                       
    215                 #### Next line will eath the /nmepht-view I think, it fixes nmtrackingnew.nmtracking.org/nmepht-view/nmepht-view/Login.html error
     193                #### Next line will eat the /nmepht-view I think, it fixes nmtrackingnew.nmtracking.org/nmepht-view/nmepht-view/Login.html error
    216194                ProxyPass /nmepht-view/ https://dohr2simnmibis3/nmepht-view/
    217195                ProxyPass / https://dohr2simnmibis3/nmepht-view/
Note: See TracChangeset for help on using the changeset viewer.