Gonzalo,

Or you could use the intended default configurations AstLinux provides, no 
symlink required.  :-)

The default lighttpd config is in "/stat/etc/lighttpd.conf", the @FOOBAR@ 
macros get replaced by the /etc/init.d/lighttpd script.

If you really must change the behavior of lighttpd for some good reason, copy 
"/stat/etc/lighttpd.conf" to "/mnt/kd/lighttpd.conf" and edit it according, 
leaving in all the @FOOBAR@ macros.  But be advised that for each AstLinux 
upgrade you are responsible to keep your custom "/mnt/kd/lighttpd.conf" updated 
to any changes to the official default "/stat/etc/lighttpd.conf".

If you do a quick search in "/stat/etc/lighttpd.conf" for @FOP2@ you will 
notice that it is more than a simple alias to the fop2/html/ directory.

Lonnie



On Sep 29, 2013, at 1:08 PM, Gonzalo Ibáñez wrote:

> Hi Lonnie,
> 
> You were absolutely right: the problem was simply that my lighttpd server 
> wasn't serving fop2 root directory; a symbolic link on my lighttpd root 
> directory to fop2 root directory solved the issue.
> 
> Thanks for your help and regards!
> 
> Date: Sat, 28 Sep 2013 08:33:22 -0500
> From: Lonnie Abelbeck <[email protected]>
> Subject: Re: [Astlinux-users] FOP2 question
> To: AstLinux Users Mailing List <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Gonzalo,
> 
> No...
> 
> A HTTP 404 error indicates you have not rebooted your AstLinux box after 
> installing FOP2 as per the instructions, or perhaps you have a custom 
> /mnt/kd/lighttpd.conf that does not reflect the new config changes.
> 
> Also, if you want to do the --test, you *must* specify the config directory 
> with -c /etc/fop2 , such as:
> 
> pbx ~ # /stat/var/packages/fop2/server/fop2_server --test -c /etc/fop2
> --
> Flash Operator Panel 2 - License file fop2.lic not found.
> Running in Demo Mode
> Connection to manager OK!
> --
> 
> Lonnie
> 
> 
> 
> On Sep 28, 2013, at 8:11 AM, Gonzalo Ib??ez wrote:
> 
> > Hi all,
> > 
> > Same issue as Fernando: when I try to log in to FOPS I get a "404 - Not 
> > found" error.
> > It seems a bad user problem; I executed the following command as suggested 
> > onhttp://www.fop2.com/ documentation:
> > 
> > /stat/var/packages/fop2/server/fop2_server --test
> > 
> > and got this result:
> > 
> > Flash Operator Panel 2 - License file fop2.lic not found.
> > Running in Demo Mode
> > Failed to connect to asterisk - localhost:5038
> > Error Message: Login Failed to Asterisk (bad auth) at localhost:5038. Check 
> > your manager credentials!
> > 
> > If you get an error, check if AMI is enabled and started or if the host, 
> > user, secret and ACL are correct.
> > 
> > Regards.
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk_______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> [email protected].


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to