[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-gui
Subject: Re: [asterisk-gui] 404 when issue asterisk gui web access
From: Gad Alaloof <gadi.alaloof () gmail ! com>
Date: 2009-07-27 10:38:46
Message-ID: eadb09d20907270338s5a830f15nefe294dee3fca9af () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thanks.
My problem was permissions on directories.
On Mon, Jul 27, 2009 at 1:38 AM, Ryan Brindley <rbrindley@digium.com> wrote:
> I see you're trying to access cfgadvanced.html, thats actually deprecated.
> Try accessing index.html
>
> --
> Ryan Brindley
> Digium, Inc. | Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> main: +1 256-428-6000 fax: +1 256-864-0464
> Check us out at: http://digium.com & http://asterisk.org
>
> ----- "Gad Alaloof" <gadi.alaloof@gmail.com> wrote:
> > > Thanks.
> >
> > > On Sat, Jul 25, 2009 at 4:26 PM, Bob Crandell <bob@assuredcomp.com>wrote:
> >
>>
>> Hi,
>> >
>> > This is what my http.conf looks like:
>> > ;!
>> > ;! Automatically generated configuration file
>> > ;! Filename: http.conf (/etc/asterisk/http.conf)
>> > ;! Generator: Manager
>> > ;! Creation Date: Fri Jul 24 10:05:35 2009
>> > ;!
>> > ;
>> > ; Asterisk Builtin mini-HTTP server
>> > ;
>> > ;
>> > ; Note about Asterisk documentation:
>> > ; If Asterisk was installed from a tarball, then the HTML
>> documentation should
>> > ; be installed in the static-http/docs directory which is
>> > ; (/var/lib/asterisk/static-http/docs) on linux by default. If the
>> Asterisk
>> > ; 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>/static/docs/index.html
>> > > ;
>> > [general]
>> > ;
>> > ; Whether HTTP/HTTPS interface is enabled or not. Default is no.
>> > ; This also affects manager/rawman/mxml access (see manager.conf)
>> > ;
>> > enabled = yes
>> > ;
>> > ; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0
>> > ;
>> >
>> ;bindaddr=127.0.0.1
>> > > ;
>> > ; Port to bind to for HTTP sessions (default is 8088)
>> > ;
>> > ;bindport=8088
>> >
>> ;
>> > ; Prefix allows you to specify a prefix for all requests
>> > ; to the server. The default is blank. If uncommented
>> > ; all requests must begin with /asterisk
>> > ;
>> > prefix = asterisk
>> > ;
>> > ; Whether Asterisk should serve static content from http-static
>> > ; Default is no.
>> > ;
>> > enablestatic = yes
>> > ;
>> > ; Redirect one URI to another. This is how you would set a
>> > ; default page.
>> > ; Syntax: redirect=<from here> <to there>
>> > ; For example, if you are using the Asterisk-gui,
>> > ; it is convenient to enable the following redirect:
>> > ;
>> > redirect = / /static/config/index.html
>> > ;
>> > ; HTTPS support. In addition to enabled=yes, you need to
>> > ; explicitly enable ssl, define the port to use,
>> > ; and have a certificate somewhere.
>> > ; sslenable=yes ; enable ssl - default no.
>> > ; sslbindport=4433 ; port to use - default is 8089
>> > ; sslbindaddr=0.0.0.0 ; address to bind to - default is bindaddr.
>> > ;
>> > ; sslcert=/tmp/foo.pem ; path to the certificate
>> > ;
>> > ; To produce a certificate you can e.g. use openssl
>> > ; openssl req -new -x509 -days 365 -nodes -out /tmp/foo.pem
>> -keyout /tmp/foo.pem
>> > ;
>> >
>> > ; The post_mappings section maps URLs to real paths on the filesystem.
>> If a
>> > ; POST is done from within an authenticated manager session to one of
>> the
>> > ; configured POST mappings, then any files in the POST will be placed in
>> the
>> > ; configured directory.
>> > ;
>> > [post_mappings]
>> > ;
>> > ; In this example, if the prefix option is set to "asterisk", then using
>> the
>> > ; POST URL: /asterisk/uploads will put files in
>> /var/lib/asterisk/uploads/.
>> > uploads = /var/lib/asterisk/uploads/
>> > backups = /var/lib/asterisk/gui_backups
>> > moh = /var/lib/asterisk/moh
>> >
>> >
>> > >>> Gad Alaloof <gadi.alaloof@gmail.com> 7/25/2009 01:24 AM >>>
>> >
>> >
>> > Hi
>> > After installing Asterisk 1.6 i get 404 error when getting to web gui
>> url.
>> > I try:
>> > http://127.0.0.1:8088/asterisk/static/config/cfgadvanced.html
>> >
>> >
>> > Installation is on ubanutu desktop edition 9.0.4.
>> >
>> >
>> > http.conf looks like this:
>> >
>> > [general]
>> > ;
>> > ; Whether HTTP/HTTPS interface is enabled or not. Default is no.
>> > ; This also affects manager/rawman/mxml access (see manager.conf)
>> > ;
>> > enabled=yes
>> > ;
>> > ; Address to bind to, both for HTTP and HTTPS. Default is 0.0.0.0
>> > ;
>> > bindaddr=0.0.0.0
>> > ;
>> > ; Port to bind to for HTTP sessions (default is 8088)
>> > ;
>> > bindport=8088
>> >
>> > And manager.conf looks like this:
>> >
>> > [general]
>> > enabled = yes
>> > webenabled = yes
>> > port = 5038
>> > bindaddr = 0.0.0.0
>> > [administrator]
>> > secret = xxx
>> > read = system,call,log,verbose,command,agent,user,config
>> > write = system,call,log,verbose,command,agent,user,config
>> >
>> >
>> > make checkconfig also shows everythink is ok.
>> >
>> > Please advice.
>> > Thanks.
>> >
>> >
>> >
>> >
>> _______________________________________________
>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >
>> > asterisk-gui mailing list
>> > To UNSUBSCRIBE or update options visit:
>> > http://lists.digium.com/mailman/listinfo/asterisk-gui
>> >
>
>
> >
>
> > _______________________________________________ --Bandwidth and
> Colocation Provided by http://www.api-digital.com-- asterisk-gui mailing
> list To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-gui
>
[Attachment #5 (text/html)]
<div dir="ltr">Thanks.<br>My problem was permissions on directories.<br><br><br><div \
class="gmail_quote">On Mon, Jul 27, 2009 at 1:38 AM, Ryan Brindley <span \
dir="ltr"><<a href="mailto:rbrindley@digium.com">rbrindley@digium.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;"><div><div \
style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);">I see you're \
trying to access cfgadvanced.html, thats actually deprecated. Try accessing \
index.html<br> <br>-- <br>Ryan Brindley <br>Digium, \
Inc. | Software Developer <br>445 Jan Davis Drive NW - Huntsville, AL \
35806 - USA <br>main: +1 256-428-6000 fax: +1 256-864-0464 \
<br> Check us out at: <a href="http://digium.com" \
target="_blank">http://digium.com</a> & <a href="http://asterisk.org" \
target="_blank">http://asterisk.org</a><br><br>----- "Gad Alaloof" <<a \
href="mailto:gadi.alaloof@gmail.com" target="_blank">gadi.alaloof@gmail.com</a>> \
wrote: <br>> <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" \
target="_blank">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>> \
;<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>> ;<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" \
target="_blank">gadi.alaloof@gmail.com</a>> 7/25/2009 01:24 AM \
>>><br>> <div><div></div><div>> <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> <br>> \
_______________________________________________
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" \
target="_blank">http://www.api-digital.com--</a>
asterisk-gui mailing list
To UNSUBSCRIBE or update options visit:
<a href="http://lists.digium.com/mailman/listinfo/asterisk-gui" \
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-gui</a></div></div><br>_______________________________________________<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>
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-gui mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-gui
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic