ea4-customization

  1. V

    httpd-devel installation blocked

    I tried to install mod_geoip using the method on this website: - Removed - At the point where I need to install httpd-devel it fails, saying "Error: Nothing to do". I tracked this down to yum.conf blocking the installation. My question is, if I allow this install to go ahead (by removing the...
  2. I

    No pre/post virtualhost includes

    I am struggling to debug a problem with mod_remoteip not being logging clients IP addresses. I believe the problem is the absence of Pre/Post virtual host includes in the main conf/httpd.conf file. cPanel documentation refers to using include files editor Include Editor - Documentation -...
  3. WebHostPro

    Configuring ratelimit module question

    I added ratelimit in the Easy Apache 4 but can't find were to add the vhost details: <IfModule mod_ratelimit.c> <Location /> SetOutputFilter RATE_LIMIT SetEnv rate-limit 512 SetEnv rate-initial-burst 625 </Location> </IfModule> I tried in the config file...
  4. S

    SOLVED Editing IfModule mod_include.c on virtualhost permanently

    I'm trying to add: Include /etc/apache2/custom.d/globalblacklist.conf Inside httpd.conf <IfModule mod_include.c> <Directory "/home/cowboy/public_html"> SSILegacyExprParser On Include /etc/apache2/custom.d/globalblacklist.conf </Directory> </IfModule> This is impossible to...
  5. I

    Apache 2.4 mod_auth_kerb

    Hi, I need the kerberos auth module for apache but I can't see any possibility to set it up via easyapache4 in WHM. If I do a yum search kerb I get: mod_auth_kerb.x86_64 : Kerberos authentication module for HTTP But I believe this is the module for the OS apache package and can't be used with...
  6. J

    EA3 to EA4 - Permanent httpd.conf Changes

    These are old threads of mine where I described how i wanted to permanently change the httpd.conf file to add system-wide mime types to make an .aspx file be ran as a php file and also get rid of the mysite.tld/whm and mysite.tld/cpanel shortcuts. System-Wide Apache Handler and MIME Types...
  7. R

    EA4: Apply to all virtual hosts on the system not working

    I want to apply some configuration, which to be common for all vhosts and want to include it to all of them. According EA4 documentation I have to use /etc/apache2/conf.d/userdata/$includename.conf file. For example I'm trying with a simple redirect rule: cat...
  8. Anthony Parsons

    Moving From htaccess to .conf includes

    Lots of research later, the overall conclusion is that even Apache don't recommend using .htaccess when you control the server, THUS my conundrum is that I want to move away from htaccess to virtual host includes, but I don't really understand the actual include requirements. What I understand...
  9. R

    Configure Apache for Duplicate Logging

    I need to configure Apache to create a duplicate access and error log. I used to be able to do the following but this no longer works: To make a separate set of log files without messing with these /var/cpanel/templates/apache2/main.default /var/cpanel/templates/apache2/main.local...
  10. E

    EA4 Where is the domain conf file path?

    Hi all, I am new on EA4 I installed the cPanel WHM 60.32 Then run the EA4 Profile to build the Apache and PHP 5.5 (ea-php55 with PHP-FPM) mode running ... And I have make a new user under WHM, this user name webabc Then FTP my PHP App to this account. All work ... But once I am login by...
  11. grayloon

    SOLVED Global Log

    I just switched from EA3/Apache 2.2 to EA4/Apache 2.4. Previously, I had a the following in my /usr/local/apache/conf/includes/pre_main_global.conf file: <IfModule mod_log_config.c> LogFormat "%V %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" mycustom </IfModule> Then, I had...
  12. E

    Need mod_perl2

    Hi, I have a fresh cPanel installation which comes with EasyApache4. I noticed that mod_perl is not compatible with EA4. How can I install it? Do I need to do it manually? From what I read in mod_perl: Download, mod_perl2 is compatible with Apache 2.4.x. Thanks in advance, Eugenio Pacheco
  13. G

    Add internal IP address to existing Virtual Host?

    I have a Linux CentOS 7.2 server with Apache 2.4 whose httpd.conf is created/maintained by WHM 60.0 build 31. The httpd.conf file has a Virtual Host section for one of my websites that looks like: <VirtualHost xxx.xxx.xxx.xxx:80> ... </VirtualHost> Everything runs fine. Now, I need to...
  14. A

    Custom Flags PHP easy apache 4

    Hello, I need to build PHP 5.5 with custom flags, under easy apache 3 it is easy: ---- Edit /var/cpanel/easy/apache/rawopts/all_php5 and add this line in the file as follows: --with-mssql=/usr/local/freetds Run easyapache and it will build with mssql support. ---- But, under easy...
  15. Y

    mod_limitipconn for easyapache4

    Hi! I want to install mod_limitipconn on my vps, but I cannot find mod_limitipconn on the easyapche4. Can I use instructions of David Jao (mod_limitipconn official) as following to install on my vps? Is it compatible to easyapache4? If not, how to custom the mod from easyapache4...
  16. urantian

    SOLVED Re-Direct Default IP to Domain

    Greetings, When I navigate to my default IP address, it re-directs to IP/cgi-sys/defaultwebpage.cgi. What is the best way to re-direct the default IP to a hosted domain instead, while ensuring that the change will not be over-written during an update? Thank you!
  17. C

    SOLVED New server, need APXS

    I have a new server, CentOS 7....I am trying to add mod_h264. During the configure I get a error saying it cannot find an apxs binary. I search the web and turns out it should be in the httpd-devel rpm....so I try to install that but come to find out its blocked via yum.conf How the heck...
  18. M

    SSL cert throw /usr/sbin/httpd error

    Hi, I just was triying to install a SSL cert for a domain and when I clicked install, I got the following error message, but I dont know where to look to fix it. It seems that something is wrong with the httpd.conf file but if checked with httpd -t it seems ok. Any idea? The...
  19. S

    SOLVED Any way to install "custom" modules in EasyApache4?

    CpanelMichael, My question is related to the custom modules but I'm not sure if I should create my own topic or add to this one. If I should create my own topic, could you please move this to a new thread? Once we're given the ability to add custom modules to EasyApache 4, would we be able to...
  20. F

    URL with Port Redirect

    Hello Guys, I have moved a website from virtualmin host to a cPanel one. The site used to open with a port in the URL such as https://domain.com:8446 and now it doesn't work(ERR_CONNECTION_TIMED_OUT), It works fine if i open it from https://domain.com. However my google results are stored...