]> granicus.if.org Git - apache/log
apache
11 years agoUpdates.
Lucien Gentis [Thu, 3 Jan 2013 18:43:33 +0000 (18:43 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1428540 13f79535-47bb-0310-9956-ffa450edef68

11 years ago* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Remove
Joe Orton [Thu, 3 Jan 2013 11:09:50 +0000 (11:09 +0000)]
* modules/proxy/mod_proxy_ftp.c (proxy_ftp_handler): Remove
  unnecessary APLOGNO() for trace logging per dev@ discussion.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1428280 13f79535-47bb-0310-9956-ffa450edef68

11 years agoImprove pkg-config usage for mod_ssl/ab:
Kaspar Brand [Thu, 3 Jan 2013 07:23:27 +0000 (07:23 +0000)]
Improve pkg-config usage for mod_ssl/ab:

also use pkg-config for determining the -l flags (and fall back
to a hardcoded default of "-lssl -lcrypto")

add --static to pkg-config invocations, so that libraries for
static linking are also taken into account (PR 54252 - note that
the additional flags will only appear in modules/ssl/modules.mk
and ab_LDFLAGS, so potential side effects are limited)

separate --libs-only-L and --libs-only-other into two invocations
(can't be used concurrently, only the first takes effect)

use --silence-errors where applicable

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1428184 13f79535-47bb-0310-9956-ffa450edef68

11 years agoStupid CodeWarrior compiler cant take vars with struct inits.
Guenter Knauf [Thu, 3 Jan 2013 02:25:23 +0000 (02:25 +0000)]
Stupid CodeWarrior compiler cant take vars with struct inits.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1428145 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd some caching for password hash validation.
Stefan Fritsch [Tue, 1 Jan 2013 20:16:30 +0000 (20:16 +0000)]
Add some caching for password hash validation.

Password hash functions must be expensive in order to be secure. But
if they have to be re-evaluated for every request, performance
suffers.

As a minimal remedy, cache the most recent result for every
connection. This gives a great performance boost if a web browser
does many requests on the same connection with the same
user+password.  In principle, this may keep the plain text password
around longer than before. But in practice, there won't be much
difference since user+password can already remain in some unused
data bucket for longer than the request duration.

A proper solution still needs to be found for connections from
proxies which may carry requests for many different users.

While it currently only requires the conn_rec, the new
ap_password_validate() function takes username and request_rec to
allow future extensions, like detection of brute-force attempts.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427548 13f79535-47bb-0310-9956-ffa450edef68

11 years agoremove unneeded include statements
Stefan Fritsch [Tue, 1 Jan 2013 19:50:56 +0000 (19:50 +0000)]
remove unneeded include statements

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427546 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRemove support for Request-Range header sent by Navigator 2-3 and
Stefan Fritsch [Tue, 1 Jan 2013 17:00:23 +0000 (17:00 +0000)]
Remove support for Request-Range header sent by Navigator 2-3 and
MSIE 3

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427465 13f79535-47bb-0310-9956-ffa450edef68

11 years agoabort if BIO_new fails due to lack of memory
Stefan Fritsch [Tue, 1 Jan 2013 16:23:28 +0000 (16:23 +0000)]
abort if BIO_new fails due to lack of memory

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427456 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdding security related information
Vincent Deffontaines [Tue, 1 Jan 2013 11:57:08 +0000 (11:57 +0000)]
Adding security related information

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427395 13f79535-47bb-0310-9956-ffa450edef68

11 years agosay what I meant to say
Gregg Lewis Smith [Mon, 31 Dec 2012 17:47:46 +0000 (17:47 +0000)]
say what I meant to say

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1427201 13f79535-47bb-0310-9956-ffa450edef68

11 years agochange protocol number parsing in strict mode according to HTTPbis draft
Stefan Fritsch [Sun, 30 Dec 2012 21:24:55 +0000 (21:24 +0000)]
change protocol number parsing in strict mode according to HTTPbis draft

- only accept single digit version components
- don't accept white-space after protocol specification

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426992 13f79535-47bb-0310-9956-ffa450edef68

11 years agoremove comment; empty host headers can happen in proxy requests
Stefan Fritsch [Sun, 30 Dec 2012 20:58:39 +0000 (20:58 +0000)]
remove comment; empty host headers can happen in proxy requests

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426988 13f79535-47bb-0310-9956-ffa450edef68

11 years agoWiden strip pattern to also match MOD_XML2ENC_LDADD.
Rainer Jung [Sun, 30 Dec 2012 19:00:44 +0000 (19:00 +0000)]
Widen strip pattern to also match MOD_XML2ENC_LDADD.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426975 13f79535-47bb-0310-9956-ffa450edef68

11 years agoWhat happened to serf in the IDE builds? For consistency sake
Gregg Lewis Smith [Sun, 30 Dec 2012 17:59:22 +0000 (17:59 +0000)]
What happened to serf in the IDE builds? For consistency sake
with the other optional dependencies, get serf in there too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426969 13f79535-47bb-0310-9956-ffa450edef68

11 years agoadd log tags missing in r1426877
Stefan Fritsch [Sun, 30 Dec 2012 01:28:17 +0000 (01:28 +0000)]
add log tags missing in r1426877

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426879 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd an option to enforce stricter HTTP conformance
Stefan Fritsch [Sun, 30 Dec 2012 01:23:24 +0000 (01:23 +0000)]
Add an option to enforce stricter HTTP conformance

This is a first stab, the checks will likely have to be revised.
For now, we check

 * if the request line contains control characters
 * if the request uri has fragment or username/password
 * that the request method is standard or registered with RegisterHttpMethod
 * that the request protocol is of the form HTTP/[1-9]+.[0-9]+,
   or missing for 0.9
 * if there is garbage in the request line after the protocol
 * if any request header contains control characters
 * if any request header has an empty name
 * for the host name in the URL or Host header:
   - if an IPv4 dotted decimal address: Reject octal or hex values, require
     exactly four parts
   - if a DNS host name: Reject non-alphanumeric characters besides '.' and
     '-'. As a side effect, this rejects multiple Host headers.
 * if any response header contains control characters
 * if any response header has an empty name
 * that the Location response header (if present) has a valid scheme and is
   absolute

If we have a host name both from the URL and the Host header, we replace the
Host header with the value from the URL to enforce RFC conformance.

There is a log-only mode, but the loglevels of the logged messages need some
thought/work. Currently, the  checks for incoming data log for 'core' and the
checks for outgoing data log for 'http'. Maybe we need a way to configure the
loglevels separately from the core/http loglevels.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426877 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFix warning about discarding 'const' qualifier from pointer
Stefan Fritsch [Sat, 29 Dec 2012 22:22:13 +0000 (22:22 +0000)]
Fix warning about discarding 'const' qualifier from pointer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426850 13f79535-47bb-0310-9956-ffa450edef68

11 years agoCorrectly parse an IPv6 literal host specification in an absolute URL
Stefan Fritsch [Sat, 29 Dec 2012 20:39:49 +0000 (20:39 +0000)]
Correctly parse an IPv6 literal host specification in an absolute URL
in the request line.

- Fix handling of brackets [ ] surrounding the IPv6 address.
- Skip parsing r->hostname again if not necessary.
- Do some checks that the IPv6 address is sane. This is not done by
  apr_parse_addr_port().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426827 13f79535-47bb-0310-9956-ffa450edef68

11 years agoextend description of r->hostname
Stefan Fritsch [Sat, 29 Dec 2012 18:37:17 +0000 (18:37 +0000)]
extend description of r->hostname

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426802 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRebuild various transformations.
Rich Bowen [Fri, 28 Dec 2012 18:10:38 +0000 (18:10 +0000)]
Rebuild various transformations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426602 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd links to programs docs.
Rich Bowen [Fri, 28 Dec 2012 18:07:57 +0000 (18:07 +0000)]
Add links to programs docs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426599 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd links to the relevant docs.
Rich Bowen [Fri, 28 Dec 2012 18:03:47 +0000 (18:03 +0000)]
Add links to the relevant docs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1426597 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd notes about compiling from Unix sources
Gregg Lewis Smith [Wed, 26 Dec 2012 17:32:31 +0000 (17:32 +0000)]
Add notes about compiling from Unix sources

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425975 13f79535-47bb-0310-9956-ffa450edef68

11 years agotransformations
Kaspar Brand [Wed, 26 Dec 2012 10:59:31 +0000 (10:59 +0000)]
transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425876 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_ssl: add support for subjectAltName-based host name checking in proxy mode
Kaspar Brand [Wed, 26 Dec 2012 10:54:54 +0000 (10:54 +0000)]
mod_ssl: add support for subjectAltName-based host name checking in proxy mode
(PR 54030)

factor out code from ssl_engine_init.c:ssl_check_public_cert()
to ssl_util_ssl.c:SSL_X509_match_name()

introduce new SSLProxyCheckPeerName directive, which should eventually
obsolete SSLProxyCheckPeerCN

ssl_engine_io.c:ssl_io_filter_handshake(): avoid code duplication
when aborting with HTTP_BAD_GATEWAY

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425874 13f79535-47bb-0310-9956-ffa450edef68

11 years agoCheck that AsyncRequestWorkerFactor is not negative
Stefan Fritsch [Tue, 25 Dec 2012 21:50:06 +0000 (21:50 +0000)]
Check that AsyncRequestWorkerFactor is not negative

PR :54254
Submitted by: Jackie Zhang <jackie qq zhang gmail com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425777 13f79535-47bb-0310-9956-ffa450edef68

11 years agohtdbm, htpasswd: print error message if out of memory
Stefan Fritsch [Tue, 25 Dec 2012 21:16:17 +0000 (21:16 +0000)]
htdbm, htpasswd: print error message if out of memory

PR: 54345

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425775 13f79535-47bb-0310-9956-ffa450edef68

11 years agoExit with error message if out of mem
Stefan Fritsch [Tue, 25 Dec 2012 20:54:47 +0000 (20:54 +0000)]
Exit with error message if out of mem

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425772 13f79535-47bb-0310-9956-ffa450edef68

11 years agoReplace strdup by ap_malloc to ensure a proper error message if out-of-memory.
Stefan Fritsch [Tue, 25 Dec 2012 20:43:15 +0000 (20:43 +0000)]
Replace strdup by ap_malloc to ensure a proper error message if out-of-memory.
While there, only allocate memory for the string part we actually use.

PR: 54345

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425771 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFix example code
Daniel Gruno [Mon, 24 Dec 2012 11:05:07 +0000 (11:05 +0000)]
Fix example code

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425630 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUpdate.
Lucien Gentis [Sun, 23 Dec 2012 17:31:58 +0000 (17:31 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425492 13f79535-47bb-0310-9956-ffa450edef68

11 years agoStyle tweaks, remove add_version_component and fix up some sloppy code. Many thanks...
Daniel Gruno [Sun, 23 Dec 2012 10:28:16 +0000 (10:28 +0000)]
Style tweaks, remove add_version_component and fix up some sloppy code. Many thanks to sfritsch for the pointers!
And a merry christmas everyone :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425450 13f79535-47bb-0310-9956-ffa450edef68

11 years agoGNU make somtimes has problems determining that $(builddir)/test_char.h
Stefan Fritsch [Sun, 23 Dec 2012 09:10:20 +0000 (09:10 +0000)]
GNU make somtimes has problems determining that $(builddir)/test_char.h
and test_char.h are actually the same files. Fix 'make depends' to only
generate the latter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425447 13f79535-47bb-0310-9956-ffa450edef68

11 years agoadd some nonnull fn attributes
Stefan Fritsch [Sun, 23 Dec 2012 08:55:45 +0000 (08:55 +0000)]
add some nonnull fn attributes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425444 13f79535-47bb-0310-9956-ffa450edef68

11 years agoChange HttpProtocol to again only allow to enable/disable 0.9
Stefan Fritsch [Sat, 22 Dec 2012 22:55:38 +0000 (22:55 +0000)]
Change HttpProtocol to again only allow to enable/disable 0.9

This reverts r1407643, but changes the syntax of HttpProtocol to
min=0.9|1.0, which is less ambiguous than the previous +0.9|-0.9.

Allowing to configure an arbitrary version range was a bad idea,
because it only checked the version in the request line, without
affecting the semantics of the headers, etc.

A tighter restriction off the version in the request line is still
possible with <If "%{SERVER_PROTOCOL_NUM} ..."> .

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425366 13f79535-47bb-0310-9956-ffa450edef68

11 years agostyle fixes, add comment
Stefan Fritsch [Sat, 22 Dec 2012 22:29:06 +0000 (22:29 +0000)]
style fixes, add comment

no code change

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425360 13f79535-47bb-0310-9956-ffa450edef68

11 years agocaution about merging Location settings on top of directory/files authz config
Eric Covener [Sat, 22 Dec 2012 21:16:09 +0000 (21:16 +0000)]
caution about merging Location settings on top of directory/files authz config

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425345 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRemoved now obsolete function skip from NetWare
Guenter Knauf [Sat, 22 Dec 2012 19:57:40 +0000 (19:57 +0000)]
Removed now obsolete function skip from NetWare
export list generating script.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425338 13f79535-47bb-0310-9956-ffa450edef68

11 years agoStyle tweaks, no functional change.
Daniel Gruno [Sat, 22 Dec 2012 05:25:50 +0000 (05:25 +0000)]
Style tweaks, no functional change.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425243 13f79535-47bb-0310-9956-ffa450edef68

11 years agoxform
Eric Covener [Fri, 21 Dec 2012 16:54:21 +0000 (16:54 +0000)]
xform

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425030 13f79535-47bb-0310-9956-ffa450edef68

11 years agohint about API and module usage.
Eric Covener [Fri, 21 Dec 2012 16:53:46 +0000 (16:53 +0000)]
hint about API and module usage.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425029 13f79535-47bb-0310-9956-ffa450edef68

11 years ago- return NULL if apr_reslist_acquire fails, so we don't end up possibly referencing...
Daniel Gruno [Fri, 21 Dec 2012 14:53:55 +0000 (14:53 +0000)]
- return NULL if apr_reslist_acquire fails, so we don't end up possibly referencing a null-object
- initialize cache_info as NULL

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1424939 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRemove reference to top secret project! You did not see this commit message ;)
Daniel Gruno [Fri, 21 Dec 2012 14:49:06 +0000 (14:49 +0000)]
Remove reference to top secret project! You did not see this commit message ;)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1424938 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Fix multipart post parsing, so it doesn't include random bytes at the end.
Daniel Gruno [Thu, 20 Dec 2012 21:52:03 +0000 (21:52 +0000)]
mod_lua: Fix multipart post parsing, so it doesn't include random bytes at the end.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1424723 13f79535-47bb-0310-9956-ffa450edef68

11 years agoOn NetWare skip these unsupported function prototypes.
Guenter Knauf [Wed, 19 Dec 2012 16:44:18 +0000 (16:44 +0000)]
On NetWare skip these unsupported function prototypes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423933 13f79535-47bb-0310-9956-ffa450edef68

11 years ago* modules/proxy/mod_proxy_ftp.c: Fill in APLOGNO.
Joe Orton [Tue, 18 Dec 2012 09:01:02 +0000 (09:01 +0000)]
* modules/proxy/mod_proxy_ftp.c: Fill in APLOGNO.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423353 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdded a warning that these scripts leak information.
Guenter Knauf [Mon, 17 Dec 2012 21:44:32 +0000 (21:44 +0000)]
Added a warning that these scripts leak information.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423166 13f79535-47bb-0310-9956-ffa450edef68

11 years agoxforms
Daniel Gruno [Mon, 17 Dec 2012 18:26:48 +0000 (18:26 +0000)]
xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423083 13f79535-47bb-0310-9956-ffa450edef68

11 years agoSome minor tweaks to the wording of the windows page.
Daniel Gruno [Mon, 17 Dec 2012 18:24:11 +0000 (18:24 +0000)]
Some minor tweaks to the wording of the windows page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423080 13f79535-47bb-0310-9956-ffa450edef68

11 years agoxforms
Daniel Gruno [Mon, 17 Dec 2012 17:29:18 +0000 (17:29 +0000)]
xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423035 13f79535-47bb-0310-9956-ffa450edef68

11 years agoThe ASF does not provide official binary packages for 2.4/2.5, so let's not pretend...
Daniel Gruno [Mon, 17 Dec 2012 17:28:52 +0000 (17:28 +0000)]
The ASF does not provide official binary packages for 2.4/2.5, so let's not pretend we do.
We can always revert this if/when someone steps up and provides convenience packages again.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423033 13f79535-47bb-0310-9956-ffa450edef68

11 years agoupdate xforms
Jim Jagielski [Mon, 17 Dec 2012 17:04:11 +0000 (17:04 +0000)]
update xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1423020 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRedfine - we are just worried about balancers and workers, so have the directive...
Jim Jagielski [Mon, 17 Dec 2012 15:24:40 +0000 (15:24 +0000)]
Redfine - we are just worried about balancers and workers, so have the directive clear about that.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422980 13f79535-47bb-0310-9956-ffa450edef68

11 years agorestrict inherit control to those fields that "require" it...
Jim Jagielski [Mon, 17 Dec 2012 14:25:46 +0000 (14:25 +0000)]
restrict inherit control to those fields that "require" it...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422943 13f79535-47bb-0310-9956-ffa450edef68

11 years agoab: add the possibility to define a socket timeout (-s timeout)
Christophe Jaillet [Mon, 17 Dec 2012 14:10:50 +0000 (14:10 +0000)]
ab: add the possibility to define a socket timeout (-s timeout)
[Guido Serra <zeph fsfe org>]

Also some changes In usage():
- reword -t option to be more clear with the new -s
- add missing -q
- add the new -s option
- reword some options to better match online documentation

ab.xml claimed that -s was already there, but nothing in the code looks like that.
So, I guess it only landed on the online doc...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422937 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFollow-up to r1422855 for NetWare and Windows.
Guenter Knauf [Mon, 17 Dec 2012 11:50:30 +0000 (11:50 +0000)]
Follow-up to r1422855 for NetWare and Windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422879 13f79535-47bb-0310-9956-ffa450edef68

11 years agobackported
Jim Jagielski [Mon, 17 Dec 2012 11:50:03 +0000 (11:50 +0000)]
backported

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422878 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdded missing exports for NetWare.
Guenter Knauf [Mon, 17 Dec 2012 11:48:28 +0000 (11:48 +0000)]
Added missing exports for NetWare.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422874 13f79535-47bb-0310-9956-ffa450edef68

11 years agobackported
Jim Jagielski [Mon, 17 Dec 2012 11:47:20 +0000 (11:47 +0000)]
backported

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422872 13f79535-47bb-0310-9956-ffa450edef68

11 years agoInstall cache_common.h as required by mod_cache.h. Allows external modules
Graham Leggett [Mon, 17 Dec 2012 11:26:20 +0000 (11:26 +0000)]
Install cache_common.h as required by mod_cache.h. Allows external modules
to use mod_cache.
Submitted by Niklas Edmundsson.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422855 13f79535-47bb-0310-9956-ffa450edef68

11 years agoremove unnecessary cast
Stefan Fritsch [Sun, 16 Dec 2012 23:16:55 +0000 (23:16 +0000)]
remove unnecessary cast

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422712 13f79535-47bb-0310-9956-ffa450edef68

11 years agoXforms.
Rainer Jung [Sun, 16 Dec 2012 15:14:01 +0000 (15:14 +0000)]
Xforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422597 13f79535-47bb-0310-9956-ffa450edef68

11 years agoBackported.
Rainer Jung [Sun, 16 Dec 2012 15:12:57 +0000 (15:12 +0000)]
Backported.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422595 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd a version compatibility section to the
Rainer Jung [Sun, 16 Dec 2012 15:10:45 +0000 (15:10 +0000)]
Add a version compatibility section to the
expression parser docs page.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422594 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUpdates.
Lucien Gentis [Sun, 16 Dec 2012 15:01:44 +0000 (15:01 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422589 13f79535-47bb-0310-9956-ffa450edef68

11 years agouse ap_bin2hex() to simplify md5/sha1 code
Stefan Fritsch [Sun, 16 Dec 2012 11:51:56 +0000 (11:51 +0000)]
use ap_bin2hex() to simplify md5/sha1 code

also fixes some 'array subscript is above array bounds' warnings

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422552 13f79535-47bb-0310-9956-ffa450edef68

11 years agoadd new ap_bin2hex() utility function
Stefan Fritsch [Sun, 16 Dec 2012 11:49:14 +0000 (11:49 +0000)]
add new ap_bin2hex() utility function

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422549 13f79535-47bb-0310-9956-ffa450edef68

11 years agoremove unused variable
Stefan Fritsch [Sun, 16 Dec 2012 11:48:19 +0000 (11:48 +0000)]
remove unused variable

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422548 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Fix unitialized variable in lua_ap_send_interim_response.
Daniel Gruno [Sun, 16 Dec 2012 11:30:54 +0000 (11:30 +0000)]
mod_lua: Fix unitialized variable in lua_ap_send_interim_response.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422531 13f79535-47bb-0310-9956-ffa450edef68

11 years agoxforms
Eric Covener [Sat, 15 Dec 2012 22:11:32 +0000 (22:11 +0000)]
xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422378 13f79535-47bb-0310-9956-ffa450edef68

11 years agoPR54308: aliasmatch ^/foo matches requests for ////foo
Eric Covener [Sat, 15 Dec 2012 22:09:02 +0000 (22:09 +0000)]
PR54308: aliasmatch ^/foo matches requests for ////foo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422375 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: If a regex fails, return false plus an error message as second return value...
Daniel Gruno [Sat, 15 Dec 2012 22:03:47 +0000 (22:03 +0000)]
mod_lua: If a regex fails, return false plus an error message as second return value. Also fix some functions who weren't always returning a value.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422373 13f79535-47bb-0310-9956-ffa450edef68

11 years agonot unique to leading slashes.
Eric Covener [Sat, 15 Dec 2012 21:33:17 +0000 (21:33 +0000)]
not unique to leading slashes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422362 13f79535-47bb-0310-9956-ffa450edef68

11 years agoPR54307, Alias and leading slashes
Eric Covener [Sat, 15 Dec 2012 19:37:22 +0000 (19:37 +0000)]
PR54307, Alias and leading slashes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422324 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUpdates.
Lucien Gentis [Sat, 15 Dec 2012 17:34:10 +0000 (17:34 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422296 13f79535-47bb-0310-9956-ffa450edef68

11 years agofix r1416889 a different way -- the referer should be const too.
Eric Covener [Sat, 15 Dec 2012 14:27:52 +0000 (14:27 +0000)]
fix r1416889 a different way -- the referer should be const too.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422253 13f79535-47bb-0310-9956-ffa450edef68

11 years agoconst fixes for mod_imagemap, fatal on old xlc due to returning apr_table_get result
Eric Covener [Sat, 15 Dec 2012 12:34:56 +0000 (12:34 +0000)]
const fixes for mod_imagemap, fatal on old xlc due to returning apr_table_get result
from non const function.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422234 13f79535-47bb-0310-9956-ffa450edef68

11 years agohttxt2dbm: Correct length computation for the 'value' stored in the DBM file PR...
Christophe Jaillet [Fri, 14 Dec 2012 22:40:38 +0000 (22:40 +0000)]
httxt2dbm: Correct length computation for the 'value' stored in the DBM file  PR 47650

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422135 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Fix Windows compatibility issues and remove an unused variable. Thanks,...
Daniel Gruno [Fri, 14 Dec 2012 20:44:41 +0000 (20:44 +0000)]
mod_lua: Fix Windows compatibility issues and remove an unused variable. Thanks, Gregg!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422072 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAllow for searching w/i shm slots for a specific worker and balancer
Jim Jagielski [Fri, 14 Dec 2012 16:14:06 +0000 (16:14 +0000)]
Allow for searching w/i shm slots for a specific worker and balancer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421953 13f79535-47bb-0310-9956-ffa450edef68

11 years agoBackported in r1420827.
Rainer Jung [Fri, 14 Dec 2012 15:53:16 +0000 (15:53 +0000)]
Backported in r1420827.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421948 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUse inherit_set to let the global server set
Rainer Jung [Fri, 14 Dec 2012 15:02:30 +0000 (15:02 +0000)]
Use inherit_set to let the global server set
the default for all vhosts.

Otherwise inherit would need to be disabled
redundantly in each vhost.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421912 13f79535-47bb-0310-9956-ffa450edef68

11 years agoxforms.
Rainer Jung [Fri, 14 Dec 2012 14:34:50 +0000 (14:34 +0000)]
xforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421895 13f79535-47bb-0310-9956-ffa450edef68

11 years agobe consistent
Jim Jagielski [Fri, 14 Dec 2012 14:20:26 +0000 (14:20 +0000)]
be consistent

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421882 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAnticipate ordering for 2.4 backport
Jim Jagielski [Fri, 14 Dec 2012 13:30:45 +0000 (13:30 +0000)]
Anticipate ordering for 2.4 backport

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421852 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFix use of trailing slashes in proxy
Rainer Jung [Fri, 14 Dec 2012 13:29:31 +0000 (13:29 +0000)]
Fix use of trailing slashes in proxy
balancer and member URLs and add a little
explanation.

Current behavior AFAIK:

- Any path of a balancer URL inside <Proxy>
  is ignored. So lets not use e.g.trailing slashes
  there. The URL should for consistency always
  look like balancer://mycluster.
- The general comment about trailing slashes on the
  left and right of ProxyPass is also right for
  balancer use.
- Trailing slahes in BalancerMember in most cases
  lead to double slashes on the origin server.
  So lets drop them there and instead get the
  ProxyPass to the balancer right.
- Path components in member URLs are only
  needed, if different path prefixes are needed
  for members in the same balancer (unlikely
  but possible). If all members work with the
  same non-empty additional prefix, put it
  into the ProxyPass at the end of the balancer
  instead.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421851 13f79535-47bb-0310-9956-ffa450edef68

11 years agoArchaelogy.
Rainer Jung [Fri, 14 Dec 2012 12:42:16 +0000 (12:42 +0000)]
Archaelogy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421824 13f79535-47bb-0310-9956-ffa450edef68

11 years agoDrop pre-2.3 compatibility notes from trunk docs.
Rainer Jung [Fri, 14 Dec 2012 12:35:47 +0000 (12:35 +0000)]
Drop pre-2.3 compatibility notes from trunk docs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421821 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Oops, there was a stray 'int i' in the middle of lua_ap_regex.
Daniel Gruno [Fri, 14 Dec 2012 10:25:31 +0000 (10:25 +0000)]
mod_lua: Oops, there was a stray 'int i' in the middle of lua_ap_regex.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421784 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Fix signedness/other small bugs as per cjaillet/fuankg's emails - thanks...
Daniel Gruno [Fri, 14 Dec 2012 10:15:37 +0000 (10:15 +0000)]
mod_lua: Fix signedness/other small bugs as per cjaillet/fuankg's emails - thanks guys :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421780 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd note about _fixshebang target in comments
Gregg Lewis Smith [Thu, 13 Dec 2012 22:43:31 +0000 (22:43 +0000)]
Add note about _fixshebang target in comments

Remove _install dependency, is not needed and will
cause problems.

If the cgi-bin folder does not exist yet, do nothing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421591 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd support for OpenSSL configuration commands.
Stephen Henson [Thu, 13 Dec 2012 14:52:47 +0000 (14:52 +0000)]
Add support for OpenSSL configuration commands.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421323 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAvoid use of deprecated functions for OpenSSL version >= 1.0
Stephen Henson [Thu, 13 Dec 2012 14:12:45 +0000 (14:12 +0000)]
Avoid use of deprecated functions for OpenSSL version >= 1.0

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421305 13f79535-47bb-0310-9956-ffa450edef68

11 years agoinherit inherit
Jim Jagielski [Thu, 13 Dec 2012 13:36:08 +0000 (13:36 +0000)]
inherit inherit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421288 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdded copying of .swf CGI to Windows install target.
Guenter Knauf [Thu, 13 Dec 2012 10:35:57 +0000 (10:35 +0000)]
Added copying of .swf CGI to Windows install target.
Moved fixing of shebang to separate target so that it is
no longer executed by default and CGIs remain inactive.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1421203 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFix various clone/edit and search/replace errors
Gregg Lewis Smith [Wed, 12 Dec 2012 21:14:57 +0000 (21:14 +0000)]
Fix various clone/edit and search/replace errors
in MSVC project files

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420975 13f79535-47bb-0310-9956-ffa450edef68

11 years agoDocs xforms.
Rainer Jung [Wed, 12 Dec 2012 14:15:38 +0000 (14:15 +0000)]
Docs xforms.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420690 13f79535-47bb-0310-9956-ffa450edef68

11 years agoDocs update concerning recent htpasswd and htdbm
Rainer Jung [Wed, 12 Dec 2012 14:13:44 +0000 (14:13 +0000)]
Docs update concerning recent htpasswd and htdbm
additions.

Add some cross refernces between dbmmanage and htdbm.

Update man page for htdbm and htpasswd.

Add bcrypt info to misc/password_encryptions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420686 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFix validation error.
Rainer Jung [Wed, 12 Dec 2012 14:12:00 +0000 (14:12 +0000)]
Fix validation error.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420685 13f79535-47bb-0310-9956-ffa450edef68

11 years agohtdbm:
Rainer Jung [Wed, 12 Dec 2012 12:34:55 +0000 (12:34 +0000)]
htdbm:
 - Add vxl to getopt
 - Remove "-C" from usage for -x and -l
 - Add space between -C and "cost"
 - Usage reorder and sync with htpasswd
htpasswd:
 - Usage reorder and sync with htdbm

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420644 13f79535-47bb-0310-9956-ffa450edef68