Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
#!/bin/bash echo "Enter the domain name you would like to redirect from, eg owa.alexfoti.com" read domainname echo "Enter the URL that you want to redirect to, eg http://126.96.36.199/exchange" read redirecturl echo " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Redirecting.....</title> <meta http-equiv="REFRESH" content="0;url=$redirecturl"></HEAD> <BODY> Redirecting....... </BODY> </HTML> " > "/opt/lampp/htdocs/$domaininame/index.html" echo " done :)"
Join the community of 500,000 technology professionals and ask your questions.