Update sample configuration to match what are now the defaults for the prefix.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 26 Jun 2008 01:11:43 +0000 (01:11 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 26 Jun 2008 01:11:43 +0000 (01:11 +0000)
(closes issue #12838, related to issue #12198)
 Reported by: pabelanger
 Patches:
       http.conf.diff2 uploaded by pabelanger (license 224)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125191 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/http.conf.sample

index b0c0047..f15c9cf 100644 (file)
@@ -9,7 +9,7 @@
 ;   HTTP server is enabled in this file by setting the "enabled", "bindaddr",
 ;   and "bindport" options, then you should be able to view the documentation
 ;   remotely by browsing to:
 ;   HTTP server is enabled in this file by setting the "enabled", "bindaddr",
 ;   and "bindport" options, then you should be able to view the documentation
 ;   remotely by browsing to:
-;       http://<server_ip>:<bindport/asterisk/static/docs/index.html
+;       http://<server_ip>:<bindport>/static/docs/index.html
 ;
 [general]
 ;
 ;
 [general]
 ;
@@ -27,8 +27,8 @@ bindaddr=127.0.0.1
 ;bindport=8088
 ;
 ; Prefix allows you to specify a prefix for all requests
 ;bindport=8088
 ;
 ; Prefix allows you to specify a prefix for all requests
-; to the server.  The default is "asterisk" so that all
-; requests must begin with /asterisk
+; to the server.  The default is blank.  If uncommented
+; all requests must begin with /asterisk
 ;
 ;prefix=asterisk
 ;
 ;
 ;prefix=asterisk
 ;
@@ -43,7 +43,7 @@ bindaddr=127.0.0.1
 ; For example, if you are using the Asterisk-gui,
 ; it is convenient to enable the following redirect:
 ;
 ; For example, if you are using the Asterisk-gui,
 ; it is convenient to enable the following redirect:
 ;
-;redirect = / /asterisk/static/config/cfgbasic.html
+;redirect = / /static/config/cfgbasic.html
 ;
 ; HTTPS support. In addition to enabled=yes, you need to
 ; explicitly enable ssl, define the port to use,
 ;
 ; HTTPS support. In addition to enabled=yes, you need to
 ; explicitly enable ssl, define the port to use,