It’s almost close to launching, so I thought I’d share some screenshots with you, in particular the IT crowd inspired 404 and 500 pages.
Community Resource for visualisation is a site which enables researchers to collectively build up a reference resource for papers in the visualisation field. In the future, we’d like to open this up to any field so that we can build a searchable resource that intuitively organises references.
Our 500 server error page.
Our 404 page not found page.
I’m putting this here, more as a reminder to myself, but also to perhaps help other people who want a simple no-frills guide to using Apache with mod_proxy to deal with your Tomcat content.
I wanted a URL like this from tomcat, http://myurl:8080/myapp to be http://myurl/myapp – nice and clean you see 🙂
The typical way to do this is to use Apache to handle all the http requests to http://myurl/myapp and to use a proxy to forward those requests to say http://myurl:8080/myapp – meanwhile all the user sees is the lovely clean URLs. I’ll give a brief account of how to do this here.
1. If you’re using the latest release of Apache (2), mod_proxy should be installed already. If not, do this:
- sudo apt-get install libapache2-mod-proxy-html
- apt-get install libxml2-dev
- add this to httpd.conf
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
- Restart Apache to ensure there are no issues.
2. In your Apache httpd.conf file, you need to add two lines for each application you wish to have mod_proxy handle.
ProxyPass /myapp http://myurl:8080/myapp
ProxyPassReverse /myapp http://myurl:8080/myapp
This is now telling Apache to forward any requests to myapp to Tomcat essentially which is listening on port 8080.
3. Next, you need to modify server.xml to tell Tomcat about the forwarding that’s going on. For that, you add the following.
A few months ago, a friend named Chris Boddy from the Physics Department of Oxford University released the first version of LHSee. It gained worldwide acknowledgement and has received over 30,000 downloads, but was criticised for the user interface. Chris asked me to come on board and redesign the menu system first.
Now, we have the new version released! Here is how the menu looks now.
New menu screen for LHsee
Download the new version here.
The new version of GSC Meetings is out, with a new twitter feed feature. In this release, when conference delegates make tweets including the #gsc11 hash tag, their posts will automatically show up inside the app.
Click here or on the image below to go to it’s dedicated site where you can download the app.
Main Screen for GSC Meetings version 0.2