Date: Thu, 21 May 1998 09:56:01 -0600 (MDT) From: Marc Slemko <marcs@znep.com> To: "Scot W. Hetzel" <hetzels@westbend.net> Cc: FreeBSD-Ports <FreeBSD-Ports@FreeBSD.ORG> Subject: Re: Apache v1.3b6 w/FrontPage Module Message-ID: <Pine.BSF.3.95.980521094900.363U-100000@alive.znep.com> In-Reply-To: <000501bd8416$787c4940$c3e0d9cf@admin.westbend.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 May 1998, Scot W. Hetzel wrote: > I just completed porting the FrontPage Module to work on Apache v1.3b6. The > only question I have is where do you set SERVER_SUBVERSION. I tried setting > it in ../src/main/Makefile.tmpl, but that didn't work. FrontPage Explorer > shows "Server Version" as "Apache/1.3b6", and not as "Apache/1.3b6 > FrontPage/3.0.4". Wait for b7 and use ap_add_version_component() at runtime if think you really want to tell people the server is running fp. In b6, just set it on the command line with "-DSERVER_SUBVERSION=FrontPage/3.04" or whatever. You should not be editing Makefile.tmpl at all, and especially not in the main subdir. You can set it in EXTRA_CFLAGS in Configure or add a MODULE-DEFINITION section to the mod_frontpage.c file, like mod_auth_dbm uses: /* * Module definition information - the part between the -START and -END * lines below is used by Configure. This could be stored in a separate * instead. * * MODULE-DEFINITION-START * Name: dbm_auth_module * ConfigStart . ./helpers/find-dbm-lib * ConfigEnd * MODULE-DEFINITION-END */ ...except in it you would add to the CFLAGS. I think mod_status has an example of this. But you are probably better off waiting for b7 in a few days. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980521094900.363U-100000>