Questions tagged [apache2-module]
71 questions
2
votes
0 answers
Apache2 https: enable websockets for live streaming
I'm trying to install my angular app under apache2 https server in ubuntu os.
I followed this link https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-in-ubuntu-18-04 to enable https under…

Kallel Omar
- 1,208
- 2
- 17
- 51
2
votes
1 answer
How can an HTTP 403 be returned from an apache web server input filter?
I have written an apache 2.x module that attempts to scan request bodies, and conditionally return 403 Forbidden if certain patterns match.
My first attempt used ap_hook_handler to intercept the request, scan it and then returned DECLINED to the…

marathon
- 7,881
- 17
- 74
- 137
2
votes
2 answers
configuring apache2 - LDAP and understanding LDAP configuration
I'm trying to configure and understand apache2 LDAP authorization.
Actual I'm running openSUSE 13.1 64 Bit as an VM and I enabled the required modules and followed those steps:…

Yaerox
- 608
- 2
- 11
- 27
2
votes
1 answer
Is asp functions available in apache asp module?
Does apache asp module support functions ? why this doesn't work ?
<%
Function ftest(num)
ftest = num * num
End Function
Response.Write(ftest(7))
%>
I got an internal server error. I've been able to run asp code…

Nelson Teixeira
- 6,297
- 5
- 36
- 73
2
votes
0 answers
How can you use autoconf to determine if a symbol is defined in the httpd executable used by apxs?
How can you use autoconf to determine if a symbol is defined in the httpd executable used by apxs?
At some point around apache v2.2 the apr_connect function was replaced with apr_socket_connect. To make a module compatible with multiple versions of…

Ralph Ritoch
- 3,260
- 27
- 37
1
vote
1 answer
How to get module name in log line via ap_log_error in a Apache Module in C?
Would like to get more detail into my error log lines from my apache module.
Currently am using this to log a bad request:
ap_log_error(APLOG_MARK, APLOG_ERR, 400, r->server,"error msg");
Which results in this in the error log file:
[Wed Nov 09…

Dan
- 2,209
- 3
- 23
- 44
1
vote
0 answers
JWT verification module for Apache2 compatible with CloudFlare
I am planning to set up a CloudFlare proxy in front of my web service and use mTLS for authentication (see https://community.cloudflare.com/t/mtls-user-propagation/371991). Ths mTLS terminations is done by CloudFlare. What will arrive at my web…

Lemon Sky
- 677
- 4
- 10
1
vote
1 answer
PHP setlocale / strftime output differs between cli and web
I know there are many questions about locale issues in PHP. But I can't find any similar question or answer. I need to output German month names on a website. German locale is installed. Here is the output of locale -a:
# locale…

Gunnar Gläser
- 337
- 5
- 13
1
vote
0 answers
Is MaxClientsVhost the definite visitor limit?
Having a hard time figuring the exact "math" around the apache2-mpm-itk configuration option MaxClientsVhost
We are running one front-end server with nginx, and are proxying traffic to our two back-end servers running Apache with apache2-mpm-itk.…

Ole Haugset
- 3,709
- 3
- 23
- 44
1
vote
1 answer
php ini setting not reflecting after upgrading apache2 to mpm_event in ubuntu
I have update my apache2 from mpm_prefork to mpm_event with php5_fpm. After updating this my php.ini in /etc/php5/fpm/php.ini still configuration not work. I have set max_execution_time to 60 but it is not work.
My configuration is
php : PHP…

LOKESH
- 1,303
- 1
- 16
- 29
1
vote
2 answers
Reading config file in Apache module
I am developing apache module . I want to read some data from my own config file . How to read the config file in Apache . I am using C language to develop the module.

sumit chansouliya
- 81
- 2
- 9
1
vote
1 answer
How to filter based on request URL in Apache HTTP server
I want to have a apache http server in between my application and client.
A query parameter has to be passed on accessing by client.
For example, if my client is running in http://myhost:myport/myapp then it has to be accessed only by passing the…

sag
- 5,333
- 8
- 54
- 91
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
How to forward POST request in Apache HTTP Server
There is a client which is implemented in Nodejs. I wand to send post request to Apache HTTP server and then that request is to be forwarded to back end server(It locates at somewhere else).
So I implemented Node js client and Apache module. Request…

GPrathap
- 7,336
- 7
- 65
- 83
1
vote
1 answer
How to print the description of file in colored font in apache2?
In Apache, we can add the description of file by adding the following(similar) in file /etc/apache2/mods-available:
AddDescription "your message" filepath with respect to your shared directory
But how can we set the font color of the "your message"…

Amit Sharma
- 1,987
- 2
- 18
- 29