[EMAIL PROTECTED] Re: Changing SERVER_CONFIG_FILE (solved)

2007-06-12 Thread Mark Constable
> On Tuesday 12 June 2007 16:37:49 Dr. Peter Poeml wrote: > > ./configure --with-program-name=apache2 --enable-layout=Debian > > yields a binary with SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" for > > me. Seems I can't reproduce what you are seeing. > I guess the difference is perhaps somethin

Re: [EMAIL PROTECTED] How to change SERVER_CONFIG_FILE

2007-06-11 Thread Mark Constable
On Monday 11 June 2007 17:15:39 Boyle Owen wrote: > > > I want to change this from... > > > -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf" > > > to > > > -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" > Why not just do: Thanks for the reply Owen. > ./configure --prefix=/path/to/prefix

Re: [EMAIL PROTECTED] How to change SERVER_CONFIG_FILE

2007-06-11 Thread Mark Constable
On Monday 11 June 2007 09:33:04 Mark Constable wrote: > Where do I change the SERVER_CONFIG_FILE setting ? > > I want to change this from... > -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf" > to > -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf&qu

[EMAIL PROTECTED] How to change SERVER_CONFIG_FILE

2007-06-10 Thread Mark Constable
Where do I change the SERVER_CONFIG_FILE setting ? I want to change this from... -D SERVER_CONFIG_FILE="/etc/httpd/conf/httpd.conf" to -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf" and I'm already doing a sed before configure, and confirmed it's actually changed, but something must be de

[EMAIL PROTECTED] Patch for mod_authn_dbd plaintext auth

2007-06-08 Thread Mark Constable
I need this, not sure if it's of value to anyone else? --- httpd-2.2.4/modules/aaa/mod_authn_dbd.c.orig2006-07-12 03:38:44.0 + +++ httpd-2.2.4/modules/aaa/mod_authn_dbd.c 2007-06-09 05:35:33.0 + @@ -29,6 +29,7 @@ typedef struct { const char *user; const char

[EMAIL PROTECTED] Auth basic only compares first 8 chars

2007-06-08 Thread Mark Constable
Using apache 2.2.4 with mod_auth_basic, mod_dbd and mod_authn_dbd (with apr-util compiled with sqlite3 support) it seems that only the first 8 characters of an incoming password are compared to the crypted version stored in the database! Anyone else notice this with mod_auth_basic ? I'm just wond

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 12:25:17 Mark Constable wrote: > Ah, of course, but... perhaps it's now a Debian problem. And on my ArchLinux desktop where I just compiled apr-util --with-sqlite3 the httpd daemon at least runs but shows an endless stream of the below in the logs. An authentication

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 11:42:08 Nick Kew wrote: > You need to load mod_dbd. Ah, of course, but... perhaps it's now a Debian problem. # a2enmod dbd Module dbd installed; run /etc/init.d/apache2 force-reload to enable. # /etc/init.d/apache2 force-reload Forcing reload of web server (apache2).../us

Re: [EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-08 Thread Mark Constable
On Friday 08 June 2007 07:11:17 Nick Kew wrote: > Building apr and apr-util will fix it. You can do that from > your httpd tarball by building srclib/apr and srclib/apr-util > before building httpd itself. Thanks Nick. It seems my ArchLinux desktop apr-util package uses --without-sqlite3 in it's

[EMAIL PROTECTED] Howto include sqlite3 --with-dbd

2007-06-07 Thread Mark Constable
I'm struggling to find any info or examples on how to include sqlite3 support for mod_authn_dbd and httpd-2.2.4. This is my current configure line but it's not working. I suspect I need to build apr separately but it's not clear if I need to and/or how to. Can anyone suggest modifications to my ./c