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>    [general]<br>    enabled=yes<br>    bindport=8088<br>    prefix=asterisk<br>    enablestatic=yes<br>    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> 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 => Asterisk HTTP General Status<br>/asterisk/phoneprov/... => Asterisk HTTP Phone Provisioning Tool<br>/asterisk/manager => HTML Manager Event Interface<br>/asterisk/rawman => Raw HTTP Manager Event Interface<br>/asterisk/static/... => Asterisk HTTP Static Delivery<br>/asterisk/mxml => XML Manager Event Interface<br><br>Enabled Redirects:<br>  / => /asterisk/static/config/index.html<br><br><br><br>[root at router asterisk-gui]# 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://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> * Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf <br>   you will only be able to visit it from the local machine. <br><br><span>   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> * The login and password should be an entry from /etc/asterisk/manager.conf<br>   which has 'config' permission in read and write.  For example:<br><br>    [admin]<br>    secret = mysecret28066<br>    read = system,call,log,verbose,command,agent,config<br>    write =
 system,call,log,verbose,command,agent,config<br><br> --- Good luck! ---    <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     root     4096 2009-03-27 14:11 gui_backups<br>drwxr-xr-x 2 root     root     4096 2009-04-02 19:28 scripts<br>drwxr-xr-x 3 root     root     4096 2009-04-02 19:28 static-http<br>[root at router asterisk-gui]# ls /var/lib/asterisk/static-http/<br>config  index.html<br>[root at router asterisk-gui]# ls /var/lib/asterisk/static-http/config/<br>asterisklogs.html  digital.html        hardware_aa50.html   meetme.html             
 private              stylesheets                upload2.html<br>backup.html        directory.html      hardware_dahdi.html  menuprompts_record.html  queues.html          sysinfo.html               upload_abe_overlay.html<br>blank.html         emailsettings.html  hardware.html        menuprompts_upload.html  reboot.html          timeintervals.html         upload_form.html<br>bulkadd.html      
 features.html       home.html            menus.html               registerg729.html    timezone.html              users.html<br>callingrules.html  feditor.html        iax.html             misdn.html               reset_defaults.html  trunks_analog.html         vmgroups.html<br>cdr.html           flashupdate.html    images              
 mohfiles.html            ringgroups.html      trunks_digital.html        voicemail.html<br>cfgbasic.html      flipadvanced.html   incoming.html        networking.html          sip.html             trunks_providers.html      welcome.html<br>cli.html           followme.html       index.html           paging.html              skype.html          
 trunks_sps.html<br>date.html          gtalk.html          js                   password.html            smtp_settings.html   trunks_voip.html<br>dialplans.html     guialert.html       language.html        preferences.html         status.html          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 <bob at assuredcomp.com><br><b><span style="font-weight: bold;">To:</span></b> Asterisk GUI project discussion <asterisk-gui at lists.digium.com><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.  "gui" is a holdover from one of my early attempts that worked.  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> 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 => Asterisk HTTP General Status</font><br>
    <font color="#000000">/phoneprov/... => Asterisk HTTP Phone Provisioning Tool</font><br>
    <font color="#000000">/manager => HTML Manager Event Interface</font><br>
    <font color="#000000">/rawman => Raw HTTP Manager Event Interface</font><br>
    <font color="#000000">/static/... => Asterisk HTTP Static Delivery</font><br>
    <font color="#000000">/mxml => XML Manager Event Interface</font><br>
    <br>
    <font color="#000000">Enabled Redirects:</font><br>
    <font color="#000000">  None.</font><br>
    <br>
    <br>
    <font color="#000000">[root at router asterisk]# netstat -lpdtun | grep 8088</font><br>
    <font color="#000000">tcp        0      0 0.0.0.0:8088                0.0.0.0:*                   LISTEN      14471/asterisk      </font><br>
    <br>
    <br>
    <br>
    <font color="#000000">http.conf</font><br>
    <br>
    <font color="#000000">    [general]</font><br>
    <font color="#000000">    enabled=yes</font><br>
    <font color="#000000">    bindport=8088</font><br>
    <font color="#000000">    enablestatic=yes</font><br>
    <br>
    <br>
    <font color="#000000">manager.conf</font><br>
    <br>
    <font color="#000000">    enabled = yes</font><br>
    <font color="#000000">    webenabled = yes</font><br>
    <font color="#000000">    port = 5038</font><br>
    <font color="#000000">    bindaddr = 0.0.0.0</font><br>
    <br>
    <font color="#000000">    [admin]</font><br>
    <font color="#000000">    secret = XXXXX</font><br>
    <font color="#000000">    read = system,call,log,verbose,command,agent,user,config</font><br>
    <font color="#000000">    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