Michael,

It's friggin workin!!! Thanks a million! I am so relieved.

M.

-----------------------------------------------------------
Marcus Bergstrom [marcus at quickform.net]
-----------------------------------------------------------



On Feb 28, 2007, at 2:25 PM, Michael Pliskin wrote:

Hello Marcus,

  I didn't comment anything out for 2.2, and for 2.0 I did something
  else, and I think my solution is better - I commented out like

static void neko_register_hooks( apr_pool_t *p ) {
        /*if( memcmp(ap_get_server_version(),"Apache/2.0",10) == 0 ) {
ap_hook_handler( neko_2_0_handler, NULL, NULL, APR_HOOK_LAST );
                return;
        } */
        ap_hook_post_config( neko_init, NULL, NULL, APR_HOOK_MIDDLE );
        ap_hook_handler( neko_handler, NULL, NULL, APR_HOOK_LAST );
};

  which performs all the post-config stuff for apache 2.0 as well.

MB> Hmm, how did you compile your neko version?
MB> Are you using 1.5.3? Did you comment out the same section as I did?
MB> There must be something I can do here...

MB> M.


MB>
MB> -----------------------------------------------------------
MB> Marcus Bergstrom [marcus at quickform.net]
MB> -----------------------------------------------------------


MB>

MB> On Feb 28, 2007, at 2:03 PM, Michael Pliskin wrote:

MB> Hello Marcus,

MB>> I don't have 2.2, and that's a part of the problem.
MB>> I have Apache/2.0.46, with MPM prefork.

MB> Hmm both 2.0 and 2.2 with prefork worked pretty fine for me... I am MB> just having trouble with 2.2 and worker, thought you might have the
MB> same. But looks like not.

MB>> thanks,

MB>> M.


MB>>
MB>> -----------------------------------------------------------
MB>> Marcus Bergstrom [marcus at quickform.net]
MB>> -----------------------------------------------------------


MB>>

MB>> On Feb 28, 2007, at 12:46 PM, Michael Pliskin wrote:

MB>> Hello Marcus,

MB>>   You have apache 2.2 - what MPM module? prefork or worker?

MB>>> Actually, I got rid of that error. But it seems that it's still not working. MB>>> Don't know what could be wrong. There is no input in the apache error log either. MB>>> Does anyone have a solution for this? I might have to recode my program with amfphp instead.

MB>>> M.

MB>>>
MB>>> -----------------------------------------------------------
MB>>> Marcus Bergstrom [marcus at quickform.net]
MB>>> -----------------------------------------------------------


MB>>>

MB>>> On Feb 27, 2007, at 7:24 PM, Marcus Bergstrom wrote:

MB>>> Hi Nicolas,

MB>>> I commented the neko/libs/mod_neko/mod_neko.c file like this.

MB>>> static int neko_2_0_handler( request_rec *r ) {
MB>>>         /*
MB>>>         if( strcmp(r->handler,"neko-handler") != 0)
MB>>>                 return DECLINED;
MB>>>         r->content_type = "text/html";
MB>>>         ap_send_http_header(r);
MB>>>         ap_rprintf(r,"You have Apache 2.0.x installed. Mod_neko2
MB>>> can only run on Apache 2.2.x because of a BoehmGC issue with
MB>>> Apache 2.0, please upgrade to Apache 2.2.x");
MB>>>         */
MB>>>         return OK;
MB>>> }

MB>>> Although, the httpd.conf clears the configtest, it doesn't seem to actuallly work. MB>>> I go to a website, and it asks me to download index.php for example. That's not so good.
MB>>> Is this the same issues that you ran into?

MB>>> M.

MB>>>
MB>>> -----------------------------------------------------------
MB>>> Marcus Bergstrom [marcus at quickform.net]
MB>>> -----------------------------------------------------------


MB>>>

MB>>> On Feb 27, 2007, at 6:49 PM, Nicolas Cannasse wrote:

MB>>> Thanks Nicolas,

MB>>> I should have thought about that.

MB>>> Another question. Is it not possible to get neko running on Apache 2.0.x? MB>>> Neko is currently complaining saying it needs 2.2.x because of BoehmGC. MB>>> My server is running Plesk, and Plesk doesn't support version 2.2.x.
MB>>>

MB>>> It actually does not seem to depends on the Apache version, since we had MB>>> the same problem recently on a Apache 2.2.x , and some Apache 2.0 is MB>>> working well... I then removed the test from neko/libs/ mod_neko.c, try
MB>>> to update and recompile.

MB>>> Nicolas


MB>>> --
MB>>> Neko : One VM to run them all
MB>>> (http://nekovm.org)
MB>>>










--
Best regards,
 Michael                            mailto:[EMAIL PROTECTED]

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to