Re: [users@httpd] mod_access_compat issue

2014-06-26 Thread Alex Bligh
On 26 Jun 2014, at 19:25, Eric Covener wrote: > On Thu, Jun 26, 2014 at 2:17 PM, Alex Bligh wrote: >> Is there something I am missing here? > > They are not exactly equivalent, they are on separate sides of the > "Satisfy" check. The default is "Satisfy all

[users@httpd] mod_access_compat issue

2014-06-26 Thread Alex Bligh
uot;Require all granted". Is there something I am missing here? -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] Dynamic mass virtual hosting with SSL, SNI and certificates read from a DB/map

2014-06-24 Thread Alex Bligh
sites do not share the same certificate but are selected by SNI? Presumably I would need the certificates to live in some form of database? I can’t see how to do that with mod_ssl. Allegedly mod_nss does this but I’d rather avoid that. -- Alex Bligh

[users@httpd] Apache 2.2.22 mpm-prefork workers hanging - timeouts

2013-06-11 Thread Alex Bligh
uestReadTimeout body=300-3600,minrate=1 or similar? We're now using: apache2-mpm-prefork 2.2.22-1ubuntu1.2 Server version: Apache/2.2.22 (Ubuntu) Server built: Nov 8 2012 21:37:30 -- Alex Bligh - To unsubscribe, e-

[users@httpd] Re: Thread safety for modules

2012-09-08 Thread Alex Bligh
Oops --On 8 September 2012 22:52:29 +0100 Alex Bligh wrote: I have a module with two threads running under MPM worker on Apache 2.2. That should have read mpm-prefork Alex Is it safe for one thread 1 to call: ap_filter_t *of = r->connection->output_filters; ap_fwr

[users@httpd] Thread safety for modules

2012-09-08 Thread Alex Bligh
gt;bucket_alloc); ap_get_brigade(r->input_filters, bb, AP_MODE_READBYTES, APR_BLOCK_READ, bufsiz) apr_brigade_flatten(bb, buffer, &bufsiz) ... IE can both threads work on different bucket brigades associated with the same rec? I think the answer to this i

[users@httpd] Segfault in ap_core_output_filter - how to debug?

2012-09-08 Thread Alex Bligh
e using the ap_ functions from more than one thread whilst running the prefork mpm? Any idea how I might debug this? Running with valgrind and -X comprehensively hides the bug. Core dump and some gdb bits below. -- Alex Bligh Core was generated by `/usr/sbin/apache2'. Program terminated wit

Re: [users@httpd] httpd on Debian

2012-09-05 Thread Alex Bligh
accessing webdav shares from the host machine, Fedora-14, via firefox) :-) Assuming your WebDAV is in /etc/apache2/sites-enabled/001-biblioteca the answer is no, it is only configured to be listening on port 80, as opposed to port 443 which is what you were testing. --

Re: [users@httpd] httpd on Debian

2012-09-04 Thread Alex Bligh
ethernet address. Try apache2ctl -S which will tell you the hosts apache think's it has configured, and have a look at your logs. (httpd -S requires other stuff to be set up on Debian) -- Alex Bligh - To unsubscribe, e

Re: [users@httpd] httpd on Debian

2012-09-04 Thread Alex Bligh
want to put everything into your sites-available/my-site-name file (create one if it isn't there) then do a2ensite my-site-name and /etc/init.d/apache2 reload You may need to a2dissite default The directives are all the same (it's just where they are that differs). --

Re: [users@httpd] Two OS's, two HTTPDs, two different handlings of Mime Type?

2012-08-22 Thread Alex Bligh
es usually have a forward slash (as I wrote), rather than a backslash (as you wrote). If that isn't just a typo in email, it may make a difference. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-19 Thread Alex Bligh
--On 19 August 2012 17:58:34 +0200 Denis BUCHER wrote: And the most surprising is that it only happens with Google bot and other search engines crawler but never with users ??? I would bet it queries a URL that users do not. -- Alex Bligh

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
and you might be able to replicate at will. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
/w, attach gdb to the running process, and ask for a backtrace. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
yscalls it's making. Might give you a hint. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Unbelievable : one single apache process uses more than whole server memory (5 gigabytes) !

2012-08-18 Thread Alex Bligh
ith a huge reply, or something else. What I'd do is wait until it happens again and strace the pid concerned and see what it's doing. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] start another daemon when apache starts on ubuntu. how to?

2012-08-13 Thread Alex Bligh
--On 13 August 2012 14:12:44 -0700 Rajeev Prasad wrote: can someone please advice how can i start another daemon when apache starts on ubuntu, and if it fails write that error to my apache error log ? http://upstart.ubuntu.com/cookbook/ -- Alex Bligh

Re: [users@httpd] Secure htaccess in a non-SSL Apache (and withoutDigest...)

2012-08-09 Thread Alex Bligh
--On 29 June 2012 15:08:44 +0100 Alex Bligh wrote: You have talked about perl and mod_perl. I understand that you can override htaccess to use a self-made bit of Perl code that process it and check the token. Is this right? You don't need to override htaccess. Here's a piece of

Re: [users@httpd] Secure htaccess in a non-SSL Apache (and withoutDigest...)

2012-06-29 Thread Alex Bligh
ash in the same way, and of course a random nonce value. So anyone can access your CGI program without any protection. However, they will have to have an appropriate token (being the hash file) to actually get the video. This has the advantage that if you want to put your video fil

Re: [users@httpd] Secure htaccess in a non-SSL Apache (and withoutDigest...)

2012-06-29 Thread Alex Bligh
is fundamentally incompatible (at an algorithm level rather than a code level) with digest authentication. You might find it easier to switch Drupal to using digest authentication too. I have no idea whether that is possible. -- Alex Bligh ---

Re: [users@httpd] Secure htaccess in a non-SSL Apache (and without Digest...)

2012-06-29 Thread Alex Bligh
is within (say) 5 seconds of the current time (which will prevent reuse and token sharing), and just stream with no further authentication. -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional co

[users@httpd] Re: Reverse proxy ap_get_scoreboard_lb(0) failed + seg fault

2012-06-27 Thread Alex Bligh
--On 27 June 2012 13:39:54 +0100 Alex Bligh wrote: This should be on: apache2-mpm-prefork 2.2.14-5ubuntu8.7 apache2-mpm-prefork 2.2.14-5ubuntu8.9 This occurs after doing a 'reload' on apache, then trying to use the a site with a reverse proxy (relevant lines of config appende

[users@httpd] Reverse proxy ap_get_scoreboard_lb(0) failed + seg fault

2012-06-27 Thread Alex Bligh
ow to detect when it has got into this state? 3. Why it might be affecting one particular customer of ours, and not the rest of the world? -- Alex Bligh [Thu Jun 21 15:29:42 2012] [notice] child pid 17313 exit signal Segmentation fault (11) [Thu Jun 21 15:29:43 2012] [notice] child p

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-31 Thread Alex Bligh
there any way, in an environment where it is not possible to create DNS entries to order, where namevirtualhosts are used, to have a default vhost which is different from a vhost whose name is the IP address? -- Alex Bligh - To

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-31 Thread Alex Bligh
--On 31 May 2012 08:34:42 +0100 Alex Bligh wrote: To recap the problem is that accessing http://192.200.0.1/ returns the default site (the first one), not the specific site (the third). Suppose I change the line marked '*** THIS LINE ***" so it reads # <--- *** THIS LINE *

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-31 Thread Alex Bligh
THIS LINE *** Will that interfere in any way with the IP based virtual host which is the fourth above? I have no other name based virtual hosts and even if I did, I wouldn't mind this being the global default. And will it fix the issue that http://192.200.0.1/ is not connecting to the third virtual

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-30 Thread Alex Bligh
rName default.example.com My problem is this is an automated install system and (broadly speaking) I have no control over DNS. Is there anything else I can do, like (e.g.) put the IP address as a hex constant or something in ? Or disable this rather annoying feature? -- Alex

Re: [users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-29 Thread Alex Bligh
case? If so, is there any way around this? (i.e. so an arbitrary DNS name pointing to the IP address will get the default vhost, but the IP address itself will get a different vhost). -- Alex Bligh - To unsubscribe, e-mail: user

[users@httpd] Should name based virtual hosts work when the ServerName is an IP address?

2012-05-24 Thread Alex Bligh
this a bug, and is there any work around? (I want the default site to be there still). -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] Turning mod_reqtimeout off on a per session basis

2012-05-24 Thread Alex Bligh
modify the parameters on the request and tell it to stop whatever it's doing? -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Restricting mod-dbd by location

2012-03-10 Thread Alex Bligh
e mpm-prefork worker. Then you want the classic-CGI-style setup. DBD will give you that with min=0, max=1, and no keepalive on the connections. Thanks. By 'no keepalive' do you mean 'DBDPersist off'? -- Alex Bligh --

Re: [users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Alex Bligh
nt 100 database connections constantly open, lasting for the life of the mpm-prefork worker. Or can it pool connections between mpm-prefork workers? -- Alex Bligh - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

[users@httpd] Restricting mod-dbd by location

2012-03-09 Thread Alex Bligh
f within a block. I cannot redirect the /idle bit to another VirtualHost, as I need to use IP based SSL with the same endpoint. Any ideas on how I could restrict DBD connections to be only acquired when connecting to the Location? --