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
0
votes
1 answer

Post data to another server apache2(httpd) custom module

I am creating an apache2(httpd) custom module ,My custom module collect params on page load I need to make a post data request to third party server and based on response I got . Is their any utility or which I can use to connect with third party…
Mayank Raipure
  • 1,773
  • 15
  • 12
0
votes
2 answers

Ubuntu, How to link .exp file in C?

How to link .exp file in C? I can link .so, .o, .a, .la, lo and .slo files. But there is file httpd.h with .exp file only(No .so, .o, .a, .la, lo and .slo files) and I need to use a function from it. And, I am getting undefined symbol…
0
votes
0 answers

Upgrade to PHP 5.6 PDO drivers Not found (Symfony2)

Just upgraded to PHP v5.6.22 from PHP v5.5.9 and my Symfony2 project is complaining about few things. I assume many of my modules are not enabled like PDO and curl. 1rst thing I am getting this when I go to my dev site: Fatal error: Uncaught…
George Mylonas
  • 704
  • 6
  • 16
0
votes
2 answers

How to load test an Apache HTTP Load balanced servers

Apache Jmeter allows us to hit the server with simultaneous connections. On, the other hand I have 4 webservers - one acting as a load balancer and other 3 acting as a application server. So, i want to load test these servers at once to check its…
Deepesh Thapa
  • 1,721
  • 3
  • 19
  • 29
0
votes
1 answer

Values set in post_config hook not visible in request scope on Apache 2.4

any idea why config values I set in post_config hook on my module are not visible in my rewrite_mapfunc. Here is my code snippet: /** post_config*/ static int post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)…
pjolep
  • 21
  • 3
0
votes
1 answer

What apache modules are required?

How can I determine what add-ons to apache will be required for my php code? I have legacy php code that was setup a long time back (and we dont have the documentation on what was done at that time). I need to get this application working on another…
tzmatt7447
  • 2,329
  • 9
  • 24
  • 31
0
votes
1 answer

Apache module before mod_proxy_http.c

I have written custom apache module in "C" which adds header to every request for tomcat. Calculating header value is complicated and it must be added on apache that is why I have written module. No change in architecture is possible. My module is…
0
votes
1 answer

PHP7 install broke my localhost

I got PHP7 compiled and built locally. php -v outputs all the beautiful info I would want it to. I completely failed at loading it into apache, though. The configure\make process was mostly myself and SO, but for loading it into Apache, I followed…
Kevin Ard
  • 594
  • 4
  • 12
0
votes
1 answer

Can I build a custom Apache Module Extension using C in Visual Studio 2010?

I just am intended to create a custom Apache Module Extension for my project. I am using VS2010 Ultimate edition on Windows Vista 32-bit edition. I started with Win32 DLL project and renamed the extension of the main file to .c. The project…
Niladri Sen
  • 63
  • 1
  • 10
0
votes
1 answer

How to add modules into Apache (mod_dbd and mod_auth_dbd)

I have tried my best to see if I can add the modules mod_dbd and mod_auth_dbd into Apache but I can't seem to get them to work. I am not sure if I am doing this correct, inside the httpd.conf file I have this line: LoadModule dbd_module…
dark_illusion_909099
  • 1,067
  • 2
  • 21
  • 41
0
votes
1 answer

Apache module - How to check existence of directive in httpd.conf

I am trying to write a sample Apache module to read config file whose file path is specified in httpd.conf like that: SetInputFilter SAMPLE_INPUT_FILTER SetOutputFilter…
GSP
  • 574
  • 3
  • 7
  • 34
0
votes
0 answers

You don't have permission to access /asd on this server

I am using apache server version 2.4 I have installed apache to a custom location by specifying --prefix during configure. I'm on mac os x mavericks. I am using apache module written in c. I'm following the tutorials at the official site…
user1423561
  • 327
  • 1
  • 3
  • 18
0
votes
1 answer

Read POST parameters from apache module

I'm trying to read POST parameters from an apache c module. Here's the code I'm using : /* Include the required headers from httpd */ #include "httpd.h" #include "http_core.h" #include "http_protocol.h" #include "http_request.h" #include…
user1423561
  • 327
  • 1
  • 3
  • 18
0
votes
1 answer

Apache module shared memory object

I am able to create shared memory segment containing struct using apr_shm_create problem is when I try to create class instance in this shared struct (segmentation fault). Is there any way to allocate custom object (and underlying data) in shared…
Kryštof Hilar
  • 609
  • 2
  • 10
  • 22
0
votes
1 answer

Get number of connections in Apache C-Module

How can I get the number of open connections (how many different browsers are trying to reach server). I tried to look in the struct request_rec which is available in each function handler.. request_rec->connection->conn_config sounds like the most…
ItayB
  • 10,377
  • 9
  • 50
  • 77