- Convert the list of URI handlers to use the linked list macros. While doing
authorRussell Bryant <russell@russellbryant.com>
Sat, 23 Dec 2006 20:13:14 +0000 (20:13 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 23 Dec 2006 20:13:14 +0000 (20:13 +0000)
commit2c5071a0061bd14316d78419eec0c98c7969c346
treee676ee2c3ffe1fb8682681fdc7a33bdc181c6406
parent08cfbe97b84184cfe6050a0eec744d4768480107
- Convert the list of URI handlers to use the linked list macros.  While doing
  this, implementing locking of this list to make it thread-safe.

- Add a "redirect" option to http.conf that allows redirecting one URI to
  another.  I was inspired to do this while playing with the Asterisk GUI.  I
  got tired of typing this URL to get to the GUI:

     http://localhost:8088/asterisk/static/config/cfgadvanced.html

  So, now I have the following line in http.conf:

     redirect=/=/asterisk/static/config/cfgadvanced.html

  Now, I can type the following into my browser and go to the GUI:

     http://localhost:8088

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
configs/http.conf.sample
include/asterisk/http.h
main/http.c