httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: construct_url hardcoding "http" [was: solution to 'mod_rewrite.c wierdness' => mod_dir.c]
Date Fri, 23 Jan 1998 19:05:23 GMT
Michael Douglass wrote:
> 
> On Fri, Jan 23, 1998 at 11:06:52AM +0000, Ben Laurie said:
> 
> > Well, the way Apache-SSL does this is it assumes that appropriate type
> > can be deduced from the request_rec. This means (if memory serves, but
> > feel free to check the code) that construct_url takes the wrong
> > arguments.
> 
> Well, the current version of construct_url does; my modified version (which
> was submitted to new-httpd) and dean's subsequent 'suggested' version takes
> the request_rec in place of the server_rec (the request_rec holds a pointer
> to the current server_rec).

Which, as it happens, is what Apache-SSL does. What a coincidence :-)

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message