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

Updated the `regexp` syntax to correctly match `RewriteCond %{HTTP:REMOTE_USER}

parent d79dab9c
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
- name: Replace OOD rewrite placeholder in Apache configuration
ansible.builtin.replace:
path: /etc/httpd/conf.d/front-end.conf
regexp: RewriteCond %{HTTP:REMOTE_USER} \’^(.+)$\’ ‘
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