Git Product home page Git Product logo

Comments (8)

fevangelou avatar fevangelou commented on September 21, 2024

You're probably missing some dependencies.

What cPanel & CentOS versions are you using?

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

Also try this:

  • Download the engintron.sh file
  • Edit line 46 and replace:
    apxs -i -c -n mod_rpaf-2.0.so mod_rpaf-2.0.c
    with:
    apxs -c mod_rpaf-2.0.c
    apxs -i -a -n mod_rpaf mod_rpaf-2.0.c

Then simply re-run the installer:
$ sh engintron.sh install

Maybe compiling for Apache modules is different in Apache 2.4 that it's in 2.2.

Let me know please.

from engintron.

georgetasioulis avatar georgetasioulis commented on September 21, 2024

Hello,

I'm running CentOS 6.5 with cPanel 11.42.1

I'm not missing any dependencies, it's just that Apache 2.4 comes with mod_remoteip built in to replace mod_rpaf. However if someone really wants to use mod_rpaf the solution is to change references to properties beginning with remote_ so that they begin with client_ instead.

You can find numerous forums/blogposts regarding this matter if you google mod_rpaf apache 2.4.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

So in this case, it's probably safe to assume that you don't need mod_rpaf at all.

Try commenting line 850 (add a # in front of "install_mod_rpaf").

Then simply re-run the installer:
$ sh engintron.sh install

from engintron.

georgetasioulis avatar georgetasioulis commented on September 21, 2024

It appears that cPanel doesn't compile mod_remoteip into Apache 2.4 by default after all.

One can either download mod_remoteip, compile the module and add the necessary config to pre_virtualhost_global.conf, or download the mod_remoteip "Opt Mod" from cPanel in order to make it available in EasyApache

Given the circumstances I believe it's better to create a separate install function for mod_remoteip similar to the one for mod_rpaf (lines 34-85) and during the script installation, find out which Apache version is running on the server, and install as needed.

I will work on this tomorrow and push a commit to the Pull Request I opened earlier, so you can review the changes.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

I've already updated the script to include install/remove functions for mod_repoteip.

Please try this and let me know.

from engintron.

fevangelou avatar fevangelou commented on September 21, 2024

Any update on this?

from engintron.

georgetasioulis avatar georgetasioulis commented on September 21, 2024

I've tried it on both a Apache v2.2 cPanel server, as well on a v2.4 server and it works fine now 👍

from engintron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.