Skip to content
Snippets Groups Projects

update Apache configuration for OOD rewrite rules and setup HTTP proxy playbook

2 files
+ 17
0
Compare changes
  • Side-by-side
  • Inline
Files
2
 
---
 
 
- name: Replace OOD rewrite placeholder in Apache configuration
 
ansible.builtin.replace:
 
path: /etc/httpd/conf.d/front-end.conf
 
regexp: 'RewriteCond %{HTTP:REMOTE_USER} \'^(.+)$\''
 
replace: |
 
RewriteCond %{HTTP:REMOTE_USER} '([a-zA-Z0-9_.+-]+)@uab.edu$' [OR]
 
RewriteCond %{HTTP:REMOTE_USER} 'urn:mace:incommon:uab.edu!https://uabgrid.uab.edu/shibboleth!(.+)$'
 
Loading