httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject Apache, Pagecounter-tag (fwd)
Date Sat, 22 Mar 1997 23:13:23 GMT

I acked this, and said we'd consider putting it in the contrib area after
1.2 is released.  

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@hyperreal.com     http://www.apache.org     http://www.organic.com/jobs

---------- Forwarded message ----------
Date: Thu, 20 Mar 1997 22:58:38 +0000
From: Oliver Rode <rode@subito.de>
To: brian@hyperreal.com
Subject: Apache, Pagecounter-tag

Hi!

Maybe this features is already implemented in a different way - in this
case please excuse me :-)

I needed a visible page counter, but apache has only a (optional)counter
log file.
So i wrote an extension to the mod_xinclude module. This was a year ago.
I also telled somebody about the changes. I guess it was the author of
mod_xinclude.

Today, i have looked for a new release and needed to change the source again.
I've setup an example page at:




		 <http://home.subito.de/~rode/main.ssi>




Do you think this code is useful ?

It depends on other modules. I placed the source code along with the other
modules
at:

	<http://www.subito.de/ftp/pub/download/apache/>



Compiling and Installation:

	I placed there also the old(?) mod_cntr.c and the mod_include.c with minor
changes.
	to be compiled a compile flag is required: XCOUNTER (e.g. add -DXCOUNTER
to CFLAGS)
	All changes are enclosed in pragmas with the key XCOUNTER so you can
easily find them.

	If you don't set the XCOUNTER flag and add the following lines to your
configuration,
	apache will behave as normal:

		## Counter log
		Module counter_module         mod_cntr.o 
		Module xcounter_module        mod_xcntr.o 

	The module mod_cntr allows to set the filename in httpd.conf, e.g.:

		CounterLog  "logs/counter_log"



Known bugs:

 - In this version of mod_xcntr.c I assume the filename is the above
("logs/counter_log")
 - In multi-host mode the filename is always the one of the last
VirtualHost entry



Thank you for reading all this stuff

Cheers,
Oliver

<mailto:rode@subito.de>



Mime
View raw message