Questions tagged [apxs2]

23 questions
8
votes
2 answers

apxs:Error: Command failed with rc=65536

Centos 6.4, WHM 11.38.1 I'm having trouble trying to make mod_python work. I'm getting this error apxs:Error: Command failed with rc=65536 I've already tried custom_easyapache_modules. Also tried downloading the tar.gz and ./configure…
rzx10r
  • 134
  • 1
  • 1
  • 9
6
votes
1 answer

How to install mod_wsgi as a python into python installation?

I am unable install mod_wsgi on windows, when I am trying to run the following command: pip install mod_wsgi It says- Collecting mod-wsgi Using cached mod_wsgi-4.4.14.tar.gz Complete output from command python setup.py egg_info: Traceback (most…
aditya
  • 182
  • 4
  • 13
5
votes
0 answers

Ubuntu, install doesn't find apxs

I try to install a packet for NTLM authentication and i get this error make: apxs: Command not found I installed apache2 on ubuntu 10.10 I also installed: apache2-prefork-dev, apache2-threaded-dev, apache2-mod-php5 and apache2-mod-perl2. I also…
denBelg
  • 343
  • 1
  • 8
  • 20
4
votes
1 answer

How can I write an Apache module in C++?

I'd like to write an Apache module in C++. I tried a very barebones module to start: #include "httpd.h" #include "http_core.h" #include "http_protocol.h" #include "http_request.h" static void register_hooks(apr_pool_t *pool); static int…
Daniel Wagner
  • 145,880
  • 9
  • 220
  • 380
3
votes
1 answer

Error while Installing mod_perl

I am getting an error as shown below while installing mod_perl. I am using Ubuntu 12.04 , Apache2.2.22 , Perl 5.14. Please let me know How can i fix it root@hafsal-sparksupport:~/mod_perl-2.0.7# perl Makefile.PL…
Hafsal
  • 81
  • 2
  • 7
2
votes
1 answer

Apache web server - equivalent of apxs for windows 10

I am trying to install a module on my apache web server on Windows. In order to build it, I need the tool apxs but in [HOME_APACHE]\bin there is no such tool. How can I do that on my windows 10? Thanks
eeadev
  • 3,662
  • 8
  • 47
  • 100
2
votes
2 answers

How to Install mod_wsgi in a virtual Environement

Introduction I have a Web API writtten in python 3 and it uses flask. The code runs fine when I run the web API from the terminal and it is hosted from the following line in the code. if __name__ == '__main__': app.run(host='', port=8010,…
Ebrahim Karam
  • 841
  • 1
  • 11
  • 22
2
votes
0 answers

How to call executable using system call from apache module type_checker hook?

static int x_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) { system("/home/user/workspace/CheckVideo/Debug/CheckVideo.exe"); return OK; } static void…
2
votes
1 answer

libdb4.6-dev vs libdb4.7-dev

I want to install PHP 5.3 on Ubuntu Intrepid. To install apxs, I need to install libaprutil1-dev, which depends on libdb4.6-dev. When I look at installing that, apt-get wants to remove the currently installed libdb-dev and libdb4.7-dev. Any…
routinet
  • 21
  • 2
2
votes
0 answers

cygwin mod-xslt2

I am trying to compile up mod-xslt2 using the cygwin, the mod-xslt2 is using the apache apxs2 program, which is installed within the cygwin environment within the /usr/sbin/ directory but when it comes to finding that program (apxs2) the cygwin…
TheGenux
  • 21
  • 2
1
vote
1 answer

apxs2 not found or not a directory

I'm trying to compile PHP 5 in ubuntu server, it's a larger explanation the why I need a compilated version and just download and install. So, the thing is that in the process I get this error: Can't exec "a2enmod": No such file or directory at…
1
vote
1 answer

Problems with mod_auth_token installation

TOOLS apache2 -v : Server version: Apache/2.4.7 (Ubuntu) ubuntu 14.04 LTS I'd like to install mod_auth_token to secure some of my files but I'm having problems with the first command I need to run: Command ./configure Error…
smarber
  • 4,829
  • 7
  • 37
  • 78
1
vote
1 answer

Apache Module: Output Keeps Growing on Each Request

I have an idea for a project based on the Apache module API. So, I am writing my first Apache module to learn the API- just a simple hostname lookup: URL: http://localhost/hostname/stackoverflow.com Response data: Host: stackoverflow.com Address:…
AJ.
  • 27,586
  • 18
  • 84
  • 94
1
vote
1 answer

Apache with no apxs

I am running Apache on a Synology 1512+. I would like to do some development using python and have chose to use mod_wsgi to serve. I initially installed ipkg and used that to instal mod_wsgi. Unfortunately, it seems to have installed python 2.5 (and…
Jacob Bolda
  • 572
  • 7
  • 18
1
vote
1 answer

custom apache2 module will not load with error message "Can't locate API module structure"

I'm a windows developer but now trying to build a very simple apache2 module on linux using apxs2 tool as described in this article: [http://www.codeproject.com/Articles/491909/Apache-2-x-Modules-In-Cplusplus-Part-1][1] The module is being…
Vasyl
  • 75
  • 9
1
2