aboutsummaryrefslogtreecommitdiffstats
path: root/configs/http.conf.sample
AgeCommit message (Collapse)AuthorFilesLines
2009-07-01- cfgbasic.html has been replaced by index.html in the GUI for some time nowrbrindley1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@204654 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.seanbright1-1/+1
Let's try that again, this time removing trailing whitespace and not leading whitespace. I can't believe no one noticed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197535 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-29Consistent SSL/TLS options across conf filesdvossel1-10/+9
ast_tls_read_conf() is a new api call for handling SSL/TLS options across all conf files. Before this change, SSL/TLS options were not consistent. http.conf and manager.conf required the 'ssl' prefix while sip.conf used options with the 'tls' prefix. While the options had different names in different conf files, they all did the exact same thing. Now, instead of mixing 'ssl' or 'tls' prefixes to do the same thing depending on what conf file you're in, all SSL/TLS options use the 'tls' prefix. For example. 'sslenable' in http.conf and manager.conf is now 'tlsenable' which matches what already existed in sip.conf. Since this has the potential to break backwards compatibility, previous options containing the 'ssl' prefix still work, but they are no longer documented in the sample.conf files. The change is noted in the CHANGES file though. Review: http://reviewboard.digium.com/r/237/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191028 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-24TLS/SSL private key optiondvossel1-4/+8
Adds option to specify a private key .pem file when configuring TLS or SSL in AMI, HTTP, and SIP. Before this, the certificate file was used for both the public and private key. It is possible for this file to hold both, but most configurations allow for a separate private key file to be specified. Clarified in .conf files how these options are to be used. The current conf files do not explain how the private key is handled at all, so without knowledge of Asterisk's TLS implementation, it would be hard to know for sure what was going on or how to set it up. Review: http://reviewboard.digium.com/r/234/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190545 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-26Update sample configuration to match what are now the defaults for the prefix.tilghman1-4/+4
(closes issue #12838, related to issue #12198) Reported by: pabelanger Patches: http.conf.diff2 uploaded by pabelanger (license 224) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125191 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-07Add a note about viewing the default set of documentation using the built-in ↵russell1-0/+9
http server git-svn-id: http://svn.digium.com/svn/asterisk/trunk@96888 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-05Remove second prefix line. Only need it documented once in the same file.file1-1/+0
(closes issue #11472) Reported by: eserra Patches: http.conf.sample.diff uploaded by eserra (license 45) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91171 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17Fix the sample redirect to point to a valid file in the Asterisk GUI.qwell1-1/+1
Closes issue #10748, patch by bkruse git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82710 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06Merged revisions 60603 via svnmerge from russell1-0/+13
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines To be able to achieve the things that we would like to achieve with the Asterisk GUI project, we need a fully functional HTTP interface with access to the Asterisk manager interface. One of the things that was intended to be a part of this system, but was never actually implemented, was the ability for the GUI to be able to upload files to Asterisk. So, this commit adds this in the most minimally invasive way that we could come up with. A lot of work on minimime was done by Steve Murphy. He fixed a lot of bugs in the parser, and updated it to be thread-safe. The ability to check permissions of active manager sessions was added by Dwayne Hubbard. Then, hacking this all together and do doing the modifications necessary to the HTTP interface was done by me. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Use spaces as a separator for the redirect option to improve readabilityrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48947 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-23- Convert the list of URI handlers to use the linked list macros. While doingrussell1-6/+14
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: http://svn.digium.com/svn/asterisk/trunk@48930 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27add a new http.conf option, sslbindaddr.rizzo1-1/+4
Because https is more secure than http, it usually makes sense to keep this service more open than the one on the unencrypted port. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48071 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-22Fix a few issues in the previous (disabled) HTTPS code,rizzo1-4/+15
and support linux as well (using fopencookie(), which should be available in glibc). Update configure.ac to check for funopen (BSD) and fopencookie(glibc), and while we are at it also for gethostbyname_r (the generated files need to be updated, or you need to run bootstrap.sh yourself). Document the new options in http.conf.sample (names are only tentative, better ones are welcome). At this point we can safely enable the option. Anyone willing to try this on Sun and Apple platforms ? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-01Flesh out the remainder of the manager + http changes and create a sample ↵markster1-4/+9
application to partially demonstrate the capability of manager over http. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28disable the http server by default at the request of people on IRCrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15518 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Add micro-http server and abstract manager interface, make snmp not die markster1-0/+23
on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14953 f38db490-d61c-443f-a65b-d21fe96a405b