L2 Cache

Behold the power of |!

User Tools

Site Tools


projects:solaris:goto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:solaris:goto [2013/07/21 23:57]
sjorge
projects:solaris:goto [2015/05/23 16:33] (current)
sjorge [GoTo]
Line 1: Line 1:
 ====== GoTo ====== ====== GoTo ======
 +<​note>​Packages are no longer provided, source remains available here:\\ [[https://​github.com/​sjorge/​omnios-build-blackdot]]</​note>​
 +
 GoTo is a simple service (for Solaris) written in python using the [[http://​bottlepy.org|bottle]] module. GoTo is a simple service (for Solaris) written in python using the [[http://​bottlepy.org|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.+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. ​
  
 +The idea came from tinyurl.com,​ but I did want some more meaning full URL's instead of gibberish.
 ===== How it works ===== ===== 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.+A zone or solaris host will run the GoTo Service (network/​http/​goto). It will then serv an 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.\\ In this little section my zone has is called //​lynx.lab.acheron.be//​ with an IP of 10.123.0.5.\\
Line 17: Line 20:
  
 ===== Installation ===== ===== 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. Optionally create/edit goto.hostname wich will hold a alternative IP or IP:PORT to listen on. It defaults to 0.0.0.0:80.
 +
 <​konsole>​ <​konsole>​
 # pfexec pkg set-publisher -g http://​omnios.blackdot.be -g omnios.blackdot.be # pfexec pkg set-publisher -g http://​omnios.blackdot.be -g omnios.blackdot.be
 # pfexec pkg refresh --full # 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)
 </​konsole>​ </​konsole>​
  
 +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 [[https://​blackdot.be/​contact/​|contact me]] through my website.
  
 +==== goto.map format ====
 +<​code>​
 +## goto.map
 +# format:
 +# uri: URL
 +/mail: https://​mail.google.com/​
 +/m: https://​mail.google.com/​
 +/g: https://​www.google.com/​ncr
 +</​code>​
projects/solaris/goto.1374443864.txt.gz · Last modified: 2014/10/09 22:02 (external edit)