ea4-customization

  1. T

    How to set up AutoSSL on different port

    I am running a web script that is on a different web port. How do I get AutoSSL to install certification for web sites that are running on different port other than standard port 80. Example : https://example.com:10000
  2. S

    Custom VirtualHosts

    Hi folks - Forgive me if this has been answered already; I looked and couldn't find an answer. I know WHM allows you to have custom VirtualHosts and you're supposed to be able to create your own custom include files so nothing gets overwritten when Apache is rebuilt. I am however, struggling...
  3. S

    Unable to find (or modify) log format in Apache configuration.

    I'm trying to find - and modify - the "combined" log format Apache uses. And any other log-related settings, really. My /etc/apache2/conf/httpd.conf file has the following log format directive: <IfModule mod_log_config.c> ... LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"...
  4. O

    Developing custom Apache modules

    Hello, We have several servers that look like they are on 74 right now, but updates to 76 are pending. We have a need in our application for a custom Apache module. Are there any special considerations to make with WHM/EA4? Is the current Apache source already on the server somewhere so...
  5. jimlongo

    install apache module by script

    I have a module that requires mod_substitute to be installed. The installer script does something along these lines (after checking if the module is already installed, and which version of Apache) . . . error checking etc., removed wget -N...
  6. S

    Add Code to httpd.conf with Include?

    Hello, Please i need help figuring how to edit my httpd.conf file and add a url rewrite map ( RewriteMap lc int:tolower) In The Virtual Hosts for the whole server. please if my explanation is wrong i beleive you should know what i mean to do.. i have whm root access as the server belongs to me...
  7. C

    Installing modified source code in EasyApache4

    Script Hooks - EasyApache - cPanel Documentation Modify PHP source before it is compiled in EasyApache I'm wondering if the info in the pages above are relevant in easyapache4 if RPM's or SRPM's are used. But instead of PHP it's with proprietary additions to apache's deepest core (not a...
  8. C

    How to Disable Updating of Individual EA Module

    Hi, I've enabled mod_pagespeed in EA4 but I don't want that particular module to auto update since we're using the latest version of it and have updated it manually. When easyapache updates it, it reverts back to the older version. How can I disable the updating of this module? I tried adding...
  9. L

    question about apache 2.4 virtual host config

    Hi , I have finally migrated my server from centos 5.3 apache 2.2 cpanel 56 to cents 7.3 apache 2.4 cpanel 64. I have some problems in configuring virtual hosts as many configurations is changed. I used to have per user php.ini file outsite of users directory. I have read some pages regarding...
  10. G

    Virtual Host

    Hello I try to read differents tread but i don't find the solution. I don't know how to create or setting virtual host for a domain How can I do ? Thanks Gabriele
  11. E

    SOLVED EA4 compiling a module for 55 or 56 problem

    Hey everyone I have PhpPhalcon running on one of my boxes for a client. Well one of my guys accidentally ran EA4 migration (we were doing the other boxes) on this one. I quickly was able to compile phalcon.so for php7 and seemed like it worked well their dev said no it would be $$ to make...
  12. S

    Need to change Document root

    Hi, I need to change document of a domain to the sub directory present on public_html. In EA3 we were able to make changed through httpd.conf and can do distill to make the the changes permanently. But in Ea4 changes made in httpd.conf is not getting saved permanently and we cannot use the...
  13. T

    SOLVED Add line of code to Vhost?

    Hi I am getting this error line in the log file: '401 No basic authentication headers were found' And need to add this line below to the vhost file as per this thread: [Moderator Note: Link to external URL removed per forum rules] SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 before the...
  14. C

    Installing XDebug with EA4

    Hi, I was trying to install XDebug on my WHM server following some guides in the internet. However all of them are outdated because they were only compatibel with EA3. What I have done so far: 1. cd /usr/bin 2. wget https://xdebug.org/files/xdebug-2.5.1.tgz 3. tar -xzvf xdebug-2.5.1.tgz 4. cd...
  15. A

    SOLVED Website in one server, mail in another

    Hi. I recently changed the website to one server, keeping the mail in the old server, so: domain.com A IPNewServer domain.com MX mail.domain.com mail A IPOldServer ----------------------------- webmail.domain.com -> OK mail.domain.com -> OK domain.com/webmail -> Redirects to domain.com:2096...
  16. S

    Setting apache timeout for different domains/virtualhosts

    I'm looking to set a custom apache timeout value for one or two domains / virtualhosts. I was thinking of adding something to post_virtualhost_global, but I'm not sure if I need the whole virtualhost block and whether it will override the one that WHM creates itself. Just wondering the correct...
  17. G

    EA 4, PHP with ZTS

    Can we use the tricks in EA3, to enable ZTS in php? I can't seem to find anything about this in EA4. How to install PHP pthreads or ZTS? Anyone can help?
  18. caisc

    setting up mod_evasive with easyapache4 on cloudlinux 7

    Hi, want to setup mod_evasive with easyapache4 on my cloudlinux 7 OS server, Tried to do EasyApache4 but was unable to find mod_evasive in the module list. Please can someone guide to do the same. Thanks
  19. 007basaran

    EA4 - Mod_evasive - Nginx Proxy - Layer 7 DDOS Attacks

    Hello, Linux CentOS can do DDoS protection settings on any server, but this is not possible in cPanel. I can activate CSF + Nginx + Mod_evasive with any control panel and provide protection. I tested it. We use Easyapache 4. HTTP, GET, POST, HEAD - Protection against DDoS attacks is not...
  20. M

    How to include subdomain specific configuration files

    I have been researching for days to include subdomain specific configuration files in subdomain virtual host configuration that is in main server configuration file. My overall goal is to add proxy pass and proxy pass reverse configuration that are different in each subdomain. For example: I...