[EMAIL PROTECTED] mod_dbd: C Example of simple module working with DB including httpd.conf lines

2008-01-09 Thread Zvi Kave
I need an simple module example working with any supported database. (Let's say MySQL) including example of the httpd.conf lines. Something which reads/inserts a line in a DB table. I have Nick Kew book the Apache modules with the mod_auth*.c but this chapter is not enough clear to me. Best

RE: [EMAIL PROTECTED] mod_proxy and keepalive question

2008-01-09 Thread Axel-Stephane SMORGRAV
I'm sorry, but I did not realise that you were attempting to use SSL to the backend. http://issues.apache.org/bugzilla/show_bug.cgi?id=38602 It seems like there is a patch available which has been proposed for backport to 2.2.x. Unfortunately it currently only has one vote... well actually two

RE: [EMAIL PROTECTED] mod_proxy and keepalive question

2008-01-09 Thread KOZMAN Bálint
That's scary. Thanks for your help anyway. Cheers, Balint On Wed, 9 Jan 2008, Axel-Stephane SMORGRAV wrote: I'm sorry, but I did not realise that you were attempting to use SSL to the backend. http://issues.apache.org/bugzilla/show_bug.cgi?id=38602 It seems like there is a patch

RE: [EMAIL PROTECTED] mod_proxy and keepalive question

2008-01-09 Thread Axel-Stephane SMORGRAV
No it's not (scary). 1. A patch is available 2. You can apply it, recompile and test 3. After having tested, you may comment the PR with the test results -ascs -Message d'origine- De : KOZMAN Bálint [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 janvier 2008 11:12 À :

Re: [EMAIL PROTECTED] Configuring ssl on apache 2 and Leopard 10.5.1

2008-01-09 Thread Krist van Besien
On Jan 6, 2008 11:06 PM, Ben assis [EMAIL PROTECTED] wrote: Hi all, On an imac intel dual core, I recently migrated to Leopard from Tiger 10.4.10. On my Tiger client, I had installed my own web server using openssl and mod_ssl with Apache 1.3 server; https was working fine. On Leopard with

[EMAIL PROTECTED] Suexec and fastcgi

2008-01-09 Thread Martijn de Munnik
Hi, I'm trying to configure a webserver using virtualmin with suexec and fastcgi. I used the following setting s and get the error as seen in error_log. Any ideas? The OS is Solaris 10. in httpd.conf: LoadModule fastcgi_module libexec/mod_fastcgi.so LoadModule suexec_module

Re: [EMAIL PROTECTED] mod_dbd: C Example of simple module working with DB including httpd.conf lines

2008-01-09 Thread Tom Donovan
Zvi Kave wrote: I need an simple module example working with any supported database. (Let's say MySQL) including example of the httpd.conf lines. Something which reads/inserts a line in a DB table. Two DBD modules with source code - mod_log_dbd and mod_vhost_dbd - are at

Re: [EMAIL PROTECTED] Configuring ssl on apache 2 and Leopard 10.5.1

2008-01-09 Thread Ben assis
Hi Krist, Is your webserver listening to port 8083? No. Here are a few commands and results : bash-3.2# openssl s_client -connect localhost:8083 -state -debug connect: Connection refused connect:errno=61 bash-3.2# openssl s_client -connect 66.110.138.56:8083 -state -debug connect:

[EMAIL PROTECTED] Problem with ./configure Apache 2.2.6

2008-01-09 Thread Reeves, Michael D Civ 517 SMXS/MXDEC
Hi, I'm having a problem installing a new webserver. I'm doing the exact same procedure that I've used in the past (v 2.0.55, 2.0.59, and 2.2.4), but it no longer seems to be working. I'm doing a custom layout. I've edited the config.layout file to match what I'd done in the past, copying the

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
Is there a header string I could pass in the newer version of mod_cache/mod_disk_cache that would cause it to refresh the cache with new content for the requested URL? In version 2.0.59 there does not seem to be a header string that will do this. I got the idea that passing the following

[EMAIL PROTECTED] rewrite or alias

2008-01-09 Thread Tony Heal
I am using apache 1.3 on a debian etch system with a 2.6 kernel. I have www root redirected from a file in conf.d. I am currently using a symlink in the redirected root to direct a php file to a different directory in /var/www/ and I would rather use httpd.conf to do this. Although I am

Re: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Axel-Stephane SMORGRAV
Both the max-age=0 and the no-cache request directives should force an end-to-end reload. As I said earlier, there is a bug that causes Apache to ignore the Cache-Control request directives. That bug is fixed in 2.2.x, or you could apply the 2.0.x patch I referred to. Just in case you did

[EMAIL PROTECTED] RE: Problem with ./configure Apache 2.2.6

2008-01-09 Thread Reeves, Michael D Civ 517 SMXS/MXDEC
I did a little bit more playing around with this. If I put the full path in the bindir variable in the config.layout file (bindir: /usr/local/apache2/bin), I still get the exact same error message. Has anyone ever seen this before? Thanks greatly for any help on this Mike -Original

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Axel-Stephane SMORGRAV
Look at http://issues.apache.org/bugzilla/show_bug.cgi?id=19441 There you will find a patch against 2.0.59 that fixes this particular problem. If you read all the comments on that PR you will see that there will be no back-port from 2.2.x, which is a pity since a patch exists. If you really

Re: [EMAIL PROTECTED] Apache under windows Rewrite Error

2008-01-09 Thread Neil A. Hillard
Alberto García Gómez wrote: HI fellows: I in front of this several error. I have an Apache server under windows and everything is working fine except but this small error when I using mod_rewirte (under *nix work fine) snip this is my vhost server conf: RewriteLOg

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
You mentioned applying the fixes from 2.2 to 2.0. Would I get the source code for mod_cache.so and mod_disk_cache.so from the 2.2 project, put it in the proper directories on apache 2.0 and the rebuild? Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University

[EMAIL PROTECTED] Apache under windows Rewrite Error

2008-01-09 Thread Alberto García Gómez
HI fellows: I in front of this several error. I have an Apache server under windows and everything is working fine except but this small error when I using mod_rewirte (under *nix work fine) this is my vhost server conf: NameVirtualHost 127.0.0.1:80 VirtualHost 127.0.0.1:80 ServerAdmin [EMAIL

[EMAIL PROTECTED] migration from apache 1.3 to apache 2.0

2008-01-09 Thread zafad
Hello, I search documentation about a modules migration from apache 1.3 to apache 2.0. In fact, I developed specific modules under apache 1.3, and I study its migration to apache 1.3. I find this link: http://httpd.apache.org/docs/2.0/developer/modules.html but it doesn't complete.

[EMAIL PROTECTED] CVE-2007-3008

2008-01-09 Thread John T. Mills
I'm running 2.2.4 and I've been told I need to manually tweak mod_rewrite.c to fix CVE-2007-3008. I can't find any mention of this bug in the bug list. Here's my info: Server version: Apache/2.2.4 (Unix) Server built: Jun 8 2007 08:19:28 Server's Module Magic Number: 20051115:4 Server

[EMAIL PROTECTED] To upgrade or not to upgrade

2008-01-09 Thread Troy Moseley
Good Day, I'm running Apache 2.0.47 (a OpenSA install) on a Windows 2000 Server Box. I need to be able to access our SQL 2000 server via a PHP or Perl script. I have already updated PHP to the latest version, do I also need to update Apache or should it work as is. If upgrading is my best

[EMAIL PROTECTED] VirtualHost and default domain

2008-01-09 Thread Frank M. Ramaekers
I have successfully setup three virtual hosts. VirtualHost * ServerName abc.domain.com ServerAlias def.domain.com DocumentRoot /var/www/html : /VirtualHost VirtualHost * ServerName xyz.domain.com DocumentRoot /home/www/xyz : /VirtualHost This seems to work fine except when only

Re: [EMAIL PROTECTED] VirtualHost and default domain

2008-01-09 Thread Pau Garcia i Quiles
Quoting Frank M. Ramaekers [EMAIL PROTECTED]: I have successfully setup three virtual hosts. VirtualHost * ServerName abc.domain.com ServerAlias def.domain.com DocumentRoot /var/www/html : /VirtualHost VirtualHost * ServerName xyz.domain.com DocumentRoot /home/www/xyz :

Re: [EMAIL PROTECTED] CVE-2007-3008

2008-01-09 Thread Joshua Slive
On Jan 9, 2008 3:05 PM, John T. Mills [EMAIL PROTECTED] wrote: I'm running 2.2.4 and I've been told I need to manually tweak mod_rewrite.c to fix CVE-2007-3008. I can't find any mention of this bug in the bug list. I love the I've been told stuff. Who told you this, and do they know what

Re: [EMAIL PROTECTED] CVE-2007-3008

2008-01-09 Thread John T. Mills
Yeah it's a bit of a reach. PCI's been a bit bad at sensing problem avoidance through intelligence versus all the listed bug if let unconfigured things. I got a bit more data on it. I need to recompile apache with rewrite enabled and tweak the httpd.conf. Another PCI checkbox conquered! lol

[EMAIL PROTECTED] Unable to enable mod_ssl

2008-01-09 Thread RexWinthrop
I have sucessfully installed Apache 2.2.6 My http://localhost works perfectly alright. But when I try to make it as an Encryped server *with mod_ssl (* https://myipaddress) I am uanble to do so. When I run the following commands I get the following results. 1) apachectl -l Compiled in modules:

RE: [EMAIL PROTECTED] VirtualHost and default domain

2008-01-09 Thread Frank M. Ramaekers
Thanks that did the trick...oh I forgot one other possibility: abc.domain.com/xyz - /home/www/xyz (perhaps a rewrite to xyz.domain.com as well) Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200

RE: [EMAIL PROTECTED] To upgrade or not to upgrade

2008-01-09 Thread Reeves, Michael D Civ 517 SMXS/MXDEC
You should not need an update to Apache to run PHP 5.2.x All you should need to do is rebuild/install PHP. To test, put a phpinfo() script in your root directory. If it runs, you can look at the top of the output and figure out which version of PHP you're accessing. -Original

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
Ascs, I put your changes in and everything is working great. I just wish that we could use Apache 2.2. Thanks for all of your help, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservices.uiuc.edu -Original

Re: [EMAIL PROTECTED] Update on --Unable to enable mod_ssl

2008-01-09 Thread Dan Mahoney, System Admin
On Thu, 10 Jan 2008, RexWinthrop wrote: Hi All, I have now successfully enabled mod_ssl and is listed under (apachectl -l) Compiled in modules and Loaded modules in (apachectl -M )Loaded Modules My question is I am able to access apache server using http://localhost and http://192.168.1.59

RE: [EMAIL PROTECTED] mod_proxy and keepalive question

2008-01-09 Thread KOZMAN Balint
Well, yes, I definitely will give that patch a try. Though this way it's pretty far from getting to production, as it'll take much time while this patch gets back to the stable branch, and linux distros incorporate them (etc, etc). As a workaround I've installed stunnel and wrapped https

[EMAIL PROTECTED] thousands of netstat http TIME_WAIT

2008-01-09 Thread Randy Paries
hello, I just built a new Centos 5 box with apache Server version: Apache/2.2.3 Server built: Jun 26 2007 19:24:58 For some reason when i do a netstat after a hour of production i will have 3 or 4 thousand http TIME_WAIT's if i do a netstat. Any help on how to debug? Thanks

RE: [EMAIL PROTECTED] To upgrade or not to upgrade

2008-01-09 Thread Axel-Stephane SMORGRAV
Take a look at the list of changes on 2.0.x and see if there are any that may be relevant to you. My personal opinion is that 2.0.47 is awfully old, and a lot of bugs have been fixed since then. If you do not have any dependencies to third-party modules, I think you should definitely upgrade to

RE: [EMAIL PROTECTED] Update on --Unable to enable mod_ssl

2008-01-09 Thread Axel-Stephane SMORGRAV
Well. Have you: 1. Added a listen directive for the SSL port ? 2. A virtual host with the appropriate SSL directives ? 3. Tried to telnet localhost 443 to make sure your server is actually listening the the https port? 4. Read the manual ? Your SSL config should be something like the