Re: Porting Orphans : (was: apache::sandwich)

2003-03-10 Thread Stas Bekman
[EMAIL PROTECTED] wrote: This brings up a good point, is there a list of 'ModPerl Orphans' anywhere? For the most part I would imagine that a modules author/maintainer will manage the transition to mp2 but there must be a ton of modules that are Orphans with little hope of making it over unless

Re: apache::sandwich

2003-03-10 Thread Stas Bekman
Nick Tonkin wrote: On Mon, 10 Mar 2003, Brent Baude wrote: I recently uprgaded from a pre-RedHat8 system to RedHat 8. I used the Apache::Sandwich module to specify a directory and footer filename in the directives to allow me to include footer files dynamically (without having to specify an

Porting Orphans : (was: apache::sandwich)

2003-03-10 Thread siberian
This brings up a good point, is there a list of 'ModPerl Orphans' anywhere? For the most part I would imagine that a modules author/maintainer will manage the transition to mp2 but there must be a ton of modules that are Orphans with little hope of making it over unless some kind developer mak

Re: apache::sandwich

2003-03-10 Thread Nick Tonkin
D'oh, please s/Apache::Filter/Apache::Sandwich/ in my earlier reply. Sorry. - nick -- Nick Tonkin {|8^)>

Re: apache::sandwich

2003-03-10 Thread Nick Tonkin
On Mon, 10 Mar 2003, Brent Baude wrote: > I recently uprgaded from a pre-RedHat8 system to RedHat 8. I used the > Apache::Sandwich module to specify a directory and footer filename in the > directives to allow me to include footer files dynamically (without having > to specif

apache::sandwich

2003-03-10 Thread Brent Baude
I recently uprgaded from a pre-RedHat8 system to RedHat 8. I used the Apache::Sandwich module to specify a directory and footer filename in the directives to allow me to include footer files dynamically (without having to specify an include statement in each file served). Is there something like

Re: Help with apache::sandwich

2002-06-13 Thread Paul de Repentigny
Éric, Try: ... snip ... instead. is used for URIs, not directories. An alternative would be: ... snip ... if DocumentRoot is set to "/web/httpd/htdocs" for Apache. Paul Eric Terry écrivit: > I have the following added to my httpd.conf file: > >

Help with apache::sandwich

2002-06-13 Thread Eric Terry
I have the following added to my httpd.conf file:   # (Apache::Sandwich)# Add directory custom "header"  SetHandler    perl-script  PerlHandler   Apache::Sandwich  PerlSetVar HEADER "/my_header.html"   Here are my "html" files:   my_header.html: System Wide

Re: Apache::Sandwich, etc

2001-11-12 Thread Jie Gao
heck out Apache::Filter. On 12 Nov 2001, Vivek Khera wrote: > Date: 12 Nov 2001 12:26:41 -0500 > From: Vivek Khera <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Newsgroups: ml.apache.modperl > Subject: Re: Apache::Sandwich, etc > > >>>>> "JG" =

Re: Apache::Sandwich, etc

2001-11-12 Thread Vivek Khera
>>>>> "JG" == Jie Gao <[EMAIL PROTECTED]> writes: JG> I am wondering if it is possible to add a footer to dynamic pages, JG> server-wide, like the subject module does to static pages. Apache::Sandwich will work with whatever content handler you want,

Re: Apache::Sandwich, etc

2001-11-12 Thread Mark Maunder
Jie Gao wrote: > Hi All, > > I am wondering if it is possible to add a footer to dynamic pages, > server-wide, like the subject module does to static pages. > > One apparent way to me is to add another content handler, but > I am not sure how that'll work. > > Any suggestion is appreciated. > > J

Apache::Sandwich, etc

2001-11-11 Thread Jie Gao
Hi All, I am wondering if it is possible to add a footer to dynamic pages, server-wide, like the subject module does to static pages. One apparent way to me is to add another content handler, but I am not sure how that'll work. Any suggestion is appreciated. Jie

Re: Using Apache::Sandwich on php files

2001-03-07 Thread Vivek Khera
> "CG" == Clint Gilders <[EMAIL PROTECTED]> writes: CG> PerlSetVar SandwichHandler server_parsed >> Tell SandwichHandler to run the php handler instead of the >> server_parsed handler. I have never tried it, but theoretically, it >> should work, assuming I implemented it correctly ;-)

Re: Using Apache::Sandwich on php files

2001-03-07 Thread Clint Gilders
files to .php3 so they wouldn't get sandwiched. So my perl.conf actually contains: SetHandler perl-script PerlHandler Apache::Sandwich PerlSetVar HEADER "/includes/head.php3" PerlSetVar FOOTER "/includes/foot.php3" PerlSetVar SandwichHandler serv

Re: Using Apache::Sandwich on php files

2001-03-07 Thread Vivek Khera
is a .html file; do you want that sandwiched as well? I guess the module protects itself from that, but still, it is unclean. CG> CG> SetHandler perl-script CG> PerlHandler Apache::Sandwich CG> PerlSetVar HEADER "/includes/head.html" CG> PerlSetVar San

Using Apache::Sandwich on php files

2001-03-01 Thread Clint Gilders
Hi I'm trying to figure out how to "Sandwich" php files. Is this possible? For my .htm* files I have: SetHandler perl-script PerlHandler Apache::Sandwich PerlSetVar HEADER "/includes/head.html" PerlSetVar SandwichHandler server_p

Re: Apache::ASP and Apache::Sandwich

2001-02-24 Thread Joshua Chamas
Just as in perl itself, TIMTOWTDI :) If you are performance minded, the first method is likely the best, as page will be served by only one Apache::ASP request, where as in the Apache::Sandwich model, you'd have 3 apache requests per page served. Apache::ASP includes get compiled as perl cod

Apache::ASP and Apache::Sandwich

2001-02-24 Thread Joseph Mallett
If you look at http://www.jmallett.org/asp/env.asp, you will see the ASP code that SHOULD appear sandwiched between my rtop and bottom headers, but it isn't getting processed. I want to filter the top and bottom sandwiches through Apache::ASP, then put them together, and filter out any asp that's

Re: Apache::Sandwich and DirectoryIndex

2001-01-10 Thread Vivek Khera
>>>>> "CG" == Clint Gilders <[EMAIL PROTECTED]> writes: CG> CG> SetHandler perl-script CG> PerlHandler Apache::Sandwich CG> PerlSetVar HEADER "/body.html" CG> PerlSetVar FOOTER "/bottom.html" CG> You should

Re: Apache::Sandwich and DirectoryIndex

2001-01-10 Thread Will Wiley
--- >Not Found > >The requested URL /test/ was not found on this server. >-- >My perl.conf file contains: > > > SetHandler perl-script > PerlHandler Apache::Sandwich > PerlSetVar HEADER "/body.html" > PerlSetVar FOOTER "/botto

Apache::Sandwich and DirectoryIndex

2001-01-10 Thread Clint Gilders
Hi I have installed Apache::Sandwich on FreeBSD 3.4/Apache 1.3.12/mod_perl 1.24 and have noticed in working with it that if I call a URL like: http://www.domain.com/test/index.html , it works fine and puts the header and footer on the file. But, if I call: http://www.domain.com/test/ , I

Re: Apache::Sandwich and CGI scripts

2000-11-16 Thread Vivek Khera
>>>>> "HJE" == Hackett, Jonny E <[EMAIL PROTECTED]> writes: HJE> I'm attempting to incorporate Apache::Sandwich into a site I'm working on HJE> and I'm having some problems getting sandwich to work with cgi scripts. What shows up in your

Apache::Sandwich and CGI scripts

2000-11-15 Thread Hackett, Jonny E
Hello, I'm attempting to incorporate Apache::Sandwich into a site I'm working on and I'm having some problems getting sandwich to work with cgi scripts. What is happening is that it will insert the header just fine, print the output, but it doesn't finish the final step whi

Apache::Sandwich

2000-08-31 Thread Christian Holz
Hi there! I've recently installed mod_perl and the Apache::Sandwich module using Apache1.3.12 running under FreeBSD 3.4 mod_perl installation was just fine. the Apache::Sandwich installation looked pretty good as well, make test returned an ok, but after embedding the lines PerlModule A

Apache::Sandwich

2000-08-24 Thread Christian Holz
Hi there! I've recently installed mod_perl and the Apache::Sandwich module using Apache1.3.12 running under FreeBSD 3.4 mod_perl installation was just fine. the Apache::Sandwich installation looked pretty good as well, make test returned an ok, but after embedding the lines PerlModule A

Re: Apache::Sandwich - how can I put the right page title

1999-11-29 Thread Eric L. Brine
> What the HTML spec does not require is for the HEAD section to come > first. So if you must include the HEAD section at the end of the > document, that would be fine. That's incorrect, the standard does indeed require the HEAD section to preceed the BODY. In http://www.w3.org/TR/REC-html40/s

Re: Apache::Sandwich - how can I put the right page title

1999-11-29 Thread Vivek Khera
> "JB" == Jeffrey Baker <[EMAIL PROTECTED]> writes: JB> Vivek Khera wrote: >> >> > "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: >> SM> p.s. - the header file I'm getting is the same for all the pages, thus SM> it does not resides in the same directory as the page itself. >> >> Conve

Re: Apache::Sandwich - how can I put the right page title

1999-11-29 Thread Jeffrey Baker
Vivek Khera wrote: > > > "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: > > SM> p.s. - the header file I'm getting is the same for all the pages, thus > SM> it does not resides in the same directory as the page itself. > > Conveniently, Netscape recognizes the html tag anywhere in the > d

Re: Apache::Sandwich - how can I put the right page title

1999-11-29 Thread Vivek Khera
> "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: SM> p.s. - the header file I'm getting is the same for all the pages, thus SM> it does not resides in the same directory as the page itself. Conveniently, Netscape recognizes the html tag anywhere in the document, not just in the section.

Apache::Sandwich - how can I put the right page title

1999-11-27 Thread Shay Mandel
Hi All, I am using the Sandwich module, but I want a different title for each page. I've tried putting a SSI cgi in the title of the header file, which returns the DOCUMENT_URI, but it returned the uri of the included page (the header). I want the title of the page (document.title javascript obje

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Bruce W. Hoylman
y> Shay> SetHandler perl-script Shay> PerlHandler Apache::Sandwich Shay> # use these documents as header and footer Shay> PerlSetVar HEADER /.includes/header2.shtml PerlSetVar Shay> FOOTER /.includes/footer.shtml Shay> # parse ssi after s

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Vivek Khera
> "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: SM> Hi, SM> Thank you very much for your response. SM> I've changed my configs, so that the sandwich will work only on .html file, SM> and set them not to be SSI parse by default. SM> Still, the header file, which has .shtml extension is not

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Shay Mandel
# To use server-parsed HTML files # AddType text/html .shtml AddHandler server-parsed .shtml # AddHandler server-parsed .html . # shayman - enable sandwich module # for all files which ends with .html SetHandler perl-script PerlHandler Apache::Sandwich # use these documents as heade

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Vivek Khera
> "SM" == Shay Mandel <[EMAIL PROTECTED]> writes: SM> Hi, SM> I am trying to use your Sandwich module, which is really great and SM> helpful. So first of all I want to thank you for the great job you've SM> done. Try making your sandwiched documents NOT be *.[s]html. You're forcing all your

Apache::Sandwich and SSI problems

1999-11-23 Thread Shay Mandel
# To use server-parsed HTML files # AddType text/html .shtml AddHandler server-parsed .shtml AddHandler server-parsed .html SetHandler perl-script PerlHandler Apache::Sandwich # use these documents as header and footer PerlSetVar HEADER /.includes/header2.shtml PerlSetVar FO

Re: Apache::Sandwich question

1999-11-17 Thread Vivek Khera
>>>>> "JB" == Jason Bodnar <[EMAIL PROTECTED]> writes: JB> Can somebody tell me why Apache::Sandwich will only work with GET JB> requests? I took a quick look at the code and am not picking it JB> up. I'm guessing that the post parameters aren&#

Apache::Sandwich question

1999-11-17 Thread Jason Bodnar
Can somebody tell me why Apache::Sandwich will only work with GET requests? I took a quick look at the code and am not picking it up. I'm guessing that the post parameters aren't set up for the subrequest and that's the problem? Wouldn't it be as simple as setting the subr con