Skip to content
Snippets Groups Projects
Commit 7dcd7826 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Merge branch 'feat-http-proxy-replace-regex' into 'feat-hpc-factory'

Update Apache configuration for OOD rewrite rules during deploy phase

See merge request !170
parents ac29100e 4deca313
No related branches found
No related tags found
1 merge request!3Change compute reference to login
...@@ -6,3 +6,11 @@ ...@@ -6,3 +6,11 @@
owner: root owner: root
group: root group: root
dest: /var/www/rewrite_map_config.py dest: /var/www/rewrite_map_config.py
- name: Replace OOD rewrite condition regex 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!(.+)$'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment