Re: [users@httpd] Why the NameVirtualHost detective?

2011-12-30 Thread Tianyin Xu
Thank you so much, Eric!!! On Fri, Dec 30, 2011 at 1:53 PM, Eric Covener wrote: > On Fri, Dec 30, 2011 at 4:38 PM, Tianyin Xu wrote: > > Hi, Eric, > > > > Thanks a lot! > > > > I see! Without NameVirtualHost, I will see the log message like "[warn] > XXX > > VirtualHost overlap on port XX, the

Re: [users@httpd] selectively disclaim on SSL client-auth for some directories [partially SOLVED]

2011-12-30 Thread Christoph Anton Mitterer
Hey. I guess I've found a solution on my own, well at least a partial one. Here it is for those interested: Don't set the "vhost-wide" SSLVerifyClient require directly in the block, but either in a SSLVerifyClient require or (if this is enough, as all the content lies in the filesystem

[users@httpd] how to limit usage (not location) of (specific) cgi scripts to

2011-12-30 Thread Christoph Anton Mitterer
Hi. Is it somehow possible to limit the _usage_ of cgi-scripts to one or . I do not mean the _location_ of the cgi-scripts themselves (which can be limited e.g. via ScriptAlias). Here's the case: I have a vhost, where PHP shall be enabled for a single , but only for this directory. This is ea

Re: [users@httpd] high volume freeze the machine

2011-12-30 Thread Igor Galić
- Original Message - > Hi, Hi Samuel, > We got some problem of apache freezing and system going down. > > The virtual guest httpd (we don't manage the host) is a 4 cpu machine > with 32 GB RAM on debian Lenny. > > Around 3 000 or 4 000 high volume php website are on the virtual > machin

[users@httpd] CGI/suexec uid/gid per directory possible

2011-12-30 Thread Christoph Anton Mitterer
Hi. I'd like to run PHP via CGI,... and especially run it as separate user. But it seems that with suexec it's only possible to set a uid/gid für suexec per vhost. I would however like to set this per directory, as I have multiple subdirs, e.g. /davical /forum which all use CGI (or even PHP),.

Re: [users@httpd] Why the NameVirtualHost detective?

2011-12-30 Thread Eric Covener
On Fri, Dec 30, 2011 at 4:38 PM, Tianyin Xu wrote: > Hi, Eric, > > Thanks a lot! > > I see! Without NameVirtualHost, I will see the log message like "[warn] XXX > VirtualHost overlap on port XX, the first has precedence" > > So, the NameVirtualHost detective is only useful for the same ip:port cas

Re: [users@httpd] Why the NameVirtualHost detective?

2011-12-30 Thread Tianyin Xu
Hi, Eric, Thanks a lot! I see! Without NameVirtualHost, I will see the log message like "[warn] XXX VirtualHost overlap on port XX, the first has precedence" So, the NameVirtualHost detective is only useful for the same ip:port case (with different hostnames), right? In other words, if all the

[users@httpd] high volume freeze the machine

2011-12-30 Thread Samuel
Hi, We got some problem of apache freezing and system going down. The virtual guest httpd (we don't manage the host) is a 4 cpu machine with 32 GB RAM on debian Lenny. Around 3 000 or 4 000 high volume php website are on the virtual machine. We see with apache2ctl fullstatus that there is so

Re: [users@httpd] Why the NameVirtualHost detective?

2011-12-30 Thread Eric Covener
> My question is on the other side: what will happen when a is > defined without NameVirtualHost? Then you won't be able to access two different configurations using the same local ip:port with two different hostnames, which is what name-based virtualhosting adds. NameVirtualHost is removed in 2

[users@httpd] Why the NameVirtualHost detective?

2011-12-30 Thread Tianyin Xu
Hi, all, First of all, Merry Xmas & Happy New Year! I'm quite confused about the combination of the "NameVirtualHost" detective and the block. All the Manuals (e.g., [1], [2]) emphasize that "the argument to the directive must exactly match the argument to the NameVirtualHost directive." If a

Re: [users@httpd] How to set apache note in java

2011-12-30 Thread Nick Kew
On Fri, 30 Dec 2011 00:41:36 -0800 (PST) Daniela 15 wrote: > > Is it possible to set an apache note in java like the php-function > apache_note()? This function is a wrapper for Apache's table_get and > table_set to edit the notes-table, but we don't use php. We want to set an > information of a

[users@httpd] How to set apache note in java

2011-12-30 Thread Daniela 15
Is it possible to set an apache note in java like the php-function apache_note()? This function is a wrapper for Apache's table_get and table_set to edit the notes-table, but we don't use php. We want to set an information of a soap request, so that the apache http server can write it to its log f