add redirect conf for artboard

This commit is contained in:
Seth Vidal 2012-12-14 18:00:32 +00:00
parent 98e6b50aed
commit 78692dd2db
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,2 @@
RedirectMatch "^/$" /artboard/

View file

@ -54,8 +54,11 @@
- name: link artboard into /var/www/html
action: file state=link src=/srv/persist/artboard path=/var/www/html/artboard
- name: add artboard apache conf
action: copy src=$files/artboard/artboard.conf dest=/etc/httpd/conf.d/artboard.conf backup=True
- name: add apache confs
action: copy src=$files/artboard/$item dest=/etc/httpd/conf.d/$item backup=True
with_items:
- artboard.conf
- redirect.conf
notify: restart httpd
- name: startup apache