Hi folks -- I'm using MP2, and I am trying to avoid loading CGI for 2 reasons:
(1) To save memory. (2) When I do load CGI, it fails at the "require Apache" (line 161), and I'd prefer not to edit CGI on my server. Uck. Given I'm not loading CGI, how can I determine self_url() in MP2? I tried something like this <code> my $self_uri = APR::URI->parse($r->pool, $r->uri)->unparse; $r->headers_out->set(Location => $self_uri . "&r2=1"); return Apache::REDIRECT; </code> but this gives me a partial URL, not the full expansion. Thanks for any assistance. -TO __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html