Questions tagged [apache-modules]

Apache modules extend the Apache opensource HTTP server core functionality for special purposes.

Please refert to for more details.

Resources:

180 questions
1
vote
1 answer

How can I compile a Lazarus Apache module to Apache 1.3, 2.0 and 2.2 selectively?

I've had a look at /etc/fpc.cfg and there is mention to some defines: FPCAPACHE_1_3 FPCAPACHE_2_0 Then in the fcl-web examples there is mention to: Apache1_3 The only one I've found is on the apr.pas on both these…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
1
vote
0 answers

Apache docx not encoding properly through reverse proxy

My setup: I have two zones separated by a firewall. There is an application server/apache stack in zone 1, and separate apache reverse proxy server in zone 1 that allows communication between both zones. A user in zone 2 pulls information from the…
TMuse
  • 11
  • 3
1
vote
1 answer

apache2.4 with lua scripts: LuaMapHandler causes config syntax error

I'm trying to run a simple lua script on my Apache server (version 2.4.23). I followed these instructions and added the next line to my apache2.conf: LuaMapHandler / /path/to/lua/script.lua my_lua_handler when restarting my server I'm getting this…
Shikloshi
  • 3,761
  • 7
  • 32
  • 58
1
vote
1 answer

Apache authz provider module: r->server->server_scheme is (null)

I have an Apache module which is an authz_provider. In this module, I have request_rec *r. I need to get an URI scheme used (i.e. "http", "https"...). However, r->server->server_scheme is (null). Why is that? And is there any other way to get the…
KamikazeCZ
  • 714
  • 8
  • 22
1
vote
1 answer

Set custom header to apache response within a module

I'm creating an apache module that encrypt data with AES. My final goal is to use a different AES key for every request, generating a 16 byte new key used to AES encrypt the file and send the key (encrypted with RSA) as a custom header The problem…
gbalduzzi
  • 9,356
  • 28
  • 58
1
vote
1 answer

How to run Apache module with superuser privileges?

I am using Apache 2.4 on Ubuntu. I have written one module in C language and integrated it into Apache server using Apache Extension tools (apxs). There is some part of my code where I am calling executable using exec function but I want to call…
1
vote
1 answer

Not able to enable mod_deflate on Apache / CentOS7

I followed a simple tutorial from a good source, and gzip compression does not work. 1) I run the following to see whether mod_deflate is already installed: apachectl -t -D DUMP_MODULES | grep deflate I got deflate_module (shared), so it was…
Tom Smith
  • 125
  • 1
  • 1
  • 5
1
vote
0 answers

Apache mod_wl2.4 plugin error parseJVMID

I have some issues with setting an clustered environment for weblogic and Apache. The structure is like this: 1 webserver that proxies requests to a clustered environment of 3 weblogic servers. Everytime i send the request to the apache server , the…
1
vote
1 answer

Apache 2.4, custom module not respecting ErrorLogFormat

I have a custom C module for Apache 2.4 (on Windows, though I hope that is not relevant). within the module we write out errors and the like with ap_log_perror. all is well, we get the error messages to the log file. recently, I tried to create a…
rguilbault
  • 553
  • 1
  • 5
  • 17
1
vote
0 answers

epoll on apache c module

I want to create apache c module. I want this c module to do epoll. Is it possible? It means that I want specific thread that will be blocked on this epoll. Alternately, if I could somehow make the apache do the epoll by itself and then will call…
hudac
  • 2,584
  • 6
  • 34
  • 57
1
vote
2 answers

Uploading file to apache server in C (without web headers)

I'm developing webserver (Apache 2.4 in linux) and trying to support file upload from client side to server side. I succeed to receive the file in server side, but I'm getting an extra web headers in the uploaded file content which I want to omit.…
ItayB
  • 10,377
  • 9
  • 50
  • 77
1
vote
0 answers

golang type conversion loop - apache modules

I'm trying to construct a Go interface to the Apache module system. I.e. I want to be able to call Go functions from my Apache module. This is my Go file: package main // #cgo CFLAGS: -I/usr/include/apache2 -I/usr/include/apr-1.0 // #include…
eatonphil
  • 13,115
  • 27
  • 76
  • 133
1
vote
0 answers

Installing mod_xsendfile in MAMP Pro causes Apache not to load

I am on OSX Yosemite and currently trying to install mod_xsendfile. I followed all the steps there without encountering any problems: http://patrickward.com/2013/01/07/adding-the-x-sendfile-module-to-mamp-pro/ Now, when I try to start MAMP Pro, it…
Etienne Noël
  • 5,988
  • 6
  • 48
  • 75
1
vote
1 answer

load-on-startup of Subversion

We used VisualSVN Server 2.5.8 in our windows machine. we have to invoke the script whenever the VisualSVN Server restarted. How do we invoke the script on VSVN Start-up ?
user1553605
  • 1,333
  • 5
  • 24
  • 42
1
vote
0 answers

SVN : Get/Checkout the file with log in single request

We have used VisualSVN Server 2.5.8 in windows 2008 machine. The requirement is we need to provide the commit comments into starting of the file for every get/checkout request. We don't want to append commit comments into file while committing the…
user1553605
  • 1,333
  • 5
  • 24
  • 42