Re: Modperl Footers/Headers

2002-04-03 Thread Joshua Chamas

Philip M. Gollucci wrote:
 
 Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
 I need to add a canned Footer to every page except one (toc.html).
 This includes Location handlers, .cgi, .pl, .s?html
 
 http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
 I saw that... but this doesn't work since .cgi, .pl files don't get
 processed just read and output. (Works great for .html files though)
 

Take a look at Apache::Sandwich, it may do exactly what you want.
You will probably have to specify certain file types to run with
Apache::Sandwich, so you ignore things like image files.
I would probably just used the Files config for that.

If Apache::Sandwich does not work for you as is, you might try
looking at its techniques or those of Apache::SSI with executing
subrequests while adding content from various sources.

--Josh
_
Joshua Chamas   Chamas Enterprises Inc.
NodeWorks Founder   Huntington Beach, CA  USA 
http://www.nodeworks.com1-714-625-4051



Re: Modperl Footers/Headers

2002-04-03 Thread Jesus Alejandro Juarez Robles

Another  option is Apache-NavBar, take a look in the CPAN website

Have a nice day.

Alex --

[EMAIL PROTECTED]

On Wed, 3 Apr 2002, Joshua Chamas wrote:

 Philip M. Gollucci wrote:
 
  Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
  I need to add a canned Footer to every page except one (toc.html).
  This includes Location handlers, .cgi, .pl, .s?html
 
  http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
  I saw that... but this doesn't work since .cgi, .pl files don't get
  processed just read and output. (Works great for .html files though)
 

 Take a look at Apache::Sandwich, it may do exactly what you want.
 You will probably have to specify certain file types to run with
 Apache::Sandwich, so you ignore things like image files.
 I would probably just used the Files config for that.

 If Apache::Sandwich does not work for you as is, you might try
 looking at its techniques or those of Apache::SSI with executing
 subrequests while adding content from various sources.

 --Josh
 _
 Joshua Chamas   Chamas Enterprises Inc.
 NodeWorks Founder   Huntington Beach, CA  USA
 http://www.nodeworks.com1-714-625-4051





Modperl Footers/Headers

2002-04-02 Thread Philip M. Gollucci

Okay I've got an FBSD4.5 box with apache-1.3.24 with mod_perl1.26
I need to add a canned Footer to every page except one (toc.html).
This includes Location handlers, .cgi, .pl, .s?html

http://modperl.com:9000/perl_conference/cool_tricks/mp_footer.html
I saw that... but this doesn't work since .cgi, .pl files don't get
processed just read and output. (Works great for .html files though)

I think I may need to do something with Apache::OuputChain
but I don't know what.


Anywhere I should read that I'm missing ?

Thanks for the help.


END
--
Philip M. Gollucci (p6m7g8) [EMAIL PROTECTED] 301.314.3118 301.646.3011

Science, Discovery,  the Universe (UMCP)
Webmaster  Webship Teacher
URL: http://www.sdu.umd.edu

EJournalPress.com
Database/PERL Programmer  System Admin
URL : http://www.ejournalpress.com

Homepage: http://p6m7g8.com
Resume  : http://p6m7g8.com/Work/index.html
Software: http://p6m7g8.com/Developement/