[us...@httpd] module development, clean handling of configuration reload

2009-10-22 Thread ef-lists
Hi folks, I've got some questions regarding module development and the possible situation that apache reloads its configuration. My module holds a reslist of connected sockets which are acquired and released/invalidated on each request. These connections are persistent and keeping them alive i

Re: [us...@httpd] module development, clean handling of configuration reload

2009-10-22 Thread Nick Kew
On 22 Oct 2009, at 08:50, ef-li...@email.de wrote: Hi folks, I've got some questions regarding module development and the possible situation that apache reloads its configuration. My module holds a reslist of connected sockets which are acquired and released/invalidated on each request.

[us...@httpd] Increase Logging

2009-10-22 Thread Hickey, Tom
I am trying to troubleshoot a "500 Internal Server Error" and have attempted to increase logging by changing the level from warn to debug in httpd.conf with LogLevel debug This has not seemed to add much to my error log, all I seem to get is the startup information and when the client sends th

Re: [us...@httpd] Increase Logging

2009-10-22 Thread Nick Kew
Hickey, Tom wrote: "Premature end of script headers" is a good phrase to google. Maybe a tool such as the cg-eye's offline script could tell you something about what's wrong with your script. -- Nick Kew - The official Use

RE: [us...@httpd] Increase Logging

2009-10-22 Thread Hickey, Tom
Thanks Nick, I did Google the error and it pointed me to possible errors in my scripts but I verified there wasn't a problem there. Tom -Original Message- From: nicholas@sun.com [mailto:nicholas@sun.com] On Behalf Of Nick Kew Sent: Thursday, October 22, 2009 8:14 AM To: users@h

Re: [us...@httpd] module development, clean handling o f configuration reload

2009-10-22 Thread ef-lists
> > My module holds a reslist of connected sockets which are acquired > > and released/invalidated on each request. These connections are > > persistent and keeping them alive is a must (so there's no > > workaround for the reslist). The connections are themselves > > stateless - they're ju

[us...@httpd] able to start one virtual host but not all of them!!!

2009-10-22 Thread khalid touati
Hi Guys, i am able to start one virtual host but not all of them, and these are the module when i type: /usr/sbin/apache2 -l Compiled in modules: core.c worker.c http_core.c mod_so.c i'm realyy stuck, any idea!! -- Abdullah

Re: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-22 Thread Eric Covener
On Thu, Oct 22, 2009 at 9:16 AM, khalid touati wrote: > Hi Guys, > i am able to start one virtual host but not all of them, and these are the > module when i type: > /usr/sbin/apache2 -l > Compiled in modules: >   core.c >   worker.c >   http_core.c >   mod_so.c > i'm realyy stuck, any idea!! How

Re: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-22 Thread Rich Bowen
On Oct 22, 2009, at 09:16 , khalid touati wrote: Hi Guys, i am able to start one virtual host but not all of them, and these are the module when i type: /usr/sbin/apache2 -l Compiled in modules: core.c worker.c http_core.c mod_so.c i'm realyy stuck, any idea!! The usual reason fo

Re: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-22 Thread Mark Watts
On Thu, 2009-10-22 at 09:16 -0400, khalid touati wrote: > Hi Guys, > i am able to start one virtual host but not all of them, and these are > the module when i type: > /usr/sbin/apache2 -l > Compiled in modules: > core.c > worker.c > http_core.c > mod_so.c > i'm realyy stuck, any idea!! A

Re: [us...@httpd] AllowOverride

2009-10-22 Thread Rich Bowen
On Oct 21, 2009, at 22:42 , Rajwinder-office Singh wrote: Hi, Currently if i "do not" allow a directive in "AllowOverride" then apache throws "500 internal server error". Which i am not comfortable with as, If you a r telling apache to owner only certain directives in htaccess then putt

[us...@httpd] pcre

2009-10-22 Thread Alex Huth
Hi! I try to use mod_security on a 2.0.61. The configure scripts stops at the point when it comes to check pcre. I thought pcre is built in since version 2.x? Do i have to do something else to enable this? Thx Alex - The offici

[us...@httpd] Help on KeepAlive

2009-10-22 Thread Arnab Ganguly
Hi All, One help is regarding KeepAlive directive. I am using Apache as a pipe.It gets client request and just forwards the same request to another module. We use Apache 2.2 Worker Model in Linux.These client request traffic is high and data is dynamic (content length is dynamic). We have made K

[us...@httpd] Server Side Includes for certain files

2009-10-22 Thread Teren Teh
Hi there, I'm wondering if there's anyway possible to selective choose which files to be processed for SSI? At the moment, all .shtml files are being processed. However, not all of these are required to be processed and for efficiency, I'd like to not process them. An option would be to renam

Re: [us...@httpd] able to start one virtual host but not all of them!!!

2009-10-22 Thread khalid touati
thanks for all of you guys, actually i was doing a big mistake (as i am not too familiar with apche on linux) i was starting the service using this /usr/sbin/apache2 -k start, but when using /etc/init.d/apache2 start, all my problem are gone, i still wondering though wht's the difference but i am a

Re: [us...@httpd] location of vhost logs (was: how to avoid duplicating the document root in vhost conf files?)

2009-10-22 Thread Brolin Empey
2009/10/6 Brolin Empey > > 2009/10/6 Jonathan Zuckerman : > >  Or (my preferred solution) put them outside the > > document root; why bother putting them in the doc root and then making > > a directory override to disallow outside access to them when the > > simpler solution would be to just put t

Re: [us...@httpd] Server Side Includes for certain files

2009-10-22 Thread Nick Kew
On 22 Oct 2009, at 19:21, Teren Teh wrote: Hi there, I'm wondering if there's anyway possible to selective choose which files to be processed for SSI? Check the documentation on scoping your directives. A or would be typical ways to do it. -- Nick Kew --