|
|
Choosing A Webhost: |
Re: PerlTransHandler headaches: msg#00756apache.mod-perl
Glenn E. Bailey III wrote: Hello, check out the resources at http://perl.apache.org/ - there's lots of good information there :) sub handler { the translation phase is there to map the URI to a filename. by returning OK, you're telling Apache that you've done the translation (that is, you have set $r->filename to something useful). since you didn't set $r->filename, apache is returning 404, since it can't serve the value of $r->filename. so, the general rule for PerlTransHandlers is to return DECLINED unless you set $r->filename. chapter 12 in the mod_perl Developer's Cookbook deals specifically with the PerlTransHandler and is as good a place to start learning as any. HTH --Geoff
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | PerlTransHandler headaches, Glenn E. Bailey III |
|---|---|
| Next by Date: | RE: PerlTransHandler headaches, Glenn E. Bailey III |
| Previous by Thread: | PerlTransHandler headaches, Glenn E. Bailey III |
| Next by Thread: | RE: PerlTransHandler headaches, Glenn E. Bailey III |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |