[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
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
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
D'oh, please s/Apache::Filter/Apache::Sandwich/ in my earlier reply.
Sorry.
- nick
--
Nick Tonkin {|8^)>
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
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
É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:
>
>
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
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" =
>>>>> "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,
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
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
> "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 ;-)
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
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
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
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
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
>>>>> "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
---
>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
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
>>>>> "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
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
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
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
> 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
> "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
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
> "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.
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
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
> "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
# 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
> "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
# 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
>>>>> "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
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
37 matches
Mail list logo