Guest User

Untitled

a guest
Oct 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName example.example.com
  3. DocumentRoot /var/www/example.example.com/web
  4. ErrorLog /var/www/example.example.com/error.log
  5. CustomLog /var/www/example.example.com/requests.log combined
  6. </VirtualHost>
  7.  
  8. <VirtualHost *:443>
  9. # Admin email, Servername, and ailases
  10. ServerAdmin admin@example.com
  11. ServerName example.example.com
  12.  
  13. #Index file and document root
  14. DirectoryIndex index.php
  15. DocumentRoot /var/www/example.example.com/web
  16.  
  17. #SSL certs
  18. SSLCertificateFile /etc/httpd/ssl/example.example.com.crt
  19. SSLCertificateKeyFile /etc/httpd/ssl/example.example.com.key
  20.  
  21. #Log locations
  22. LogLevel warn
  23. ErrorLog /var/log/httpd/example.example.com/error.log
  24. CustomLog /var/log/httpd/example.example.com/requests.log combined
  25. </VirtualHost>
  26.  
  27. Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
  28.  
  29. httpd.service - The Apache HTTP Server
  30. Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)
  31. Active: failed (Result: exit-code) since Wed 2015-07-29 00:56:20 UTC; 40s ago
  32. Process: 21318 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  33. Process: 21317 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
  34. Main PID: 21317 (code=exited, status=1/FAILURE)
  35. Status: "Total requests: 11; Current requests/sec: 0; Current traffic: 0 B/sec"
  36.  
  37. Jul 29 00:56:20 localhost.localdomain systemd[1]: Starting The Apache HTTP Server...
  38. Jul 29 00:56:20 localhost.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
  39. Jul 29 00:56:20 localhost.localdomain systemd[1]: Failed to start The Apache HTTP Server.
  40. Jul 29 00:56:20 localhost.localdomain systemd[1]: Unit httpd.service entered failed state.
  41.  
  42. AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
  43. Syntax OK
Add Comment
Please, Sign In to add comment