indiWiz.com

Subhash's Tech Log

Archive for the ‘apache’ tag

Subversion project moving into Apache Foundation

without comments

I was surprised when my friend Senthil (he is a Subversion committer) broke the news that Subversion project is moving to Apache Software Foundation. Read the official Collabnet announcement.

Written by Subhash Chandran

November 16th, 2009 at 11:15 am

Posted in news

Tagged with ,

Apache Software Foundation’s Older Releases

without comments

I was surprised to find that Apache Software Foundation’s older software releases were not present in their distribution site. They have a new site archive.apache.org/dist where they archive older releases.

Written by Subhash Chandran

July 7th, 2009 at 5:28 pm

Posted in news

Tagged with ,

Setting up URL Shortening Servlet behind Apache

without comments

Today I worked on setting up my URL redirection servlet (download) in our office to share internal links with my colleagues. I deployed it in JBoss. When I deployed this module as r.war, JBoss complained saying java.lang.IllegalArgumentException: Prefix string too short. I renamed the war as redir.war and deployed it.

When I tried accessing the JBoss URL from another system in the network, I found that JBoss was not accepting connection from other systems in the network. Then I configured Apache to use ProxyPass:

ProxyPass /r http://localhost:1111/redir
ProxyPassReverse /r http://localhost:1111/redir


Note: JBoss was listening in port 1111 in my case. I added this to my apache configuration and restarted Apache. Now I have a cute URL shortening service which is accessible as http://myhost/r/<string>.

Written by Subhash Chandran

June 18th, 2009 at 10:33 am

Posted in Uncategorized

Tagged with ,