Advertisement
lamiastella

~$ apachectl -S

Sep 17th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. ~$ apachectl -S
  2. VirtualHost configuration:
  3. *:80 www.buhcomp.com (/etc/apache2/sites-enabled/000-default.conf:5)
  4. *:443 is a NameVirtualHost
  5. default server ip-172-31-43-224.us-west-2.compute.internal (/etc/apache2/sites-enabled/000-default.conf:33)
  6. port 443 namevhost ip-172-31-43-224.us-west-2.compute.internal (/etc/apache2/sites-enabled/000-default.conf:33)
  7. port 443 namevhost ip-172-31-43-224.us-west-2.compute.internal (/etc/apache2/sites-enabled/default-ssl.conf:2)
  8. ServerRoot: "/etc/apache2"
  9. Main DocumentRoot: "/var/www"
  10. Main ErrorLog: "/var/log/apache2/error.log"
  11. Mutex watchdog-callback: using_defaults
  12. Mutex rewrite-map: using_defaults
  13. Mutex ssl-stapling: using_defaults
  14. Mutex ssl-cache: using_defaults
  15. Mutex default: dir="/var/lock/apache2" mechanism=fcntl
  16. Mutex mpm-accept: using_defaults
  17. PidFile: "/var/run/apache2/apache2.pid"
  18. Define: DUMP_VHOSTS
  19. Define: DUMP_RUN_CFG
  20. Define: MODPERL2
  21. Define: ENABLE_USR_LIB_CGI_BIN
  22. User: name="www-data" id=33 not_used
  23. Group: name="www-data" id=33 not_used
  24.  
  25.  
  26. $ sudo ls /etc/ssl/private/
  27. ssl-cert-snakeoil.key
  28.  
  29.  
  30.  
  31. ubuntu@ip-172-31-43-224:~$ sudo lsof -i:443
  32. ubuntu@ip-172-31-43-224:~$ sudo lsof -i:80
  33. ubuntu@ip-172-31-43-224:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement