Posted on 2007-06-18 06:08:34-07 by acdalton
A Few Questions

I too am very excited about the possibilities of this module. I'm in the process of moving my game site SuperDuperGames.org to a RESTful interface and this module is just what I was looking for. I have never written an Apache handler though so I have a few questions about that and this module in particular. Perhaps someone can help me?

1) In the Synopsis of the module it shows a package (MyRESTApp) being declared followed by a <Location> directive. Is it standard to place this code directly in the apache config file? If I save it as a PM elsewhere, do I simply do a PerlModuleLoad (or whatever that command is, can't remember) to load my PM and then use that name in the <Location> directive as shown?

2) If I'm implementing this as a handler, do I still need the "perl-script .cgi" line? I wouldn't think so but...

3) I was about to ask a third question but yet another reading of the documentation has answered that one for me.

I think that's it for now. Thanks again for the module and I appreciate your time and assistance.

Aaron
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.