A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/fyi/domains/anna.fyi/public_html/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/fyi/domains/anna.fyi/public_html/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/fyi/domains/anna.fyi/public_html/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/fyi/domains/anna.fyi/public_html/index.php
Line: 315
Function: require_once

Checking Redirects - Pastebin courtesy of Miss Anna

Checking Redirects

From Anna, 2 Years ago, written in Bash, viewed 247 times.
URL https://anna.fyi/view/43a0ee1b Embed
Download Paste or View Raw
  1. #!/bin/bash
  2. read -p 'What is the base domain to check redirects for? ' DOMAIN
  3.  
  4. echo " "
  5. echo "=============================="
  6. echo " "
  7. echo "Non-www and non-SSL : http://$DOMAIN"
  8. curl -Is http://$DOMAIN | grep -E 'HTTP|Location'
  9. echo " "
  10. echo "=============================="
  11. echo " "
  12. echo "www and non-SSL : http://www.$DOMAIN"
  13. curl -Is http://www.$DOMAIN | grep -E 'HTTP|Location'
  14. echo " "
  15. echo "=============================="
  16. echo " "
  17. echo "Non-www and SSL : https://$DOMAIN"
  18. curl -Is https://$DOMAIN | grep -E 'HTTP|Location'
  19. echo " "
  20. echo "=============================="
  21. echo " "
  22. echo "www and SSL : https://www.$DOMAIN"
  23. curl -Is https://www.$DOMAIN | grep -E 'HTTP|Location'
  24. echo " "
  25. echo "=============================="

Reply to "Checking Redirects"

Here you can reply to the paste above