talexb has asked for the wisdom of the Perl Monks concerning the following question:
I originally implemented a REST interface to my web application using the mod_rewrite rule and this worked fine for GET operations (list available projects, show project detail) but did not work for POST operations (upload a file to a project). Since I used the CGI::Application framework to build the web app, I thought I'd use CGI::Application::Plugin::Apache::Request to create a request handler as an alternative solution.
This module requires Apache2::Request, a module I'm not familiar with. Among many other things, the documentation says
Well, I gave the module a shot anyway, and using cpan install Apache2::Request the process died with
at the end. I'm not really sure what this means. I have Apache 2.2.3 installed:build/version_check.pl failed: \ no version_string found in '' for 'apache2'.
so I believe I have everything I need .. but it seems my environment isn't right. Thoughts?[Thu Jan 03 13:02:12 2008] [info] Server: Apache/2.2.3, \ Interface: mod_ssl/2.2.3, Library: OpenSSL/0.9.8b
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: REST, CGI::Application::Plugin::Apache and Apache2::Request
by friedo (Prior) on Jan 03, 2008 at 20:45 UTC | |
by talexb (Chancellor) on Jan 03, 2008 at 20:50 UTC | |
|
Re: REST, CGI::Application::Plugin::Apache and Apache2::Request
by Khen1950fx (Canon) on Jan 03, 2008 at 21:47 UTC |