I have re-uploaded the ABMaterial demo to my site and have redirected a folder to the demo page.
So, how do you redirect to a port? Using my demo of ABMaterial (1.03) as an example:
Origin URL: http://coldbluelava.com/abmaterial
Destination URL: http://coldbluelava.com:13131/demo/
Well, just use this PHP code snippet:
With Dir:
Without Dir:
If you have Ubuntu, then allow traffic to the port with this command:
(With this discovery that PHP can redirect to a port, I've given myself the green light to rewrite my site.)
So, how do you redirect to a port? Using my demo of ABMaterial (1.03) as an example:
Origin URL: http://coldbluelava.com/abmaterial
Destination URL: http://coldbluelava.com:13131/demo/
Well, just use this PHP code snippet:
With Dir:
PHP:
<?php header('Location: http://mysite.com:port/dir'); ?>
PHP:
<?php header('Location: http://mysite.com:51042/'); ?>
If you have Ubuntu, then allow traffic to the port with this command:
B4X:
sudo ufw allow <PORT>/tcp
(With this discovery that PHP can redirect to a port, I've given myself the green light to rewrite my site.)
Last edited: