On Tue, Oct 09, 2001 at 11:38:10AM +0200, Mat wrote:
> Hi everybody,
> 
>    actually i'm working on a website where I want to have the following 
> possibilities :
>        - a global handler that will treat a request hitting 
> http://myhost.com/
>        - the ability to have execution of separate cgi scripts like 
> http://myhost.com/script.cgi

I had some trouble with this, and found a workable solution, for the
"Navbar" handler from the eagle book:

  <Files ~ "\.htm*">
          SetHandler  perl-script
          PerlHandler Apache::NavBar
          PerlSetVar NavConf /etc/apache/perl/navigation.conf
        
  </Files>

Substitute the <Files> directive for the <Location "/"> and this should
work. This works against .html and .htm files That's all I had for 
content on that server so it works great for me.
-- 
Nate Campi              <[EMAIL PROTECTED]>
GnuPG key: 0xC17AEF79   http://www.campin.net 

Reply via email to