• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apache Module
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Apache Module
      • From: Jens Alfke <email@hidden>
References: 
 >Apache Module (From: "Mr. Gecko" <email@hidden>)
 >Re: Apache Module (From: Sherm Pendley <email@hidden>)
 >Re: Apache Module (From: Sherm Pendley <email@hidden>)
 >Re: Apache Module (From: "Mr. Gecko" <email@hidden>)
 >Re: Apache Module (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Defining and using constants in Objective C
  • Next by Date: Re: How to draw text to bitmap (array) with pre 10.5 libs
  • Previous by thread: Re: Apache Module
  • Next by thread: Re: Apache Module
  • Index(es):
    • Date
    • Thread