accessing error_log messages

2006-04-21 Thread Chris Scheller
is there a way to get at the error that would be logged to apaches error_log from a PerlLogHandler? -- Chris Scheller | http://www.pobox.com/~schelcj | JID: [EMAIL PROTECTED] -- If God had intended Man to Smoke, He woul

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Geoffrey Young
> That's what I just found out too. I tried Fred's suggestions of using > Apache::URI's fragment, but nothing seemed to work. So I decided to just > make sure it was being passed to the server. It seems that the browser > (tried with FF 1.5 and wget) doesn't pass the #fragment. > > If this is tru

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Michael Peters
David Wright wrote: >> fragment() is also discussed in chapter 5 of the mpdc. it's been a >> while, >> but I'm pretty sure that what it says in 5.3 is true, that the browser >> holds >> on to it (as it does auth information) and won't let the server know. > > Yeah, it's oddly hard to find refer

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread David Wright
fragment() is also discussed in chapter 5 of the mpdc. it's been a while, but I'm pretty sure that what it says in 5.3 is true, that the browser holds on to it (as it does auth information) and won't let the server know. Yeah, it's oddly hard to find references to this. The best I found was: h

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Geoffrey Young
Fred Moyer wrote: > On Fri, 21 Apr 2006 9:31 am, Fred Moyer wrote: > >> Michael Peters wrote: >> >>> Frank Wiles wrote: >> >> [...] >> > Which works fine except that the anchor info (#123) is lost. Is there > anyway to get this from the original request's URL? >> >> >> The 2.0 docs seem

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Fred Moyer
On Fri, 21 Apr 2006 9:31 am, Fred Moyer wrote: Michael Peters wrote: Frank Wiles wrote: [...] Which works fine except that the anchor info (#123) is lost. Is there anyway to get this from the original request's URL? The 2.0 docs seem to indicate that this piece is called the 'fragment' [1],

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Fred Moyer
Michael Peters wrote: Frank Wiles wrote: [...] Which works fine except that the anchor info (#123) is lost. Is there anyway to get this from the original request's URL? I think you're looking for $r->prev->unparsed_uri Thanks, but I guess I should have mentioned that I'm using mod_perl

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Michael Peters
Frank Wiles wrote: > On Fri, 21 Apr 2006 11:49:19 -0400 > Michael Peters <[EMAIL PROTECTED]> wrote: > >> I have a application with mod_perl Authen/Authz handlers that will >> redirect to a login screen (via ErrorDocument) if the user is not >> logged in. Users follow links in emails and these li

Re: retrieving the anchor tags in internal redirects

2006-04-21 Thread Frank Wiles
On Fri, 21 Apr 2006 11:49:19 -0400 Michael Peters <[EMAIL PROTECTED]> wrote: > I have a application with mod_perl Authen/Authz handlers that will > redirect to a login screen (via ErrorDocument) if the user is not > logged in. Users follow links in emails and these links occasionally > have anchor

retrieving the anchor tags in internal redirects

2006-04-21 Thread Michael Peters
I have a application with mod_perl Authen/Authz handlers that will redirect to a login screen (via ErrorDocument) if the user is not logged in. Users follow links in emails and these links occasionally have anchors in them: http://mysite.com/app?foo=bar#123 For the ErrorDocument 403 page that di