Hi,
If you want to run APE behind Apache, your htaccess file must work. Do
the folowing test :
* What does the URL
http://0.ape.ape-test.local/?script&it_works&anticache return you?
You should have something like that in the source
http://ape-project.org/wiki/index.php/Setup#Test_your_installation
If this URL sent you something else :
* Your htaccess don't work!
o Check apache error logs
o Try to move the content of the htaccess into your vhost and
restart apache
If the URL sent you the correct response, your APE installtion should
work, try to run the demos. If the demo is not working can you tell me
what happend?
* Is the iframe created?
* Is all JS file loading fine [check it with firebug in the network tab]
* Is there any ajax request done, and what APE server return
I'am not sure to understand what you mean when you said "If I only run
APE, at port 80, then I do not need to add 6969"
* Are you running APE on a different interface ([virtual] network card)
* Or are you using apache on a different port
* Or are you only trying to run APE without apache?
Regards.
Chao Zhang a écrit :
> Hi Nicolas,
>
> Thank you for the reply. I have not tried if I could access the APE
> engine from other user behind the firewall, but good that you point out.
>
> I follow the instruction exactly, have the htaccess file at the
> root. But when I use with Apache (runs at 80) and APE (runs at 6969),
> then I have to
> specify http://0.ape.ape-test.localscript:6969&it_works&anticache to
> make it work (A blank page with the correct source code). If I only
> run APE, at port 80, then I do not need to add 6969.
>
> How would you suggest to change the cofiguration, does anybody else
> have similar problem?
>
> Thank you very much again for your reply, i am looking forward to your
> further comments.
>
> Stylus
>
>
>
> On Sat, Aug 8, 2009 at 4:27 PM, Nicolas Trani <[email protected]
> <mailto:[email protected]>> wrote:
>
>
> Hi,
>
> this is a solution but you will experience problem with user behind
> firewall.
> Did you follow the setup guide and create the htaccess file?
> Is the URL http://0.ape.ape-test.local/?script&it_works&anticache
> <http://0.ape.ape-test.local/?script&it_works&anticache> works
> fine? (you should have a blank page, check the source you should have
> somehting like that
> http://ape-project.org/wiki/index.php/Setup#Test_your_installation )
> If this work fine, your issue is caused by the baseURL in config.js
> baseURL should point to the apache url where the JSF source can be
> found.
>
> Cheers.
>
> Stylus wrote:
> > Hey Nikolas,
> >
> > I made it running now. The problem is solved by changing the config
> > file:
> > ape.ape-test.local -> ape.ape-test.local:6969 for the APE Server
> >
> > It is kind of dirty solution but it works, maybe you couldg give a
> > better explanation than me.
> >
> > Anyway, thanks a lot for your help, it is a really cool project.
> I am
> > looking forward to hearing more from your team!!
> >
> > cheers,
> > Stylus
> >
> > On Aug 6, 5:35 pm, Chao Zhang <[email protected]
> <mailto:[email protected]>> wrote:
> >
> >> Hi Nicolas,
> >> Thanks for the reply.
> >> I have made the modules, installed firebug and the iframe is
> created.
> >>
> >> Now I start the apache server and there is a problem to load
> the js files.
> >> It seems like I need to add port:6969 (80 is taken by Apache)
> to the URL.
> >> Currently the script is
>
> like:http://0.ape.ape-test.local/?script&http://ape-test.local/APE_JSF/Sou..
>
> <http://0.ape.ape-test.local/?script&http://ape-test.local/APE_JSF/Sou..>.,
> >> and firebug shows the file can not be loaded. And if I change
> it
>
> tohttp://0.ape.ape-test.local:6969/?script&http://ape-test.local/APE_JSF/Source/mootools-core.js,
> the files could be
> >> loaded.
> >>
> >> Do you have any idea what is wrong? Thank you so much guys!
> >>
> >> Stylus
> >>
> >> On Thu, Aug 6, 2009 at 1:16 PM, Nicolas Trani
> <[email protected] <mailto:[email protected]>> wrote:
> >>
> >>
> >>> Hi,
> >>>
> >>> Do you compiled server modules (cd modules && make)?
> >>>
> >>> If you did it, can you install firebug and check those thing :
> >>>
> >>> - Is an iframe created in the source code of the page?
> >>> - Is there any ajax request done? (and what is the response of
> APE Server)
> >>> - Is there any javascript error?
> >>>
> >>> Regards.
> >>>
> >>> On Thu, 6 Aug 2009 02:39:46 -0700 (PDT), Stylus
> <[email protected] <mailto:[email protected]>>
> >>> wrote:
> >>>
> >>>> Some more info, I run it on my local machine,
> >>>>
> >>>> Config file like this:
> >>>> APE.Config.baseUrl =
> 'http://ape-test.local/APE_JSF/Source';//APE
> <http://ape-test.local/APE_JSF/Source%27;//APE>
> >>>> JSF
> >>>> APE.Config.domain = 'ape-test.local'; //Your domain, must be
> the same
> >>>> than the domain in aped.conf of your server
> >>>> APE.Config.server = 'ape.ape-test.local'; //APE server URL
> >>>>
> >>>> ape_conf:
> >>>> Server {
> >>>> port = 80
> >>>> daemon = no
> >>>> ip_listen = 127.0.0.1
> >>>> ip_local = 0.0.0.0
> >>>> domain = ape-test.local
> >>>> #rlimit_nofile = 65536
> >>>> }
> >>>>
> >>>> On Aug 6, 11:32 am, Stylus <[email protected]
> <mailto:[email protected]>> wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> I know this is a stupid question, but I just can not make
> the demo
> >>>>> running. ('Move' for example)
> >>>>>
> >>>>> I downloaded the code, compiled, setup server and test the
> >>>>> installation, I see a blank page with the source code.
> Everything
> >>>>> looks fine. But when I want to test the demo, I can not see any
> >>>>> action.
> >>>>>
> >>>>> In the Move demo, I only see a page with
> ape_master_container, should
> >>>>> I do anything else to view it in action as the demo hosted
> in your
> >>>>> page.
> >>>>>
> >>>>> Thank you very much in advanced.
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>> Stylus
> >>>>>
> >>>> --
> >>>>
> >>> Nicolas Trani
> >>> Weelya - Improve the web
> >>>
> > >
> >
>
>
> --
> Nicolas Trani
> Weelya - Improve the web
> http://www.weelya.com
>
>
>
>
>
> >
--
Nicolas Trani - Web engineer
Weelya - Improve the web
http://www.weelya.com
http://www.ape-project.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/
-~----------~----~----~----~------~----~------~--~---