Hi Keith,
Have you tried the init_code option?
Sheldon
On Feb 13, 2008 12:10 PM, Keith Anthony Boroevich <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I was wondering if there are any sections of the configuration file that
> will interpret/execute a perl subroutine before any html code is
> printed? I want to have gbrowse behind session based authentication,
> and thus redirect to the log-in page if the user is not authenticated.
> Therefore if there is a section that I could add a sub{} to check this
> before the "Content-type" is printed (so that the redirect will work),
> that would be great. If not I suppose I will just edit the actual
> gbrowse file.
>
> Also, if there isn't such a section, would there be any interest in
> adding one? It seems like a trivial feature that might be useful in
> many cases.
>
> Keith
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gmod-gbrowse mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sheldon McKay, PhD
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gmod-gbrowse mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse