>Number:         1390
>Category:       general
>Synopsis:       basic_http_header routine unavailable in Win32 environment
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Nov 10 16:50:00 PST 1997
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b2
>Environment:
Windows NT4SP3, VC++5, perl 5.00404, mod_perl-1.05
>Description:
To get full functionality from mod_perl, it needs to get access to the 
basic_http_header routine. This routine is not exported from the DLL. As 
indicated in the following section, it is needed for mod_perl :

#ifdef WIN32
    croak("Apache->basic_http_header() not supported under Win32!");
#else
    basic_http_header(r);
#endif

Without this, mod_perl does not get thru its selftest.
>How-To-Repeat:
Not easy. Install mod_perl-1.05. Remove the #ifdef Win32 sequence which blocks 
usage of the routine under Win32. Apply half a dozen patches to the test 
scripts to see it working. Contact me for more details.
>Fix:
To get to the basic_http_header routine replace the following in 
/usr/src/apache-1.3b2/src/main/http_protocol.c and 
/usr/src/apache-1.3b2/src/main/http_protocol.h

<void basic_http_header(request_rec *r)
---
>Audit-Trail:
>Unformatted:
>API_EXPORT(void) basic_http_header(request_rec *r)

%0

Reply via email to