seltsamer Redirect bei WebDAV

2011-12-30 Thread Michael Renner
Moin, ich baue gerade einen WebDAV-Server auf. Der Zugriff soll mit WebDAV und (rein lesend) auch mit dem Browser möglich sein. Solange der Aufruf mit einem '/' endet funktioniert alles, also z.B. auf https://webdav.domain.tld/renner/ bringt ein Listing. Fehlt jedoch der '/' (also

Re: seltsamer Redirect bei WebDAV

2011-12-30 Thread Reindl Harald
Am 30.12.2011 16:44, schrieb Michael Renner: Moin, ich baue gerade einen WebDAV-Server auf. Der Zugriff soll mit WebDAV und (rein lesend) auch mit dem Browser möglich sein. Solange der Aufruf mit einem '/' endet funktioniert alles, also z.B. auf https://webdav.domain.tld/renner/ bringt

Re: seltsamer Redirect bei WebDAV

2011-12-30 Thread Martin Allert
Hallo zusammen, Ergänzend zu der Antwort von Harald noch ein paar Verständnis Infos: Bei einem Reverse proxy muss man das anders lesen: Der RP setzt ja Urls ins backend um, tritt also beim Backend als Client auf und schreibt daher in den Host Header den Namen/ die IP des Ziels. Bekommt er nun

[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

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 d.kratzm...@msh.de 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

[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 VirtualHost block. All the Manuals (e.g., [1], [2]) emphasize that the argument to the VirtualHost directive must exactly match the argument to the

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 VirtualHost 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

[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

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

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

2011-12-30 Thread Eric Covener
On Fri, Dec 30, 2011 at 4:38 PM, Tianyin Xu t...@cs.ucsd.edu 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

[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

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 machine. We

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

2011-12-30 Thread Christoph Anton Mitterer
Hi. Is it somehow possible to limit the _usage_ of cgi-scripts to one Directory or Location. 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 Directory, but only for

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 VirtualHost block, but either in a Location / SSLVerifyClient require /Location or (if this is enough, as all the

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 cove...@gmail.com wrote: On Fri, Dec 30, 2011 at 4:38 PM, Tianyin Xu t...@cs.ucsd.edu wrote: Hi, Eric, Thanks a lot! I see! Without NameVirtualHost, I will see the log message like [warn] XXX VirtualHost