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
0 answers

Apache does not parse custom headers

Apache does not seem to parse custom headers Here is what is coming on tcpdump: Host: localhost:8022 Accept: */* Accept-Encoding: gzip User-Agent: JoeDog/1.00 [en] (X11; I; Siege 3.0.0) customheader: pkumar0 X-Forwarded-For:…
pkumar0
  • 2,069
  • 3
  • 14
  • 21
0
votes
1 answer

Apache module request_rec->args can't handle url encoded entities

In my ap_hook_handler I'm experiencing strange behavior with request_rec->args when portions of the query string contain url encoded entities. Here are my findings: Scenario #1: encode the first 'e' in the query…
jekennedy
  • 1,192
  • 10
  • 17
0
votes
2 answers

How to set a Set Handler for proxy request

So what I want is when client send request a Apache HTTP Server it should pass to back end server and then when response comes to Apache HTTP Server, it should be modified using set handler in the server and send response back to client. …
GPrathap
  • 7,336
  • 7
  • 65
  • 83
0
votes
2 answers

Is it possible to have asynchronous processing

I have a requirement where I need to send continuous updates to my clients. Client is browser in this case. We have some data which updates every sec, so once client connects to our server, we maintain a persistent connection and keep pushing data…
0
votes
1 answer

pagespeed mod errors - Attempt to destroy unknown SHM segment

I'm struggling with a pagespeed mod error. I have tried setting ModPagespeed to 'off' and 'unplugged' in the conf. No difference. I tried to disable it and I still get the same errors in the logs ( sudo a2dismod pagespeed ). My log is below: [Wed…
Designer023
  • 1,902
  • 1
  • 26
  • 43
0
votes
1 answer

Recompiling a mod \ module in apache2

A bug was found in "mod_authn_core.c" which is an Apache module and a fix has been given to it, it has been given in the simplest form of .c file (C code) apparently i need to compile it and replace my existing module file and it should work Bug…
Mike
  • 741
  • 13
  • 40
0
votes
2 answers

ELF Header Error and Building Modules In Apache for Jelastic

So I'm building a web app and I decided to move it from my localhost to Jelastic. The app requires one custom module: mod_auth_cas. I followed the instructions on the Jelastic website for adding a module. The only step I didn't follow was compiling…
Karl
  • 29
  • 2
  • 6
0
votes
1 answer

Unable to access System defined environment variables in the apache module source code

In general scenario, while coding in java, we use System.getProperty("users.home") in order to get the users home directory. Similarly, when i was trying to develop a module for apache web server(in c language) in Windows7, i am unable to find any…
0
votes
1 answer

How to Integrate CitiBank Payment Gateway in PHP

We are working on integrating the CitiBank payment gateway integration in our Joomla website, which is deployed in Linux server (CentOS). Since it is Linux, we are using Apache as a web server. In that, for checksum value calculate, we got…
0
votes
1 answer

Can I update my user database with last login timestamp using mod_auth_mysql?

Environment: LAMP (CentOS 6.5, Apache 2.2.15-30.el6.centos, MySQL 5.5.36-1.el6.remi, PHP 5.4.26-1.el6.remi) I have mod_auth_mysql installed and working properly. I am using .htaccess files to restrict access to users based off groups. The database…
tatorface
  • 72
  • 1
  • 8
0
votes
1 answer

Server side: detecting if a user is downloading (save as...) or visualizing a file in the browser

I'm writing an apache2 module by default and when viewed in a web browser, the module would only print the first lines of a large file and convert them to HTML. if the user choose to 'download as...', the whole raw file would be downloaded. Is…
Pierre
  • 34,472
  • 31
  • 113
  • 192
0
votes
1 answer

How to load dependencies (external libraries) for Apache2 modules?

I'm developing an Apache2 module that requires and external library. I'm able to build the module and generate the DSO (.so file). However, whenever the server tries to load the module, I get undefined symbol errors and the server fails to start. I…
informer2000
  • 399
  • 6
  • 20
0
votes
2 answers

error while compile apache module

I am getting unknown type name module error when compiling apache module. What should I do? sujit@sujit-pc:~/apachemodule$ apxs2 -c -i -a example_module.c /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static x86_64-linux-…
0
votes
1 answer

Unable to get log message in the error.log file APACHE Module?

This is my code,written in visual studio 2008 the code gets compiled and run successfully i checked by debugging the code,i am not getting the log message in my error.log message file,help me if i have done some mistake #include #include…
D.A.Danekhail
  • 73
  • 1
  • 1
  • 13
0
votes
1 answer

User Home directly from shell_exec in PHP running on Apache

I have the following snippet of code in a PHP file: echo `whoami;cd;pwd`; When I run this script from the command line (lets call this test.php), php test.php, I get the following output: rohit /home/rohit When I run this over the browser, I…
Rohit Chopra
  • 2,791
  • 4
  • 28
  • 33
1 2 3
11
12