logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: CGI::Application::Dispatch and second level subdirectories: msg#00009

lang.perl.modules.cgi-appplication

Subject: Re: CGI::Application::Dispatch and second level subdirectories

> > On 6/13/07, Simon Rees <tech-lists@xxxxxxxxxxxxxxxx> wrote:
> > > <Location /srees/connectm_tracker>
> > > SetHandler perl-script
> > > PerlHandler CGI::Application::Dispatch
> > > PerlSetVar CGIAPP_DISPATCH_PREFIX Newforms::MembersCGIApp::Dispatch
> > > PerlSetVar CGIAPP_DISPATCH_DEFAULT /public/front
> > > PerlSetVar CGIAPP_DISPATCH_DEBUG 1
> > > </Location>
> > >
> > > When I try to request http://test.server/srees/connectm_tracker I get
> > > the following error message:
> > > [Dispatch] ERROR: 'Can't find module
> > > Newforms::MembersCGIApp::Dispatch::Connectm::Tracker' for request
> > > '/srees/connectm_tracker/'
> > > Whereas I would expect it to use the
> > > Newforms::MembersCGIApp::Dispatch::Public module. So it looks like
> > > C::A::Dispatch is considering connectm_tracker to be the module name.
> >
> > On Thursday 14 June 2007 01:08, Mike Friedman wrote:
> > Is Newforms::MembersCGIApp::Dispatch::Public your CA::Dispatch
> > subclass? If so, your PerlHandler should be pointing to that, not
> > CA::Dispatch itself.
>
> On Thursday 14 June 2007 10:48, Simon Rees wrote:
> Newforms::MembersCGIApp::Dispatch::Public is a CGI::Application subclass
> which I'm expecting to be called by CA::Dispatch. I'm not subclassing
> CA::Dispatch - yet...

This problem seems to be to do with the way Apache sets up PATH_INFO in a
mod_perl environment rather than anything to do with CA::Dispatch.
I'm still confused, but am not expecting a solution from this list!

cheers Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | tech-lists @t zodiac2000 co uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation