logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Compiling Lasso Module for Apache 2.4.12
Author
Jon_the_eye



Joined: 16 May 2015
Posts: 2
Location: London, UK

PostPosted: Mon 18 May '15 10:14    Post subject: Compiling Lasso Module for Apache 2.4.12 Reply with quote

Hi List

I am trying to upgrade a "WAM" server (no php). We use a PHP-like middleware application called "LassoProfessional8".

I have got the AL Apache 2.4.12 working fine, but I desperately need to get Lasso working in this environment.

The connector they provide works with Apache 2.2, but not 2.4, they do however provide the source code, for users to make their own.

I have put the relevant files in zip file and put it on a server, if anyone is interested. (I know this is an IIS server, the dev server is not on-line yet)

http://www.digital-ink.co.uk/dev/LassoApacheProject.zip

When I try an build the project I get this error:

Code:
error C2039: 'remote_ip' : is not a member of 'conn_rec'   C:\Lasso8ConnectorforApache2\Lasso8ConnectorforApache2.cpp


I am using VC11 update 4, and have put the Apache source files in c:\apache24 (with paths to the lib and include folders).

From what I have read I need to patch the Apache source, but I am not sure how to go about this. Can anyone provide some advice here.

Thanks.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Mon 18 May '15 11:04    Post subject: Reply with quote

See the changes with 2.4 http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html under the heading: If your module uses these existing APIs...

Best to ask Lassosoft for a 2.4 module.
Back to top
Jon_the_eye



Joined: 16 May 2015
Posts: 2
Location: London, UK

PostPosted: Mon 18 May '15 12:48    Post subject: Reply with quote

Hi Steffen

Thanks. I had a look at your link and it looks like I need to use "conn_rec->client_ip" or "conn_rec->client_addr".

Unfortunately, its not my code, so I don't know what the intention of the call was - it might actually need "request_rec->useragent_ip". I will trying editing their source and see what happens.

Incidentally, I have asked LassoSoft, but I think they are going to say its "not a supported environment".
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 18 May '15 18:55    Post subject: Reply with quote

r->connection->client_ip

looks like the conn_rec is not directly accessible from the function, but there is a copy of it in request_req.
Back to top


Reply to topic   Topic: Compiling Lasso Module for Apache 2.4.12 View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads