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

Anyone know a good replacement for the mod_layout apache module?

I've been using the mod_layout module for my apache server for a very long time ... recently, however, it's not been working quite right. Rather than try to get the module fixed (I think the author has abandoned it), I'd like to find a different…
David G
  • 3,940
  • 1
  • 22
  • 30
1
vote
1 answer

Apache: incap_ses_* cookie is Secure but not HttpOnly, whereas visid_incap_* have both flags

I have an Apache server that hosts a Wordpress webpage. I modified my mod_headers to set the Secure and HttpOnly flag to all the cookies. My configuration is as follows: Header set X-XSS-Protection "1; mode=block" …
Jacobo
  • 1,259
  • 2
  • 19
  • 43
1
vote
0 answers

Can't enable apache mod_proxy module on mac os x

Trying to enable proxy module for apache on the mac os x system (latest version - catalina 10.15.5). However, after uncommenting the lines LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module…
Avag Sargsyan
  • 2,437
  • 3
  • 28
  • 41
1
vote
1 answer

How to have an apache module and dependent shared library in Autoconf/Automake project

I'm developing a apache module and a shared library in the same Autoconf/Automake project. How my Makefile.am should be? Now it is: INCLUDES = -I$(top_srcdir) nobase_include_HEADERS = \ foo.h \ bar.h lib_LTLIBRARIES =…
Filippo De Luca
  • 704
  • 5
  • 21
1
vote
1 answer

Apache header based authentication module

Is there an apache authentication module out there, that can blindly trust a header? For instance if a reverse proxy were to put the user "mboorshtein" into an http header is there a module that take that header and set the correct data structure in…
mlbiam
  • 415
  • 4
  • 17
1
vote
0 answers

Is there any way to install mod_csrfprotector on Windows Wamp?

I tried to download mod_csrfprotector.so placed to the modules folder and also add the following configuration in httpd.conf. However, the server will not start anymore. LoadModule csrf_protector_module modules/mod_csrfprotector.so
Samuiszz
  • 11
  • 1
  • 3
1
vote
1 answer

What is proper use of Apache method apr_pool_create_ex in Delphi XE?

What is proper use of Apache method apr_pool_create_ex in Delphi XE? I’ve created Apache modules before, but all were Handlers. Now I’m working on developing a Service provider. A skeleton module has been created and my child_init call back method…
TDF
  • 125
  • 7
1
vote
1 answer

How to determine if a connection used encryption/SSL from apache2 httpd module?

In the context of an Apache2 module written in C, how can I determine if a request (request_rec *r) is encrypted? I've seen code that seems to do that, but I either haven't been able to figure out how to implement it or it always return 'true', even…
Billy
  • 1,177
  • 2
  • 15
  • 35
1
vote
1 answer

Apache2 Configuration: Execute if mod is enabled?

Is there a possibility to execute a part of a configuration file in Apache 2.4 only if a specific mod (e.g. mod_wsgi) is enabled?
F.M.F.
  • 1,929
  • 3
  • 23
  • 42
1
vote
0 answers

How to use both PHP 5 and 7 per virtualhost in Apache 2.4 on Debian - with apache-mod?

Debian 9 stretch introduced a mechanism for two PHP versions to co-exist on one server. This makes sense when newer applications demand PHP 7.x (in my case Yii 2.0.12) while others (older) require 5.x. A similar question has been asked here, and…
Ed Doerr
  • 61
  • 5
1
vote
0 answers

mod_python.dll into server: % 1 is not a valid win32 application

i want to Integrate python module with Apache HTTP server. I downloaded mod_Python and moved to python Lib folder. In order to integrate python with the Apache server modules i downloaded mod_python.dll and I moved it to apache24\modules folder. in…
1
vote
0 answers

Avoid header processing in my Virtual FS module

I want to write a module that serves a huge virtual .wav file (also plan to add a virtual .ogg file in the future). I know the size of the file (2Gb) and its fake modification time (2000-01-01 0:00:00) and I have a function to read portion of the…
basin
  • 3,949
  • 2
  • 27
  • 63
1
vote
1 answer

How to avoid WSRegister* on a Free Pascal .dll/.so

I finally had success compiling a "blank" Apache module, but now I've hit a rather annoying snag. I want to communicate with a MongoDB server and I opted for the only lib around for FreePascal/Lazarus, pebongo. Dependency for pebongo is…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76
1
vote
2 answers

Building mod_helloworld.lpr

Im trying to build the apache example of the mod_helloworld.lpr, C:\lazarus\components\fpweb\demo\helloworld\apache Lazarus 0.9.29 FPC Verion 2.4.3 SVN 27129 i386-win32 After Adding $(LazarusDir)\fpc\2.4.3\source\packages\fcl-web\src\ to…
Christopher Chase
  • 2,840
  • 6
  • 36
  • 57
1
vote
2 answers

Problem compiling a WebLaz project under Lazarus

My specs: OS: Ubuntu 10.04 LTS amd64 fpc: 2.4.0 lazarus: 0.9.28 I'm trying to compile a WebLaz project just by creating one and then compiling. Somehow the compiler gets all lost when determinig witch httpd and fpapache Units to use. I've found…
Gustavo Carreno
  • 9,499
  • 13
  • 45
  • 76