L2 Cache

Behold the power of |!

User Tools

Site Tools


Sidebar

projects:solaris:goto

This is an old revision of the document!


Table of Contents

GoTo

GoTo is a simple service (for Solaris) written in python using the bottle module.

It provides a simple redirection service. (Short) URI's are mapped to URL's. This allows for sharing and consolidating of a lot of internal tools and webapps in one place.

How it works

A zone or solaris host will run the GoTo Service (network/http/goto). It will then serv and index of all configured links from /etc/goto.map or it will serv a redirection page when visiting one of the links.

In this little section my zone has is called lynx.lab.acheron.be with an IP of 10.123.0.5.
Typing http://lynx.lab.acheron.be/mail is still a bit long and so is http://lynx.lab/mail so I also configured a DNS cname for this host goto.

For some reason shorter names like go or g2 don't work well. Safari, Chrome and Firefox turn them into http://www.go.com/ or http://www.g2.com/.

Typing http://goto/mail will now redirectio to whatever was configure for the /mail, in my case http://mail.google.com/. You can omit the first bit and just type goto/mail.

Pretty simple isn't it. Ofcourse you can redirect anything to anything, you could even redirect goto/vnc-cepheus to vnc://cepheus, ofcource your browser/os would need to have a protocol handler configured for vnc.

Installation

The installation is quite simple if you run OmniOS.

Simple add the omnios.blackdot.be repository and install the goto package. You then edit goto.map and enable the service.

USER
# pfexec pkg set-publisher -g http://omnios.blackdot.be -g omnios.blackdot.be # pfexec pkg refresh –full # pfexec pkg install obd/server/web/goto # pfexec vi /opt/obd/etc/goto.map # pfexec svcadm enable goto # pfexec svcs -x (to check for errors)

Currently there are no manual installation instructions, if there is interest in this I will write them up when I have more time. For any questions you can contact me through my website.

projects/solaris/goto.1374444250.txt.gz · Last modified: 2014/10/09 22:02 (external edit)