Skip to content

Instantly share code, notes, and snippets.

@0zuna
Last active October 27, 2021 16:10
Show Gist options
  • Select an option

  • Save 0zuna/282d68f77e53bef37e4439fd75bfa5fd to your computer and use it in GitHub Desktop.

Select an option

Save 0zuna/282d68f77e53bef37e4439fd75bfa5fd to your computer and use it in GitHub Desktop.
.htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^checklist.usupso.com.mx/$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.checklist.usupso.com.mx/$
RewriteCond %{REQUEST_URI} !public/
RewriteRule (.*) /public/$1 [L]
//redirect port golang example
RewriteEngine On
RewriteRule index.html http://kangoru.com:8080/ [P]
RewriteRule (.*) http://kangoru.com:8080/$1 [P]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment