<div dir="ltr">Thanks.<br><br><div class="gmail_quote">On Sat, Jul 25, 2009 at 4:26 PM, Bob Crandell <span dir="ltr"><<a href="mailto:bob@assuredcomp.com">bob@assuredcomp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
This is what my http.conf looks like:<br>
;!<br>
;! Automatically generated configuration file<br>
;! Filename: http.conf (/etc/asterisk/http.conf)<br>
;! Generator: Manager<br>
;! Creation Date: Fri Jul 24 10:05:35 2009<br>
;!<br>
;<br>
; Asterisk Builtin mini-HTTP server<br>
;<br>
;<br>
; Note about Asterisk documentation:<br>
; If Asterisk was installed from a tarball, then the HTML documentation should<br>
; be installed in the static-http/docs directory which is<br>
; (/var/lib/asterisk/static-http/docs) on linux by default. If the Asterisk<br>
; HTTP server is enabled in this file by setting the "enabled", "bindaddr",<br>
; and "bindport" options, then you should be able to view the documentation<br>
; remotely by browsing to:<br>
; http://<server_ip>:<bindport>/static/docs/index.html<br>
<div class="im">;<br>
[general]<br>
;<br>
; Whether HTTP/HTTPS interface is enabled or not. Default is no.<br>
; This also affects manager/rawman/mxml access (see manager.conf)<br>
;<br>
enabled = yes<br>
;<br>
; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0<br>
;<br>
</div>;bindaddr=127.0.0.1<br>
<div class="im">;<br>
; Port to bind to for HTTP sessions (default is 8088)<br>
;<br>
;bindport=8088<br>
</div>;<br>
; Prefix allows you to specify a prefix for all requests<br>
; to the server. The default is blank. If uncommented<br>
; all requests must begin with /asterisk<br>
;<br>
prefix = asterisk<br>
;<br>
; Whether Asterisk should serve static content from http-static<br>
; Default is no.<br>
;<br>
enablestatic = yes<br>
;<br>
; Redirect one URI to another. This is how you would set a<br>
; default page.<br>
; Syntax: redirect=<from here> <to there><br>
; For example, if you are using the Asterisk-gui,<br>
; it is convenient to enable the following redirect:<br>
;<br>
redirect = / /static/config/index.html<br>
;<br>
; HTTPS support. In addition to enabled=yes, you need to<br>
; explicitly enable ssl, define the port to use,<br>
; and have a certificate somewhere.<br>
; sslenable=yes ; enable ssl - default no.<br>
; sslbindport=4433 ; port to use - default is 8089<br>
; sslbindaddr=0.0.0.0 ; address to bind to - default is bindaddr.<br>
;<br>
; sslcert=/tmp/foo.pem ; path to the certificate<br>
;<br>
; To produce a certificate you can e.g. use openssl<br>
; openssl req -new -x509 -days 365 -nodes -out /tmp/foo.pem -keyout /tmp/foo.pem<br>
;<br>
<br>
; The post_mappings section maps URLs to real paths on the filesystem. If a<br>
; POST is done from within an authenticated manager session to one of the<br>
; configured POST mappings, then any files in the POST will be placed in the<br>
; configured directory.<br>
;<br>
[post_mappings]<br>
;<br>
; In this example, if the prefix option is set to "asterisk", then using the<br>
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.<br>
uploads = /var/lib/asterisk/uploads/<br>
backups = /var/lib/asterisk/gui_backups<br>
moh = /var/lib/asterisk/moh<br>
<br>
<br>
>>> Gad Alaloof <<a href="mailto:gadi.alaloof@gmail.com">gadi.alaloof@gmail.com</a>> 7/25/2009 01:24 AM >>><br>
<div><div></div><div class="h5"><br>
Hi<br>
After installing Asterisk 1.6 i get 404 error when getting to web gui url.<br>
I try:<br>
<a href="http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html" target="_blank">http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html</a><br>
<br>
<br>
Installation is on ubanutu desktop edition 9.0.4.<br>
<br>
<br>
http.conf looks like this:<br>
<br>
[general]<br>
;<br>
; Whether HTTP/HTTPS interface is enabled or not. Default is no.<br>
; This also affects manager/rawman/mxml access (see manager.conf)<br>
;<br>
enabled=yes<br>
;<br>
; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0<br>
;<br>
bindaddr=0.0.0.0<br>
;<br>
; Port to bind to for HTTP sessions (default is 8088)<br>
;<br>
bindport=8088<br>
<br>
And manager.conf looks like this:<br>
<br>
[general]<br>
enabled = yes<br>
webenabled = yes<br>
port = 5038<br>
bindaddr = 0.0.0.0<br>
[administrator]<br>
secret = xxx<br>
read = system,call,log,verbose,command,agent,user,config<br>
write = system,call,log,verbose,command,agent,user,config<br>
<br>
<br>
make checkconfig also shows everythink is ok.<br>
<br>
Please advice.<br>
Thanks.<br>
<br>
<br>
<br>
</div></div>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-gui mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a><br>
</blockquote></div><br></div>