Checkout
 

rasmus in httpd

Here too

I guess I should fix my affiliation as well

I'm probably not the right guy to teach people how to write thread safe

code, but I can at least document the braindead obvious issues people

might face.

A bit of info from Ian

Many more to come - just committing to get the framework in there so

people can start adding to it.

    • ?
    /httpd/trunk/docs/manual/developer/thread_safety.html
Fix typo

OpenBSD Layout

Submitted by: Brad <brad@comstyle.com>

Reviewed by: Rasmus <rasmus@apache.org>

Prevent a HEAD request from being converted to a GET request on an

ErrorDocument redirect. Also save a couple of cycles by not duping

a "GET" on top of a "GET" so the people who benchmark thousands of

ErrorDocument redirects should see a slight improvement now... ;)

RFC 2617 consistently uses "Basic" in the examples, so there is a chance

that some server-side stuff does not recognize "basic" in the Authorization

header. PHP was unfortunately a victim here. This has been fixed in PHP,

but we might as well make ab play nice.

    • -4
    • +4
    /httpd/branches/1.3.x/src/support/ab.c
Solaris 8 ships with Apache (1.3.9) and this is the layout

    • -0
    • +19
    /httpd/branches/1.3.x/config.layout
Submitted by: Sascha Schumann <sascha@schumann.cx>

Reviewed by: Rasmus Lerdorf

Submitted by: Sascha Schumann <sascha@schumann.cx>

Reviewed by: Rasmus Lerdorf

- INADDR_NONE is not defined. Supply a replacement

- APACHE_MODULE() used a non-portable shell construct

- inet_addr() needs -lnsl -lsocket. Neccessary checks added

- For POSIX conformance, _POSIX_PTHREAD_SEMANTICS is

required. This fixes i.e. sigwait() problems.

Submitted by: Sascha Schumann <sascha@schumann.cx>

Reviewed by: Rasmus Lerdorf

    • -0
    • +3
    /httpd/trunk/server/mpm/prefork/.cvsignore
    • -0
    • +3
    /httpd/trunk/server/mpm/dexter/.cvsignore
  1. … 3 more files in changeset.
--with-shared-apache has been deprecated

    • -23
    • +6
    /httpd/branches/1.3.x/README.configure
PR:

Fix a spelling mistake and we probably shouldn't put Internet Exploder in

any official Apache documentation.

Fix a spelling mistake and we probably shouldn't put Internet Exploder in

any official Apache documentation.

A failure here is pretty much never due to the compiler not being ANSI

compliant but nearly always because a required library is missing. Since

this message went in, my support load for PHP has gone way up. Fix it

to be sane and to propogate --verbose through to the TestCompile

correctly.

    • -6
    • +10
    /httpd/branches/1.3.x/src/Configure
Add PHP 4 magic mime types

Since modules can add methods arbitrarily now, I think it is a much

better idea to take a Prussian stance here. Disallow everything

except the methods that are explicitly allowed as opposed to trying

to list the methods that are not allowed.

A few more tweaks

    • -12
    • +12
    /httpd/branches/1.3.x/htdocs/index.html.dk
Tweak

My written Danish is a little rusty. But this should be close.

    • -0
    • +47
    /httpd/branches/1.3.x/htdocs/index.html.dk
In order for DSO modules to be able to use the bundled XML functions on AIX

they need to be listed here.

    • -0
    • +34
    /httpd/branches/1.3.x/src/support/httpd.exp
Install expat header files in their own separate directory to mimic

expat package installs

Move fbsd2,3,4 to "gcc -shared" as well.

This builds DSO's correctly on linux2 using gcc -shared instead of

ld -Bshareable. It also tweaks apxs to correctly pass -Wl args to

the linker in case the linker is gcc and not ld. Theoretically all

systems that use gcc should be using gcc -shared, but I have only tested

this on linux2 so far and therefore have only turned it on for this

platform. I will test other platforms as well, but could use some

help.

    • -1
    • +5
    /httpd/branches/1.3.x/src/support/apxs.pl
Not much point distributing expat-lite with Apache if we don't install

the header files so modules can actually build against it.

Need to take a different approach here. I think the easiest thing to do

is simply to require modules installed via apxs to provide their own

.exp file for AIX.

This should make mod_dav build using apxs under AIX again.