Search results

  1. P

    Add ssl_mod to existing apache server?

    We have an isolated (no internet connection) RHEL7 system with existing httpd service running. Now we want to add ssl_mod to the apache server. Most ssl setup posts started with 'yum install mod_ssl', so one we we can go is to download mod_ssl and all dependencies and run local install on the...
  2. P

    How to make 'sed' to skip commented lines starting with '#'?

    I'm using 'sed' to modify config files. Specifically, I'm using 'sed' to search lines with "</Direcotry>" and insert lines above it. My example command is as below (test.conf file contains multiple sections of <Directory ....>....</Directory>- sudo sed –i.bak ‘/<\/Directory>/i...