Also, thanks, Viacheslav, for chiming in, too.It was a bear to move things around - now I have things in 3 or 4 different places (templates, stylesheet, .pm files and logs), but I guess I could have more easily changed the Location (but the marketing person in me wanted that Location ;)).
Lessons learned for next time! - Jason Michael Peters wrote:
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.
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.