Configuring Resin to Port 80 for Railo

When you install Railo the port for Resin is defaulted to Port 8600 so in order to see your install you need to go to http://localhost:8600. Well what if you want to run it under port 80?

Configuring Resin to Port 80

Under your Railo /railo/conf open up your resin.conf file. Search for <server-default> once you have found that tag almost directly under it should be the following <http address="*" port="8600"/> Simply change the 8600 to 80 and you should be able to view your Railo install with http://localhost

Cautionary Note

If you are running IIS you will first need to either stop the standard website or shut the service down or you will get an error from Resin when you try to save the change.

2 Comments to "Configuring Resin to Port 80 for Railo"- Add Yours
bagar's Gravatar Hey, glad to see others finally blogging about Railo!

I have a question for you and any others. I want to set up a catch-all site alias for my resin/railo site. The section in the resin.conf file for <host ...></host> is where you set up each site and it's aliases. Like this:

<host id='websiteone.com'>
<host-alias>subdmn_a.websiteone.com</host-alias>
<host-alias>subdmn_b.websiteone.com</host-alias>
<host-alias>subdmn_c.websiteone.com</host-alias>
<root-directory>/www/websiteone/</root-directory>
<web-app id="/">
<document-directory>.</document-directory>
</web-app>
</host>

But I need a lot of subdomains. I don't want to specify them all and have to restart the server each time I add a new one. (Serious annoyance and site disturbance!)

Apache has a catch-all using the "*.websiteone.com" notation but I can't get it to work with Resin. I would really like to have this:

<host id='websiteone.com'>
<host-alias>*.websiteone.com</host-alias>
<root-directory>/www/websiteone/</root-directory>
<web-app id="/">
<document-directory>.</document-directory>
</web-app>
</host>

Does anyone know how to make this work with Resin? Please. please??

Thanks in advance.
# Posted By bagar | 11/20/08 1:34 AM
Jamie Krug's Gravatar @bagar: A quick search turned up the resin docs, where I noticed a host-alias-regexp tag. I think this is exactly what you're looking for:
http://www.caucho.com/resin/doc/host-tags.xtp#host...

Best,
Jamie
# Posted By Jamie Krug | 2/26/09 12:43 AM

Powered By Railo

Subscribe

Subscribe via RSS
Follow garyrgilbert on Twitter Follow me on Twitter
Or, Receive daily updates via email.

Tags

adobe air ajax apple cf community cfml coldfusion examples ext flash flex google javascript max2007 max2008 misc open source programming railo software technology ui

Recent Entries

No recent entries.

Blogroll

An Architect's View
CFSilence
Rey Bango
TalkingTree

Wish List

My Amazon.com Wish List