Skip to main content

Developing custom Apache modules

Comments

3 comments

  • cPanelMichael
    Hello @outpostmm, Here's a link to our guide on how to build a custom RPM for use with EasyApache 4: Let us know if you have any questions! Thank you.
    0
  • outpostmm
    I'm still going through the explanation of the spec file and things like that, but looking at one of the examples it looks like the source file just includes the various Apache header files, is that right? I don't have to distribute or get those headers myself as part of the package, correct? As long as I set up the spec file and other things right, when it compiles my package it's going to do it in an environment where all of the header files are available, right? How do I do the actual development and testing, I don't have to actually run EA every time I want to test my code, do I?
    0
  • cPanelMichael
    Hello @outpostmm, We provide an example of everything that's included/required in a custom Apache module and it's source as part of the EA4 package at: CpanelInc/ea4-example-specs It's probably a good idea to setup a development server running cPanel & WHM so you can test out the custom EA4 package before using it on a production system: Quickstart Development Guide - Obtain a cPanel Developer License - Developer Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.