Jason Purdy wrote: > Hi, > > I'm running into a wall here with Dispatch and thought to reach out for > help. > > I got everything going great, but decided to move the app to mod_perl > and that's where things went a little crazy. > > First, the apache config: > > <Perl> > use lib '/var/www/site/web/resources';
That looks like your problem. Is this directory in your document root? See below. > And if I go to: > > http://www.example.com/resources/suppliers/suppliers > > Then that works. > > It's as if the middle or first path info is getting ignored by dispatch. > > Any clues to where to look? It's not a Dispatch issue, it's just the way PATH_INFO works (at least in apache). http://www.modperl.com/book/chapters/ch9.html#The_Apache_URI_Class and look at the path_info() method. Apache creates the PATH_INFO after doing the URI => Filename translation. So if you have a real directory it can shorten your PATH_INFO even if Apache doesn't serve the file from that directory. Kinda sucky, but oh well. Try renaming either the directory or the Location. -- Michael Peters Developer Plus Three, LP --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
