[us...@httpd] IfModule

2009-01-03 Thread ernst schoen-rene
Why does IfModule mime_module work on one of my servers but IfModule mod_mime.c work on the other?

[us...@httpd] segmentation fault on shutdown with dbd

2009-01-02 Thread ernst schoen-rene
When I shut down apache via apachectl top, it gives me this error /usr/local/apache2/bin/apachectl: line 77: 5034 Segmentation fault $HTTPD -k $ARGV the log reports [Fri Jan 02 10:28:51 2009] [notice] seg fault or similar nasty error detected in the parent process If I take mod_dbd and

[us...@httpd] more authn_dbd woes

2009-01-02 Thread ernst schoen-rene
I have a server with several hundred directories, each password protected against their own database. I added a file, httpd-auth.conf in conf/extra that I include from httpd.conf. This file has many entries that look like this: Directory /var/www/securedocs/1pbpdemo AuthType Basic

Re: [us...@httpd] Troubles enforcing canonical hostname in a .htaccess file

2008-12-30 Thread ernst schoen-rene
The way to deal with this is never in the .htaccess file but in the virtual hosts configuration. If you do not have access to this, you need to ask whoever does to make sure that www.domain.com and domain.com both go to the same virtual host. for instance, these lines in your httpd.conf file or

Re: [us...@httpd] dbd syntax

2008-12-27 Thread ernst schoen-rene
be useful. On Fri, Dec 26, 2008 at 5:06 PM, ernst schoen-rene erns...@gmail.comwrote: I don't want a dbname param, because different servers ask different databases for passwords. However, it doesn't make a difference if I do add a dbname param. Also, I really only have limited skill in C

Re: [us...@httpd] dbd syntax

2008-12-27 Thread ernst schoen-rene
at 9:56 AM, Nick Kew n...@webthing.com wrote: On Sat, 27 Dec 2008 09:10:25 -0800 ernst schoen-rene erns...@gmail.com wrote: I have solved this problem. I am running fedora64 on amd64. mod_dbd with mysql simply doesn't work on my install of apache 2.2.10. I installed 2.2.11 and it works

Re: [us...@httpd] dbd syntax

2008-12-27 Thread ernst schoen-rene
' but that's not the case. It doesn't work with the quotes, only without. On Sat, Dec 27, 2008 at 10:34 AM, ernst schoen-rene erns...@gmail.comwrote: I did have the mysql driver, and after many clean install attempts, I installed apache 2.2.11 from apache 2.2.10 without re-compiling apr or apr-util

[us...@httpd] dbd syntax

2008-12-26 Thread ernst schoen-rene
I'm trying to get mod_dbd and mod_authn_dbd to work. Can someone please post an example of the correct syntax for the DBDParam statement to use with MySQL? The mod_dbd page says that it should be in this format: DBDParam host=localhost,user=userid,pass=password but the mod_authn_dbd uses this

Re: [us...@httpd] dbd syntax

2008-12-26 Thread ernst schoen-rene
apr-util calls apr_dbd_mysql, it's pretty hard to debug. I'm doing this because mod_auth_mysql no longer seems to work with apache 2.2, but I cannot figure out why mod_dbd doesn't work. On Fri, Dec 26, 2008 at 3:34 PM, Nick Kew n...@webthing.com wrote: ernst schoen-rene wrote: I'm trying

Re: [us...@httpd] dbd syntax

2008-12-26 Thread ernst schoen-rene
wrote: ernst schoen-rene wrote: Ah, thanks. That's good to know. I still cannot get this damn thing to connect to the database, and I've been sticking bits of debug code in mod_dbd and apr-util to no avail. I use this: DPDParams host=localhost user=someuser pass=somepass Don't you want

[us...@httpd] actual DBDParams format

2008-12-24 Thread ernst schoen-rene
I'm trying to get mod_dbd and mod_authn_dbd to work. Can someone please post an example of the correct syntax for the DBDParam statement to use with MySQL? The mod_dbd page says that it should be in this format: DBDParam host=localhost,user=userid,pass=password but the mod_authn_dbd uses this