summaryrefslogtreecommitdiff
path: root/apache2/conf.d/local-prayer.conf
blob: 4887482a3466acf673d3d7cb23b91896e6bccda9 (plain)
  1. AddDefaultCharset   on
  2. AddDefaultCharset UTF-8
  3. # prevent the webserver from beeing used as proxy
  4. <LocationMatch "^[^/]">
  5. Deny from all
  6. </LocationMatch>
  7. <Proxy *>
  8. AddDefaultCharset off
  9. Order deny,allow
  10. # Deny from all
  11. Allow from all
  12. </Proxy>
  13. <ProxyMatch http://127.0.0.2:8008/.*>
  14. Order deny,allow
  15. Allow from all
  16. </ProxyMatch>
  17. RewriteEngine On
  18. RewriteRule ^/prayer$ /prayer/ [redirect=permanent]
  19. RewriteRule ^/prayer/ http://127.0.0.2:8008/ [P]