did you reload and run httpstatus?
~ Andrew "lathama" Latham [email protected] * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software * Learn more about Linux http://en.wikipedia.org/wiki/Linux * Learn more about Tux http://en.wikipedia.org/wiki/Tux On Sat, Oct 16, 2010 at 9:05 PM, dima <[email protected]> wrote: > That didn't help either. > >> Try changing http.conf: >> >> bindaddr=0.0.0.0 >> >> >> reload asterisk and visit >> http://pbxip:8088/asterisk/static/config/index.html >> >> >> >> >> On 10/15/2010 07:08 PM, dima wrote: >> > Asterisk is actually responding (even if it is responding a "501 >> > error"). >> > >> > This is "http show status" output: >> > HTTP Server Status: >> > Prefix: /asterisk >> > Server Enabled and Bound to 127.0.0.1:8088 >> > >> > Enabled URI's: >> > /asterisk/httpstatus => Asterisk HTTP General Status >> > /asterisk/phoneprov/... => Asterisk HTTP Phone Provisioning Tool >> > /asterisk/manager => HTML Manager Event Interface >> > /asterisk/rawman => Raw HTTP Manager Event Interface >> > /asterisk/static/... => Asterisk HTTP Static Delivery >> > /asterisk/mxml => XML Manager Event Interface >> > dima-laptop*CLI> >> > Enabled Redirects: >> > / => /static/config/index.html >> > >> >> ahh >> >> >> >> You may want to check the bind? is it being bound to 127.0.0.1? >> >> >> >> you can do many things to test. >> >> >> >> at the asterisk cli> http show status >> >> HTTP Server Status: >> >> Prefix: >> >> Server Enabled and Bound to 0.0.0.0:8088 >> >> >> >> Enabled URI's: >> >> /httpstatus => Asterisk HTTP General Status >> >> /phoneprov/... => Asterisk HTTP Phone Provisioning Tool >> >> /backups => HTTP POST mapping >> >> /manager => HTML Manager Event Interface >> >> /rawman => Raw HTTP Manager Event Interface >> >> /static/... => Asterisk HTTP Static Delivery >> >> /mxml => XML Manager Event Interface >> >> /moh => HTTP POST mapping >> >> >> >> Enabled Redirects: >> >> / => /static/config/index.html >> >> >> >> or try >> >> >> >> http://ipaddress:8088/httpstatus >> >> >> >> >> >> ~ >> >> Andrew "lathama" Latham >> >> [email protected] >> >> >> >> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software >> >> * Learn more about Linux http://en.wikipedia.org/wiki/Linux >> >> * Learn more about Tux http://en.wikipedia.org/wiki/Tux >> >> >> >> >> >> >> >> On Fri, Oct 15, 2010 at 4:17 AM, dima<[email protected]> wrote: >> >>> Hello Andrew >> >>> >> >>> Thanks for your reply. I guess this line is a vi command. I don't >> >>> exactly understand what it means to do. Anyway I have tried to change >> >>> "redirect" config parameter in http.conf to: >> >>> >> >>> redirect = / /static/config/index.html >> >>> >> >>> But the result is still the same. When I navigate to >> >>> http://localhost:8088 asterisk redirects me to >> >>> http://localhost:8088/static/config/index.html and then replies with >> >>> 501. >> >>> >> >>> Same thing (error 501) occurs if I try to navigate to >> >>> http://localhost:8088/static/config/index.html directly. >> >>> >> >>> >> >>> >> >>>> s/;redirect\s*=\s*\/\s*\/static\/config\/index.html/redirect = \/ >> >>>> \/static\/config\/index.html/g >> >>>> >> >>>> go to http://<ipaddress>:8088/static/config/index.html >> >>>> >> >>>> ~ >> >>>> Andrew "lathama" Latham >> >>>> [email protected] >> >>>> >> >>>> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software >> >>>> * Learn more about Linux http://en.wikipedia.org/wiki/Linux >> >>>> * Learn more about Tux http://en.wikipedia.org/wiki/Tux >> >>>> >> >>>> >> >>> >> >>>> On Thu, Oct 14, 2010 at 8:49 PM, dima<[email protected]> wrote: >> >>>>> Hello everyone, >> >>>>> >> >>>>> I'm trying to test asterisk-gui. After installing, configuring and >> >>>>> restarting asterisk and asterisk-gui I have no luck connecting to >> >>>>> asterisk-gui via browser. For any request I make, I get "501 Not >> >>>>> Implemented" error. >> >>>>> >> >>>>> Something like: >> >>>>> >> >>>>> GET /static/config/cfgbasic.html HTTP/1.1 >> >>>>> Host: localhost:8088 >> >>>>> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) >> >>>>> Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10 >> >>>>> ... >> >>>>> >> >>>>> >> >>>>> HTTP/1.1 501 Not Implemented >> >>>>> Server: Asterisk/1.6.2.7-1ubuntu1 >> >>>>> ... >> >>>>> >> >>>>> Am I missing something? Or may be asterisk-gui does not work with >> >>>>> asterisk 1.6.2? >> >>>>> >> >>>>> Here is my setup. >> >>>>> Asterisk 1.6.2 (installed from ubuntu repository) >> >>>>> Asterisk-GUI SVN-branch-2.0-r5092 >> >>>>> >> >>>>> manager.conf >> >>>>> [general] >> >>>>> enabled = yes >> >>>>> webenabled = yes >> >>>>> port = 5038 >> >>>>> bindaddr = 127.0.0.1 >> >>>>> [admin] >> >>>>> secret = 123456 >> >>>>> read = system,call,log,verbose,command,agent,config,read,write >> >>>>> write = system,call,log,verbose,command,agent,config,read,write >> >>>>> >> >>>>> httpd.conf >> >>>>> [general] >> >>>>> enabled=yes >> >>>>> bindaddr=127.0.0.1 >> >>>>> bindport=8088 >> >>>>> prefix=asterisk >> >>>>> enablestatic=yes >> >>>>> redirect = / /static/config/cfgbasic.html >> >>>>> >> >>>>> >> >>>>> >> >>>>> -- >> >>>>> _____________________________________________________________________ >> >>>>> -- 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 >> >>> >> >> -- >> >> _____________________________________________________________________ >> >> -- 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 >> >> > > -- > Dima Fadeyev > Departamento de Ingeniería de Scancom S.L. > > > > -- > _____________________________________________________________________ > -- 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
