Questions tagged [apxs2]
23 questions
0
votes
1 answer
How to compile apache module with included sds library using apxs2
I get example apache2 module here:
https://httpd.apache.org/docs/2.4/developer/modguide.html
and I want to use there this sds library https://github.com/antirez/sds
So I will create new module and goto module dir:
apxs -g -n mymodule
cd…

Ľubomír Mlích
- 649
- 6
- 12
0
votes
1 answer
Apache mod compile error: apxs mod_antiloris.c
Try to install mod_antiloris. Getting compile error, when running the below command:
apxs -a -i -c mod_antiloris.c
Compile Error:
mod_antiloris.c:126:37: error: 'conn_rec' has no member named
'remote_ip'
apr_cpystrn(ws_record->client,…

Nic
- 61
- 1
- 1
- 5
0
votes
1 answer
C code to output linux system whoami from apache module
I'm a C newbie. My eventual goal is to create an Apache module that returns the Apache user account's crontab as JSON.
Baby steps first though. I've successfully followed tutorials at the two following locations to output "hello world" and…

Dexygen
- 12,287
- 13
- 80
- 147
0
votes
0 answers
How to set a timeout to an apache c module
I have an apache module written in C, and I would like to limit execution duration of this module to 15 minutes. Is it possible?

Jerome Demantke
- 161
- 1
- 8
0
votes
0 answers
how to dlopen so file in apache module development with apxs
I'm trying open a so file in apache module with this code :
#include
#include
#include
#include
#include
static int helloworld_handler(request_rec* r)
{
if (!r->handler ||…

Mehdi Homeyli
- 409
- 1
- 4
- 8
0
votes
1 answer
apxs on MacOSX having trouble with architecture
I'm trying to set up a development environment on my aging Macbook Pro that matches my Linux EC2 production environment. I'm on the home stretch now, need only to get the mod_auth_mysql plugin for apache working. After a few hours of googling and…

roguenet
- 1,273
- 1
- 11
- 18
0
votes
1 answer
xcode template with run script build phase requires root
I'm trying to configure a custom xcode template for building Apache 2.2 modules in xcode. Everything seems to be working okay so far, except the most important bit: the custom build settings.
I currently have my template configured so that my target…

omarshariffdontlikeit
- 127
- 10
0
votes
2 answers
Using httpd 2.4 instead of 2.2 on centos 6
I use Centos 6.5, I've installed apache 2.2 on my server by yum, I want to upgrade my apache to 2.4, but yum not support that, so I download apache 2.4.7 and install it to opt/apache/httpd-2.4.7 follow the tutorial here: Apache 2.4.x Manual install…

user199644
- 9
- 1
- 2