Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

howto automagically append an "include" to every page serv..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  unwanted 302 - why?  
Author Message
user3347

External


Since: Dec 22, 2004
Posts: 3



(Msg. 1) Posted: Tue Dec 21, 2004 8:35 pm
Post subject: howto automagically append an "include" to every page served...
Archived from groups: alt>apache>configuration (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not sure the subject is so clear... Wink
BTW, what I need is a module/directive to specify a file to be appended
to every page served from an Apache web server.

Is there a way?

Thx.

- --
William Maddler
http://www.maddler.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFByLvD1ALxG2OcY+8RAgfPAJ9inhirxM8MSzKRKYnijQpKUmQYjgCeK0DU
9uU5/lBcUM4lH9YL8KoMG0k=
=gtd3
-----END PGP SIGNATURE-----

 >> Stay informed about: howto automagically append an "include" to every page serv.. 
Back to top
Login to vote
herb1

External


Since: Dec 21, 2004
Posts: 5



(Msg. 2) Posted: Tue Dec 21, 2004 9:05 pm
Post subject: Re: howto automagically append an "include" to every page served... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sure!

"William Maddler" <news.NOSPAM DeleteThis @maddler.net> wrote in message
news:32rse6F3ov845U1@individual.net...
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 >
 > Not sure the subject is so clear... Wink
 > BTW, what I need is a module/directive to specify a file to be appended
 > to every page served from an Apache web server.
 >
 > Is there a way?

Add a line line like:

<!-- #include virtual="filename.html" -->

You probably also have to enable server side includes in the httpd.conf
file,
but I've forgotten what it is.

 > Thx.
 >
 > - --
 > William Maddler
<font color=purple> > <a style='text-decoration: underline;' href="http://www.maddler.net</font" target="_blank">http://www.maddler.net</font</a>>
 > -----BEGIN PGP SIGNATURE-----
 > Version: GnuPG v1.2.6 (GNU/Linux)
 >
 > iD8DBQFByLvD1ALxG2OcY+8RAgfPAJ9inhirxM8MSzKRKYnijQpKUmQYjgCeK0DU
 > 9uU5/lBcUM4lH9YL8KoMG0k=
 > =gtd3
 > -----END PGP SIGNATURE-----

--
Herb
herb DeleteThis @herbstein.com<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: howto automagically append an "include" to every page serv.. 
Back to top
Login to vote
user3347

External


Since: Dec 22, 2004
Posts: 3



(Msg. 3) Posted: Wed Dec 22, 2004 4:35 am
Post subject: Re: howto automagically append an "include" to every page served... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

but this works on a per file basis... right?

Herb Stein wrote:
| Sure!
|
| "William Maddler" <news.NOSPAM DeleteThis @maddler.net> wrote in message
| news:32rse6F3ov845U1@individual.net...
|
| Not sure the subject is so clear... Wink
| BTW, what I need is a module/directive to specify a file to be appended
| to every page served from an Apache web server.
|
| Is there a way?
|
|
|> Add a line line like:
|
|> <!-- #include virtual="filename.html" -->
|
|> You probably also have to enable server side includes in the httpd.conf
|> file,
|> but I've forgotten what it is.
|
|
| Thx.
|
| --
| William Maddler
| http://www.maddler.net

| --
| Herb
| herb DeleteThis @herbstein.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFByTEi1ALxG2OcY+8RAvHAAJ9t8Lm5rSE0cxvBfBnjQOPZGZ/t3ACfSYWg
vFIqi0A/PbBGVAfs6d58asg=
=Hy/I
-----END PGP SIGNATURE-----
 >> Stay informed about: howto automagically append an "include" to every page serv.. 
Back to top
Login to vote
leendert

External


Since: Nov 23, 2004
Posts: 20



(Msg. 4) Posted: Wed Dec 22, 2004 5:35 am
Post subject: Re: howto automagically append an "include" to every page served... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Op Wed, 22 Dec 2004 01:11:49 +0100, schreef William Maddler:
 > Not sure the subject is so clear... Wink
 > BTW, what I need is a module/directive to specify a file to be appended
 > to every page served from an Apache web server.
 >
 > Is there a way?
 >
 > Thx.

Take a look at mod_perl. With Apache2/mp2 you can define Output filters
that will operate on every request just before the response is send.
If you want more info on this, ask this question again on the
mailing.unix.modperl-users group.

-leendert bottelberghs<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: howto automagically append an "include" to every page serv.. 
Back to top
Login to vote
user3347

External


Since: Dec 22, 2004
Posts: 3



(Msg. 5) Posted: Wed Dec 22, 2004 6:35 pm
Post subject: Re: howto automagically append an "include" to every page served... [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

perfect... thanx a lot...
I'll give it a try...

Leendert Bottelberghs wrote:
| Op Wed, 22 Dec 2004 01:11:49 +0100, schreef William Maddler:
|
|>Not sure the subject is so clear... Wink
|>BTW, what I need is a module/directive to specify a file to be appended
|>to every page served from an Apache web server.
|>
|>Is there a way?
|>
|>Thx.
|
|
| Take a look at mod_perl. With Apache2/mp2 you can define Output filters
| that will operate on every request just before the response is send.
| If you want more info on this, ask this question again on the
| mailing.unix.modperl-users group.
|
| -leendert bottelberghs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFByfbx1ALxG2OcY+8RAsLtAJ4hMrdIeJ4rGKXKzUdGJKr1wUYqSQCffmLF
CIXQHVf/iM79b9Qs5x5WuC8=
=8ioV
-----END PGP SIGNATURE-----
 >> Stay informed about: howto automagically append an "include" to every page serv.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
include standard headers and footers on every page? - Is there a way to configure apache to always include a standard header and footer on every page served? We have several different departments using our webserver and want everyone to have a consistent look to their site. Unfortunately department..

How to append trailing / on directories? - This may be simple or this may be brutally difficult, I don't know. I've recently switched from Mac OS 10.2 client to Mac OS 10.3 Server. On my old client package if I directed someone to my.domain.com/path, "path" being the name of a direct...

Howto redirect ? - If I have an JSP application with the name Joseph and I can reach it with index.jsp and I want to access via all the following URLs: http://lead-testserver/joseph/ http://lead-testserver/apps/joseph/ http://joseph.lead-testserver/app/..

Apache Cluster HOWTO? - Hi, i am trying to figure out how to cluster two Apache Ws. I found something on google but it is still not clear to me. Anyone could help? Thanks Fabio

howto change mydomain.com to www.mydomain.com - I want my index page to load as www.mydomain.com when a user enters mydomain.com. Can someone tell me how this is done? For example going to amazon.com will automatically change to www.amazon.com. many thanks in advance. regards, billc
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]