2021-07-05 06:50:25 +00:00
|
|
|
#!/bin/bash
|
|
|
|
r_log "httpd" "Verify httpd branding"
|
|
|
|
|
|
|
|
r_log "httpd" "Token"
|
2022-06-22 01:21:01 +00:00
|
|
|
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (Rocky Linux)" > /dev/null 2>&1
|
2021-07-05 06:50:25 +00:00
|
|
|
r_checkExitStatus $?
|
|
|
|
|
|
|
|
r_log "httpd" "index"
|
|
|
|
curl -sI http://localhost/ | grep -i "Rocky" > /dev/null 2>&1
|
|
|
|
r_checkExitStatus $?
|