Re: Apache Module
Re: Apache Module
- Subject: Re: Apache Module
- From: "Mr. Gecko" <email@hidden>
- Date: Mon, 30 Nov 2009 10:48:55 -0600
I decided to write it like PHP CGI, it's working fine for me, and I'm able to get all the information I need from the server by NSFileHandle and NSProcessInfo. I did make that example project for an Objective-C module that compiles the module for anyone who needs to write an Objective-C based module and that's it. I did read that link you gave me but I was talking about what someone else said to me on making a CGI Proxy.
Thanks for the help,
Mr. Gecko
On Nov 30, 2009, at 8:27 AM, Sherm Pendley wrote:
> On Sat, Nov 28, 2009 at 1:19 PM, Mr. Gecko <email@hidden> wrote:
>> Ok, I know your idea of a CGI Proxy like PHP CGI
>
> That's not what I said. Did you read the link I gave you?
>
>> On Nov 28, 2009, at 9:32 AM, Sherm Pendley wrote:
>>
>>> Keep in mind though, that I posted that nearly five years ago, and
>>> wrote the code for Apache 1.x. The basic idea of registering a
>>> trampoline function that bounces requests to your handler class still
>>> works, but you'll need to update the code to the Apache 2.x API.
>
> I'm not talking about a "CGI Proxy" here. Apache's module API doesn't
> know how to directly call an Objective-C method. So, you need to write
> a C function that "bounces" the call to your method. Such functions
> are commonly called "trampoline" functions.
>
> sherm--
>
> --
> Cocoa programming in Perl:
> http://www.camelbones.org
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden