No subject


Thu Jan 15 22:29:28 CST 2009


The following URL comes with "Access Denied"
http://10.0.0.1:8088/static

Can anyone please suggest what I am missing? Thanks in Advance.

Regards,

RW





_______________________________________________ --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 


      
--0-1929406780-1239006044=:16956
Content-Type: text/html; charset=us-ascii

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt"><div>Hi Bob,<br><br>I specified the 'redirect' parameter, but no luck-<br><br>http.conf<br><br>&nbsp;&nbsp;&nbsp; [general]<br>&nbsp;&nbsp;&nbsp; enabled=yes<br>&nbsp;&nbsp;&nbsp; bindport=8088<br>&nbsp;&nbsp;&nbsp; prefix=asterisk<br>&nbsp;&nbsp;&nbsp; enablestatic=yes<br>&nbsp;&nbsp;&nbsp; redirect=/ /asterisk/static/config/index.html<br><br>Still getting 404 from teh following URL<br><br><span><a target="_blank" href="http://10.0.0.1:8088/asterisk/static/config/index.html">http://10.0.0.1:8088/asterisk/static/config/index.html</a></span><br><br><span><a target="_blank" href="http://10.0.0.1:8088">http://10.0.0.1:8088</a> redirects to <a target="_blank" href="http://10.0.0.1:8088/asterisk/static/config/index.html">http://10.0.0.1:8088/asterisk/static/config/index.html</a> but then a
 404</span><br><br>router*CLI&gt; http show status <br>HTTP Server Status:<br>Prefix: /asterisk<br>Server Enabled and Bound to 0.0.0.0:8088<br><br>Enabled URI's:<br>/asterisk/httpstatus =&gt; Asterisk HTTP General Status<br>/asterisk/phoneprov/... =&gt; Asterisk HTTP Phone Provisioning Tool<br>/asterisk/manager =&gt; HTML Manager Event Interface<br>/asterisk/rawman =&gt; Raw HTTP Manager Event Interface<br>/asterisk/static/... =&gt; Asterisk HTTP Static Delivery<br>/asterisk/mxml =&gt; XML Manager Event Interface<br><br>Enabled Redirects:<br>&nbsp; / =&gt; /asterisk/static/config/index.html<br><br><br><br>[root at router asterisk-gui]# make checkconfig<br>&nbsp;--- Checking Asterisk configuration to see if it will support the GUI ---<br>* Checking for http.conf: OK<br>* Checking for manager.conf: OK<br>* Checking if HTTP is enabled: OK<br>* Checking if HTTP static support is enabled: OK<br>* Checking if manager is enabled: OK<br>* Checking if manager over
 HTTP is enabled: OK<br>&nbsp;--- Everything looks good ---&nbsp;&nbsp;&nbsp; <br><span>&nbsp;* GUI should be available at <a target="_blank" href="http://10.0.0.1:8088/asterisk/static/config/index.html">http://10.0.0.1:8088/asterisk/static/config/index.html</a> </span><br><br>&nbsp;* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf <br>&nbsp;&nbsp; you will only be able to visit it from the local machine. <br><br><span>&nbsp;&nbsp; Example: <a target="_blank" href="http://localhost:8088/asterisk/static/config/index.html">http://localhost:8088/asterisk/static/config/index.html</a></span><br><br>&nbsp;* The login and password should be an entry from /etc/asterisk/manager.conf<br>&nbsp;&nbsp; which has 'config' permission in read and write.&nbsp; For example:<br><br>&nbsp;&nbsp;&nbsp; [admin]<br>&nbsp;&nbsp;&nbsp; secret = mysecret28066<br>&nbsp;&nbsp;&nbsp; read = system,call,log,verbose,command,agent,config<br>&nbsp;&nbsp;&nbsp; write =
 system,call,log,verbose,command,agent,config<br><br>&nbsp;--- Good luck! ---&nbsp;&nbsp;&nbsp; <br><br><br>[root at router asterisk-gui]# ll /var/lib/asterisk/<br>total 20<br>-rw-r--r-- 1 asterisk asterisk 8192 2009-04-06 14:05 astdb<br>drwxr-xr-x 2 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp; 4096 2009-03-27 14:11 gui_backups<br>drwxr-xr-x 2 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp; 4096 2009-04-02 19:28 scripts<br>drwxr-xr-x 3 root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp; 4096 2009-04-02 19:28 static-http<br>[root at router asterisk-gui]# ls /var/lib/asterisk/static-http/<br>config&nbsp; index.html<br>[root at router asterisk-gui]# ls /var/lib/asterisk/static-http/config/<br>asterisklogs.html&nbsp; digital.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hardware_aa50.html&nbsp;&nbsp; meetme.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 private&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stylesheets&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; upload2.html<br>backup.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; directory.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hardware_dahdi.html&nbsp; menuprompts_record.html&nbsp; queues.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sysinfo.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; upload_abe_overlay.html<br>blank.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; emailsettings.html&nbsp; hardware.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; menuprompts_upload.html&nbsp; reboot.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timeintervals.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; upload_form.html<br>bulkadd.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 features.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; home.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; menus.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registerg729.html&nbsp;&nbsp;&nbsp; timezone.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; users.html<br>callingrules.html&nbsp; feditor.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iax.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; misdn.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reset_defaults.html&nbsp; trunks_analog.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vmgroups.html<br>cdr.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flashupdate.html&nbsp;&nbsp;&nbsp; images&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 mohfiles.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ringgroups.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trunks_digital.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; voicemail.html<br>cfgbasic.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; flipadvanced.html&nbsp;&nbsp; incoming.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; networking.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sip.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trunks_providers.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; welcome.html<br>cli.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; followme.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; paging.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skype.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 trunks_sps.html<br>date.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gtalk.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; js&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtp_settings.html&nbsp;&nbsp; trunks_voip.html<br>dialplans.html&nbsp;&nbsp;&nbsp;&nbsp; guialert.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; preferences.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; status.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update_phonefirmware.html<br><br><br>Thank you.<br><br><br></div><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:
 bold;">From:</span></b> Bob Crandell &lt;bob at assuredcomp.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Asterisk GUI project discussion &lt;asterisk-gui at lists.digium.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 2, 2009 9:53:38 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-gui] astrisk-gui 404 issue<br></font><br>



  
  

If you run make checkconfig, you should see something like:<br>
 make checkconfig<br>
 --- Checking Asterisk configuration to see if it will support the GUI ---<br>
* Checking for http.conf: OK<br>
* Checking for manager.conf: OK<br>
* Checking if HTTP is enabled: OK<br>
* Checking if HTTP static support is enabled: OK<br>
* Checking if manager is enabled: OK<br>
* Checking if manager over HTTP is enabled: OK<br>
 --- Everything looks good ---<br><span>
 * GUI should be available at <a target="_blank" href="http://PBX:8088/gui/static/config/index.html">http://PBX:8088/gui/static/config/index.html</a> </span><br>
<br>
For me, PBX is the name of my Asterisk server.&nbsp; "gui" is a holdover from one of my early attempts that worked.&nbsp; I added these lines to /etc/asterisk/http.conf:<br>
prefix = gui<br>
redirect = / /asterisk/static-http/config/index.html<br>
uploads = /var/lib/asterisk/uploads/<br>
backups = /var/lib/asterisk/gui_backups<br>
moh = /var/lib/asterisk/moh<br>
<br>
Make sure the directories exist.<br>
I hope this helps<br>
<table width="100%" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<pre>-  <br>Bob Crandell<br>Assured Computing, Inc.<br><span><a target="_blank" href="http://www.assuredcomp.com/">http://www.assuredcomp.com/</a></span><br>541-868-0331<br>ComputerBase<br><span><a target="_blank" href="http://www.computerbaseusa.com/">http://www.computerbaseusa.com/</a></span><br>541-349-0404<br></pre>
</td>
</tr>
</tbody></table>
<br>
<br>
On Thu, 2009-04-02 at 06:45 -0700, Mohammad Rahman wrote:
<blockquote type="CITE">
    <font color="#000000">Hi,</font><br>
    <br>
    <font color="#000000">I am using asterisk-1.6.0.5-2.fc10.i386 on fedora, trying to install latest SVN copy of asterisk-gui. All I am getting is 404, page not found. Please help.</font><br>
    <br>
    <font color="#000000">router*CLI&gt; http show status </font><br>
    <font color="#000000">HTTP Server Status:</font><br>
    <font color="#000000">Prefix: </font><br>
    <font color="#000000">Server Enabled and Bound to 0.0.0.0:8088</font><br>
    <br>
    <font color="#000000">Enabled URI's:</font><br>
    <font color="#000000">/httpstatus =&gt; Asterisk HTTP General Status</font><br>
    <font color="#000000">/phoneprov/... =&gt; Asterisk HTTP Phone Provisioning Tool</font><br>
    <font color="#000000">/manager =&gt; HTML Manager Event Interface</font><br>
    <font color="#000000">/rawman =&gt; Raw HTTP Manager Event Interface</font><br>
    <font color="#000000">/static/... =&gt; Asterisk HTTP Static Delivery</font><br>
    <font color="#000000">/mxml =&gt; XML Manager Event Interface</font><br>
    <br>
    <font color="#000000">Enabled Redirects:</font><br>
    <font color="#000000">&nbsp; None.</font><br>
    <br>
    <br>
    <font color="#000000">[root at router asterisk]# netstat -lpdtun | grep 8088</font><br>
    <font color="#000000">tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0.0.0.0:8088&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.0.0.0:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LISTEN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14471/asterisk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><br>
    <br>
    <br>
    <br>
    <font color="#000000">http.conf</font><br>
    <br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; [general]</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; enabled=yes</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; bindport=8088</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; enablestatic=yes</font><br>
    <br>
    <br>
    <font color="#000000">manager.conf</font><br>
    <br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; enabled = yes</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; webenabled = yes</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; port = 5038</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; bindaddr = 0.0.0.0</font><br>
    <br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; [admin]</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; secret = XXXXX</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; read = system,call,log,verbose,command,agent,user,config</font><br>
    <font color="#000000">&nbsp;&nbsp;&nbsp; write = system,call,log,verbose,command,agent,user,config</font><br>
    <br>
    <font color="#000000">Tried the following URL (all responses with 404) -</font><br>
    <br>
    <font color="#000000"><span><a target="_blank" href="http://10.0.0.1:8088/asterisk/static/config/index.html">http://10.0.0.1:8088/asterisk/static/config/index.html</a></span></font><br>
    <font color="#000000"><span><a target="_blank" href="http://10.0.0.1:8088//static/config/index.html">http://10.0.0.1:8088//static/config/index.html</a></span></font><br>
    <br>
    <font color="#000000">From within router -</font><br>
    <font color="#000000"><span><a target="_blank" href="http://localhost:8088/asterisk/static/config/index.html">http://localhost:8088/asterisk/static/config/index.html</a></span></font><br>
    <font color="#000000"><span><a target="_blank" href="http://localhost:8088/static/config/index.html">http://localhost:8088/static/config/index.html</a></span></font><br>
    <br>
    <font color="#000000">The following URL comes with "Access Denied"</font><br>
    <font color="#000000"><span><a target="_blank" href="http://10.0.0.1:8088/static">http://10.0.0.1:8088/static</a></span></font><br>
    <br>
    <font color="#000000">Can anyone please suggest what I am missing? Thanks in Advance.</font><br>
    <br>
    <font color="#000000">Regards,</font><br>
    <br>
    <font color="#000000">RW</font><br>
    <br>
    <br>
</blockquote>
<blockquote type="CITE">
    <br>
<pre><font color="#000000">_______________________________________________</font>
<font color="#000000"><span>--Bandwidth and Colocation Provided by <a target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a>--</span></font>

<font color="#000000">asterisk-gui mailing list</font>
<font color="#000000">To UNSUBSCRIBE or update options visit:</font>
<font color="#000000"><span>   <a target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-gui">http://lists.digium.com/mailman/listinfo/asterisk-gui</a></span></font>
</pre>
</blockquote>
</div></div></div><br>

      </body></html>
--0-1929406780-1239006044=:16956--




More information about the asterisk-gui mailing list