Giter Club home page Giter Club logo

forward's Introduction

Forward

What is it?

A forward is a piece of software which you can put on a website (or directory or subdomain). It will then forward all traffic to that page to another location.

For example, if you put this piece of code on the domain foo.com and configure it to redirect to bar.com, all traffic to this domain will end up at bar.com

How can i use it?

Downloading & Installation

First go to https://github.com/DonMul/forward and download this code by pressing the green Clone or download button and then pressing Download zip.

This codebase will then be downloaded. After the download is done, you should extract the zip that just downloaded and the codebase in these need to be uploaded with your favorite client to your website. If you want to redirect all traffic to your website, you need to put it in the document root of your website, or if you want to redirect a specific directory, create that directory and upload this to that directory.

Configuration

Once everything is in place, you'll need to configure it. This can be done by going to the location that needs to be redirected and add a /admin to it. For example, if you uploaded this to foo.com/bar, go to foo.com/bar/admin. This will show you a page which requires you to input an URL and a password. The URL should be the url the redirection should go to. The password is DMf0rwardP@ssword by default, but this can be changed.

Change password

If you want to change the password, you should edit the configure.php file. On line 13, you'll see

    private const PASSWORD = 'DMf0rwardP@ssword';

If you want to change the password, you'll need to edit what's between the quotes ('). For example, if you want to change the password to foobar, it will end up looking like this:

    private const PASSWORD = 'foobar';

forward's People

Watchers

James Cloos avatar Joost Mul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.