You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by m m <mb...@yahoo.com> on 2000/07/14 09:14:28 UTC

[ignore] -> Re: [newbie] question

crap.
please ignore my last elaborate email. 
The Guide is right, it did work.
sigh. stupid stupid me. always remeber to check all
permutations and combinations of answers before
posting.

damn I'll never have my questions answered again on
the list.


--- JoshNarins@aol.com wrote:
> mbil_99@yahoo.com writes...
> 
> > Apache::NavBar from the Eagle book.
> >  When I use the example configuration
> >  <Location />
> >   etc
> > </Location>
> > it works, i.e. html files have a navbar placed in
> them,
> > but my other cgis come out as plain text.
> > I would like to rectify this and more importantly
> I
> > would like to understand why this is happening.
> 
> That's the spirit...
> 
> > there is a line in NavBar.pm
> > $r->content_type eq 'text/html' || return DECLINED
> > how does this work when I request a cgi as opposed
> to
> > an html file? I dont understand argh.
> 
> Try the following to figure out what is going on.
> $r->log_error("NavBar.pm : The content_type
> requested is ",$r->content_type);
> Place this right *before* the "|| return DECLINED"
> line.
> 
> -JoshNarins
> 
> (PS I'm no expert, just trying to field a question)


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/