ea4-customization

  1. A

    Custom access_log apache httpd

    hello, how do i force cpanel/whm to log all requests of http? I tried accessing one of my virtual hosts domains and cannot see my own logs (ip, file requested etc). tail -f /usr/local/apache/logs/access_log example of output of the logs 127.0.0.1 - - [19/Nov/2016:08:26:25 -0500] "GET /...
  2. M

    Apache Template

    It´s not solved in that thread if that´s what you meant. I don´t mind you answer there or here. I have seen the templates here /var/cpanel/templates/apache2_4/ssl_vhost.local as in the past I´ve been able to use those local templates to change the LogFormat from %h to %a. but honestly i see...
  3. urantian

    Prevent vhost.default Overwrite?

    Greetings, My server provides a common cgi-bin directory structure, allowing multiple sites to run the same scripts. In the /var/cpanel/templates/apache2_4/vhost.default file, I modified the ScriptAlias template, to use a common ScriptAlias in the HTTPD.CONF file. I changed the "[%...
  4. R

    Install httpd-mmn

    We are on a server with CENTOS 7.2 x86_64 with WHM 60.0 (build 17). For a project that we have, we want to use Python3.5. For the installation, we decided to use the ius.io/ repos to do so and we encountered no problems with that. However we also need the relevant mod_wsgi, and the one...
  5. I

    SOLVED AllowOveride None to Home Directories

    Hi guys, As I understand it, this directive below (in httpd.conf) allows .htaccess in root directory and below - so everywhere? <Directory "/"> AllowOverride All Options FollowSymLinks Indexes SymLinksIfOwnerMatch </Directory> That was already like that so I presume it's a default but I'd...
  6. M

    /scripts/rebuildhttpdconf generation failed

    Hi, When I run the rebuildhttpdconf I get the following error: /scripts/rebuildhttpdconf Initial configuration generation failed with the following message: The â/usr/sbin/httpdâcommand (process 12526) reported error number 1 when it ended. Rebuilding configuration without any local...
  7. Y

    SetEnv doesn't appear in php info

    Hey, I've been setting up NewRelic for myself based on this little guide that I found here: blog.rac.me.uk/2013/05/29/new-relic-cpanel-apache-and-fastcgi-php/ Long story short, we setup SetEnv in httpd.conf with every VHost. Then, that variable should be used in php.ini. Problem is, I tried...
  8. F

    how to find httpd.conf file ?

    I'm unable to find the httdp.conf on my whm panel
  9. T

    how to install mod remoteIP

    help me please, i can't installing ngixcp in cpanel because not found mod remote ip: " Welcome to the Nginx Admin installer......Starting Install Please Wait ....... Generating vhosts... Installing WHM interface... Installing mod_remoteip... RemoteIP module not found at...
  10. I

    Remove custom vhost

    Hello, I changed the document root on one of our domain/account, instead of using public_html I used public_html/public. But when I access the site, it redirects to the default cgisys page of cpanel. I want to know how to remove the custom vhost created in...
  11. R

    Temporary log format change

    Hello! I need to change for temporary period log format for single domain with subdomains. I have seen that on httpd.conf there are lines for domain and subdomains. CustomLog /usr/local/apache/domlogs/api.dev.domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ." When opening the...
  12. Trax2k

    html header

    How can i add an html header or html footer to every hosted website? I don't need to have much control other than the ability to force such a file over ever hosted website on the servers? Thanks, Jason
  13. S

    Apache Proxy Redirect

    Hi, I'm currently in the process of setting up a WebSocket with NodeJS however I've hit a bit of an issue in the configuration. I'm trying to setup a proxy redirect over https for port 8443 on a subdomain with HSTS Enabled, except I have an SSL Handshake issue. I've tried utilizing ProxyPass...
  14. sohlinux

    ignore something being written to apache error log

    Hello, In my apache error log I am getting 1000s of entries like the following, how can I fix this or at least stop it being logged to the apache error log? is there a way to ignore/exclude this? , it looks like it is related to ffmpeg which in fact is working fine so just ignoring the error...
  15. wintech2003

    Apache log format issue with EasyApache 4

    I'm experiencing the same issue after updating to v58 and/or EA4 as well (not sure what caused it). The LogFormat change from %h to %a will not stick anymore - it was working fine before that. Even after using /usr/local/cpanel/bin/apache_conf_distiller --update and regardless of whether I edit...
  16. K

    distiller --update is not working

    Hello, I need to update my Server httpd.conf file. so i did follwoings I run this command to find the httpd.conf file location httpd -V Now i have location as HTTPD_ROOT="/etc/apache2" so i got this directory as bellow command cd /etc/apache2/conf and i edit the file nano httpd.conf I...
  17. carock

    EasyApache4 and custom templates

    I need to add some custom configuration to a virtual host. I'm running WHM 58.0 (build 28) This server is using EasyApache4 and this is my first server I've used with that. I started by looking at the Apache config file here: /usr/local/apache/conf/httpd.conf In each of the Virtual host...
  18. D

    Permanently remove cPanel redirects

    We keep all our cPanel services on a dedicated IP, and don't allow connections on non-HTTP ports on any of our other IPs. With this redirection in place, bots will hit example.com/cpanel, get redirected to our management IP, and then start brute-forcing. We obviously have brute force protections...
  19. M

    Installing mod_evasive on a server running cPanel

    We would like to install mod_evasive (zdziarski.com/blog/?page_id=442) on CentOS having cPanel. We have done this on other servers not running cPanel without a problem. However, on cPanel severs it fails. The main reason is the non-standard way in which cPanel names the applications. for...
  20. I

    Question About installing mod_dav_svn.so on cPanel Server

    Hello i am trying to install mod_dav_svn module with the apache version already installed by easyapache . if i tried to install mod_dav_svn module from yum i will install total different httpd version than cpanel version so anyone know how to enable, compile or install mod_dav_svn module ...