[EMAIL PROTECTED] 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)

Reply via email to