HTTP Forwards are being used a lot. And it's even very easy to use the actual path if your domain or URL has changed for example.
So let's say you are using a free hoster and you want to forward your webpages to another domain: http://username.mywebhost.bla/files/page1.html -> has to be pointed to http://www.mydomain.info/files/page1.html Note that only the domain name changes. The problem in this situation was, that mod_rewrite and PHP is not activated on the free hoster server (username.mywebhost.bla). So we have to find another solution.
var path = location.pathname;
document.write("<meta http-equiv='Refresh' content='0; url=http://www.mydomain.info"+ path +"'>");
No comments yet.
AWS Android Ansible Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Container Containers CouchDB DB DNS Database Databases Docker ELK ElasticSearch Elasticsearch Filebeat FreeBSD GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb2 InfluxDB Internet Java Kibana Kubernetes LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Rancher SSL Security Shell SmartOS Solaris Surveillance SystemD TLS Tomcat Ubuntu Unix VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder