[asterisk-gui] Re: pari: branch aadk r513 - in /branches/aadk:./config/

Justin Hamade jhamade at shorebridge.ca
Thu Mar 29 15:19:10 MST 2007


Tzafrir,

I do not know lighttpd at all, I am an apache guy myself.  This is the
way asteriskNOW is setup using lighttpd, I just installed it on a VM to
see it, here are the related parts of /etc/lighttpd.conf:


server.modules = ( "mod_access",
                   "mod_alias",
                   "mod_proxy",
                   "mod_accesslog",
                   "mod_redirect",
                   "mod_staticfile" )

$SERVER["socket"] == ":80" {
  ssl.engine = "disable"
        $HTTP["host"] =~ "(.*)" {
                url.redirect = ( "^/(.*)" => "https://%1/$1" )
        }
}

$SERVER["socket"] == ":443" {
  url.redirect = ( "^/$" => "static/config/cfgbasic.html" )
  alias.url = ( "/static/" => "/var/lib/asterisk/static-http/" )
  $HTTP["url"] !~ "^/static/" {
          proxy.server = (
                "" => (
                        ( "host" => "127.0.0.1", "port" => 8088 )
                )
          )
  }

-----Original Message-----
From: asterisk-gui-bounces at lists.digium.com
[mailto:asterisk-gui-bounces at lists.digium.com] On Behalf Of Tzafrir
Cohen
Sent: Wednesday, March 28, 2007 1:29 PM
To: asterisk-gui at lists.digium.com
Subject: Re: [asterisk-gui] Re: pari: branch aadk r513 - in
/branches/aadk:./config/

On Wed, Mar 28, 2007 at 01:13:14PM -0700, Justin Hamade wrote:
> Why not set it up with lighttd the same way asteriskNOW is?
> 
> Tzafrir, why to you install lighttd then install apache?

Yes. I actually tried using lighttpd first.

However the thing called mod_proxy of lighttpd does not seem as capable
as apache's module . If you can figure out how to properly proxy
/asterisk/rawman* but not /asterisk/static , please reply.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-gui mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-gui


More information about the asterisk-gui mailing list