|
|
Choosing A Webhost: |
Re: Redirects: relative vs absolute: msg#00438apache.mod-perl
Geoffrey Young wrote: to generate a URI that points to the same server as the current request it's best to use Apache::URI methods, which are pretty easy. So basically it's: my $absolute_uri = Apache::URI->parse($r)->unparse; So just a heads up for mp2, there is a new method to do that: use Apache::URI (); my $absolute_uri = $r->construct_url(); __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [MP2] Apache::Reload date bug, Stas Bekman |
|---|---|
| Next by Date: | Re: sanity check problem: Help installing mod_perl1.27andapache 1.3.27, Ged Haywood |
| Previous by Thread: | Re: Redirects: relative vs absolute, Geoffrey Young |
| Next by Thread: | RE: Redirects: relative vs absolute, Grant McLean |
| 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 |