Skip to content

Instantly share code, notes, and snippets.

@bobby5892
Created January 31, 2019 20:26
Show Gist options
  • Select an option

  • Save bobby5892/57b1fbc9bd2e7fc6d5daad9f58e1374b to your computer and use it in GitHub Desktop.

Select an option

Save bobby5892/57b1fbc9bd2e7fc6d5daad9f58e1374b to your computer and use it in GitHub Desktop.
creating apache forwader
let i = 0;
let port = 5000;
let body = document.getElementById("body");
body.innerHTML = "";
while (i < 100){
i++;
port++;
body.innerHTML += "<br>ProxyPass /p"+ port +" http://localhost:"+ port +"/";
body.innerHTML += "<br>ProxyPassReverse /p"+ port +" http://localhost:"+ port +"/";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment