[asterisk-gui] Asterisk-GUI installation results in 404

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jun 18 03:34:02 CDT 2011


On Sat, Jun 18, 2011 at 04:07:23AM +0100, Richard Brady wrote:
> Hi folks
> 
> I wanted to share my experience installing asterisk-gui 2.0 alongside
> Asterisk 1.2.9 on Ubuntu 11.04.

Asterisk 1.2.9 ? Maybe 1.6.2.9?

> 
> I followed the instructions but on trying to visit the page I received a 404
> Not Found.
> 
> In trying to troubleshoot this I was surprised to note that the http.conf
> file does not specify bindings between URLs and local paths. This turned out
> to be the root cause of my problem, as it appears the Asterisk webserver is
> hard-wired (in my system at least) to look for content in
> 
>   /usr/share/asterisk/static-http
> 
> whereas in this case it was actually installed by the asterisk-gui Makefile
> to:
> 
>   /var/lib/asterisk/static-http
> 
> Creating a symlink from the former to the latter resolved the issue for me
> but left me wondering if this is an issue in:
> 
> - the Ubuntu package for Asterisk 1.6
> - the Asterisk websever
> - the asterisk-gui installer
> - the general functionality whereby URL to path bindings are not explicit
> 
> If I can help by documenting the issue or raising an appropriate issue,
> please advise.

Those packages set astdatadir to /usr/share/asterisk . But IIRC latest
versions of the asterisk-gui can detect the version of astdatadir from
Asterisk and should work just fine with it.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-gui mailing list