You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by Anthony Wells <aw...@cd-crafters.com> on 2004/08/24 19:56:34 UTC

apreq_module conf directive

Hi All,

I've added the following lines to my httpd.conf file...

<Directory "/srv/www/htdocs">
	AddInputFilter APREQ .shtml
	Options +Includes
	AddHandler server-parsed .shtml
	.
	.
	.
</Directory>

I get no error messages but nothing changes during execution.  Are there any
complaints to my configuration????  If so, please, speak up!

As of currently, I haven't run any of the test modules.  I am preparing to
do so. (*breathes deeply*)

Also, I've noticed that there is no command_rec in mod_apreq.  I assume then
that there is no way to set variables such as max_body_count, tempfile,
etc...

I also noticed in mod_apred.c there is a line that says

	#define APREQ_MODULE_NAME = "APACHE2"

I believe this should be "APREQ" not "APACHE2"???

Anthony


Re: NOW: apreq test modules compile but make test bombs and cannot install them manually

Posted by Joe Schaefer <jo...@sunstarsys.com>.
"Anthony Wells" <aw...@cd-crafters.com> writes:

[...]

> Since I can actually build the .slo binaries for the test modules,
> the question I have at this point is, how do I install them???

The test modules aren't meant to be installed, they are
meant to be compiled/loaded/tested in place by % make test.
If you want to install them yourself, after normal installation
you can copy the generated .so files (usually in the ".libs" subdir 
of the test module's build directory) into your server's module 
directory and add the appropriate LoadModule directive to 
httpd.conf.

That all being said, somehow I still don't think you're 
following the INSTALL directions to the letter because

  % make

or

  % make test

should have built a mod_apreq.so in env/.libs before it
ever tries to run the tests, but your posted output says 
otherwise.

Please try again with a fresh tarball, and use the build
system exactly as outlined in the INSTALL file.  If that's 
not working for you, let's start from where your build fails 
(instead of manually experimenting with apxs flags).

OTOH, if that's what you actually did, then we need to figure 
out where mod_apreq.so wound being built, because the build 
system isn't finding it in env/.libs.  You can remake it by

  % cd env
  % make clean
  % make

and the end of the output should give a clue about where
mod_apreq.so eventually winds up.

Thanks!
-- 
Joe Schaefer


NOW: apreq test modules compile but make test bombs and cannot install them manually

Posted by Anthony Wells <aw...@cd-crafters.com>.
I just downloaded and tried libapreq2-2.04 in order to run the tests.

When running "make test", the binaries are built for all the tests but after
that step I get the error msgs as appears in the attached txt file.

I tried to use apxs to compile and instal mod_apreq_request_test but I get
the following error message:
	Error: Sorry, cannot determine bootstrap symbol name

I'm sure this is coming from apache_httpd_test.h which attempts to use
passing of text for the define.

Since I can actually build the .slo binaries for the test modules, the
question I have at this point is, how do I install them???

Anthony


-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Joe Schaefer
Sent: Tuesday, August 24, 2004 2:22 PM
To: apreq-dev@httpd.apache.org
Subject: Re: apreq_module conf directive


"Anthony Wells" <aw...@cd-crafters.com> writes:

> Also, I've noticed that there is no command_rec in mod_apreq.  I
> assume then that there is no way to set variables such as
> max_body_count, tempfile, etc...

Much has changed since 2.03-dev was released. Please try the 2.04-dev
release candidate posted on Sunday:

  http://cvs.apache.org/~joes/libapreq2-2.04-dev-rc1.tar.gz


> I also noticed in mod_apred.c there is a line that says
>
> 	#define APREQ_MODULE_NAME = "APACHE2"
>
> I believe this should be "APREQ" not "APACHE2"???


No, it is correct.  When future apache releases come out,
we may need another module to support them.  If anything,
APREQ_MODULE_NAME should be changed to "APACHE2.0".


--
Joe Schaefer

Re: apreq_module conf directive

Posted by Joe Schaefer <jo...@sunstarsys.com>.
"Anthony Wells" <aw...@cd-crafters.com> writes:

> Also, I've noticed that there is no command_rec in mod_apreq.  I
> assume then that there is no way to set variables such as
> max_body_count, tempfile, etc...

Much has changed since 2.03-dev was released. Please try the 2.04-dev
release candidate posted on Sunday:

  http://cvs.apache.org/~joes/libapreq2-2.04-dev-rc1.tar.gz


> I also noticed in mod_apred.c there is a line that says
> 
> 	#define APREQ_MODULE_NAME = "APACHE2"
> 
> I believe this should be "APREQ" not "APACHE2"???


No, it is correct.  When future apache releases come out, 
we may need another module to support them.  If anything,
APREQ_MODULE_NAME should be changed to "APACHE2.0".


-- 
Joe Schaefer