Ruediger Pluem [Thu, 10 Dec 2009 20:18:05 +0000 (20:18 +0000)]
* Ensure that the new table values are allocated from the pool of the main
request as they might be added to the header tables of the main request.
Otherwise these values might become invalid once the subrequest and its
pool gets destroyed.
Rich Bowen [Tue, 8 Dec 2009 23:17:49 +0000 (23:17 +0000)]
We're going to need a separate document which discusses the question of
using mod_rewrite in .htaccess files - both the fact that it's not
required (as the current myth seems to hold) and the fact that things
are subtly more complicated in per-dir context.
Ruediger Pluem [Wed, 2 Dec 2009 22:13:54 +0000 (22:13 +0000)]
* server/scoreboard.c::ap_create_scoreboard
Reset the pointer to ap_logio_get_last_bytes each time we create or reinit an
existing scoreboard to avoid using an invalid pointer in case mod_logio got
reloaded to a different address.
Jeff Trawick [Wed, 2 Dec 2009 17:36:46 +0000 (17:36 +0000)]
fix this:
util_mutex.c: In function ‘ap_set_mutex’:
util_mutex.c:188: warning: comparison between pointer and integer
util_mutex.c:174: warning: unused variable ‘type’
Jeff Trawick [Wed, 2 Dec 2009 17:34:33 +0000 (17:34 +0000)]
fix this:
mod_auth_digest.c: In function ‘set_shmem_size’:
mod_auth_digest.c:681: warning: format ‘%ld’ expects type ‘long int’, but argument 7 has type ‘apr_size_t’
Graham Leggett [Mon, 30 Nov 2009 22:53:43 +0000 (22:53 +0000)]
Rpm package: pass the HTTPD_LANG variable to the httpd process in line
with Fedora. Remove the use of the apachectl script, as a script calling
another script makes no sense. Test for the pidfile specifically, so
that Redhat's scripts don't fall back to using pidof and returning the
status of other httpd processes running on the same box.
Rich Bowen [Fri, 27 Nov 2009 19:09:14 +0000 (19:09 +0000)]
Moves the rewrite portion of the mass vhosts doc into the rewrite doc
tree. We don't actually want to encourage people to use mod_rewrite for
this anyways.
Rich Bowen [Fri, 27 Nov 2009 18:27:26 +0000 (18:27 +0000)]
Replaces the two-step process with a single rule using the RewriteCond
backreference. This technique is far simpler, and far easier to explain
to beginners than the unnecessarily complicated technique used.
Rich Bowen [Fri, 27 Nov 2009 17:35:47 +0000 (17:35 +0000)]
Clarifying some of the phrasing, and removing some of the chattiness
from the example itself. Will eventually remove duplication between this
doc and the rewrite/vhosts.xml doc.
Jeff Trawick [Tue, 24 Nov 2009 21:22:15 +0000 (21:22 +0000)]
remove SSLMutex documentation
update the session cache description to indicate that the ssl cache mutex is used
to serialize access, and that the mutex can be configured using the Mutex directive
Jeff Trawick [Tue, 24 Nov 2009 21:08:37 +0000 (21:08 +0000)]
move a couple of special warnings for SysV sems and Posix sems out of the
performance tuning guide and into the common Mutex documentation; remove the
other (duplicate) information from that guide and instead point to the Mutex
directive
mpm_common: axe docs for old accept mutex directives
worker and prefork: axe links to old accept mutex directives, mention the use
of the accept mutex and how it can be configured
event: axe links to old mutex directives where were already N/A
mod_rewrite: axe old RewriteLock directive, mention use of the rewrite map
mutex for RewriteMap programs and how it can be configured
fix other miscellaneous LockFile or AcceptMutex references
Jeff Trawick [Tue, 24 Nov 2009 14:54:03 +0000 (14:54 +0000)]
document the new Mutex directive, pulling in any existing special considerations described in the
documentation of the old LockFile, AcceptMutex, RewriteLock, and SSLMutex directives
Jeff Trawick [Mon, 23 Nov 2009 23:17:51 +0000 (23:17 +0000)]
Replace AcceptMutex, LockFile, RewriteLock, SSLMutex, SSLStaplingMutex,
and WatchdogMutexPath with a single Mutex directive. Add APIs to
simplify setup and user customization of APR proc and global mutexes.
(See util_mutex.h.) Build-time setting DEFAULT_LOCKFILE is no longer
respected; set DEFAULT_REL_RUNTIMEDIR instead.
Some existing modules, such as mod_ldap and mod_auth_digest gain
configurability for their mutexes.
Eric Covener [Sun, 22 Nov 2009 01:38:59 +0000 (01:38 +0000)]
continue clarification of RewriteBase, lots of users who install little
PHP apps with an Alias a) leave off RewriteBase then b) add the filesystem
path instead of the URL-path then c) spend hours trying to debug
the RewriteRules themselves.
Eric Covener [Wed, 18 Nov 2009 15:49:48 +0000 (15:49 +0000)]
Add AuthLDAPBindAuthoritative to allow other authentication providers a chance
to run when mod_authnz_ldap finds a user but can't verify their password.
Submitted By: Justin Erenkrantz, Joe Schaefer, Tony Stevenson
Joe Orton [Tue, 17 Nov 2009 09:54:56 +0000 (09:54 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_callback_Info): Cast away the
constness of SSL * before calling SSL_get_state, to fix warning with
older OpenSSLs.
Rich Bowen [Tue, 17 Nov 2009 02:44:19 +0000 (02:44 +0000)]
Moves the last of the rules from the monolithic rewrite_guide into
topic-specific sub-pages. Still a lot of cleanup and improvement can be
done, but this is a good first step.
Jeff Trawick [Sat, 14 Nov 2009 13:01:43 +0000 (13:01 +0000)]
Improve hack to "determine" if APR supports thread-safe pollsets by hiding the
presence of kqueue() on Leopard, matching APR's configuration.
Event and Simple no longer report that they are supported on Leopard, resolving
a broken default config file with --enable-mpms-shared=all on that platform.
(Event was loaded by default in httpd.conf, and it failed at startup when it
failed to obtain a thread-safe pollset.)
Rich Bowen [Fri, 13 Nov 2009 12:40:58 +0000 (12:40 +0000)]
Removes another bogus example. Use <Proxy> blocks instead, and standard
access control methods. Also, the note about loading mod_rewrite before
mod_proxy isn't actually relevant any more.
Rich Bowen [Fri, 13 Nov 2009 12:38:55 +0000 (12:38 +0000)]
This is a really cool example, and I don't want to lose it. However, I'm
reasonably sure that there's easier ways to do this, and I'm not yet
sure that the example given actually works. Need to revisit this soon.
Rich Bowen [Fri, 13 Nov 2009 12:36:04 +0000 (12:36 +0000)]
Removes an inscrutable recipe - I don't know what problem it's trying to
solve, and the solution appears to be a completely useless use of
RewriteMap to solve a trivial problem that could be better done with
Alias. Am I missing something?
Rich Bowen [Thu, 12 Nov 2009 12:30:05 +0000 (12:30 +0000)]
Removes a lengthy and unnecessary discussion of the various methods of
load balancing. Removes a RewriteMap prg load balancing script, and
replaces it with a RewriteMap rnd example of the same, as well as an
admonition to use mod_proxy_balancer instead.