With multiple projects running locally I prefer to use virtual hosts so I can browse to http://project1.local and http://project2.local rather than http://127.0.0.1/project1 and http://127.0.0.1/project2
This is really easy in IIS ( point and click ).
Apache you have to touch some configuration files but there is alot of information out there on this.
With Resin it's also quite simple but there is far less information about this available.
I put together this walk through on the process.
And if your wondering about the performance of resin ( free edition ) Peter Bell's response should give you some confidence.
I run about 70 websites on Railo and Resin on a Win2k3 64bit server
with 8Gb of RAM and have excellent performance. Not to say it wouldn't
be better if I used the professional version.
http://groups.google.com/group/railo/msg/047ea89dea7c9385
Sample Virtual host block:
High Quality Version click here.
Related:
Setting up Resin Express.
Subscribe to:
Post Comments (Atom)
Categories-
- Actionscript (4)
- Adobe (6)
- AIR (1)
- BlackBerry (1)
- CFML (57)
- ColdFusion (74)
- ColdFusion 8 (12)
- ColdFusion 9 (27)
- Database (2)
- Flash (4)
- Flash 10 (5)
- FlashBuilder (3)
- Flex (26)
- Internet Explorer (1)
- iPhone (1)
- Java (8)
- jQuery (1)
- Linux (8)
- Microsoft (4)
- Open Blue Dragon (10)
- Open Source (11)
- Operating Systems (3)
- PHP (1)
- Railo (24)
- SQL (3)
- SVN (2)
- Twitter (2)
- VPS (1)
- Windows (5)

Blog Archive
-
▼
2009
(89)
-
►
December
(17)
- ColdFusion 9 and the local scope continued
- Is this an issue with the local scope in ColdFusio...
- Are you using ColdFusion 9's ORM?
- Want more performance from a default Railo install...
- WizzyWig the comic and snow
- Linux Start and Stop scripts for Ventrilo - Ubuntu...
- ColdFusion Builder Beta 3 - Any one seen this?
- Streaming AMF channel with ColdFusion 9 and BlazeD...
- Forwarding or masking your domain with GoDaddy
- Cheap ColdFusion hosting
- Should I get an iPhone?
- Full Screen Flex
- Googe Fade Demo
- Google now providing public DNS
- Cumulative Hot Fix 4 for ColdFusion 8.0.1
- Cheap bundled Apple Mac software
- Reading and writing binary to a mySQL database wit...
-
▼
November
(18)
- Railo and Flash remoting ( Flex )
- Railo Resin and Virtual hosts
- Railo Express with Resin and 64bit jre
- .NET or ColdFusion ?
- Flexbuilder / FlashBuilder 4 for linux
- Is your ColdFusion server/site secure?
- Railo GlassFish and Flex ( flash ) remoting
- Railo Apache and GlassFish
- Little known but helpfull ColdFusion function days...
- Start and Stop ColdFusion 9 with a batch file
- OpenBD Google App Engine and jars
- Want to win ColdFusion or Adobe software? - Conne...
- ColdFusion Builder and FlexBuilder 3 They do work ...
- ColdFusion 9 on GlassFish
- ColdFusion md5 hash directy in MSSQL
- Do I need a 64 bit Operating system? Part 2
- Query of a Query in ColdFusion script with the loc...
- Adobe offering Free Flex training for ColdFusion d...
-
►
December
(17)
Reccomended:
- Amazon Reccomendations
- Cell Phone Accessories
- Server firewall software
- Samsung Solstice Accessories
- Sites de Hospedagem
- Dedicated Server Hosting
- order cheap cigarettes
- hard drive rescue
- Technology Jobs for Felons Online
- ost Disk RAID Data Recovery
- SEO Company Winnipeg
- Best Coldfusion Hosting & 50% discount




5 comments:
It's worth mentioning also that the default resin / railo config is to reload the entire resin server when the config files are changed. It's not a huge concern if you aren't making frequent changes to your virtual hosts. Unfortunately I have not found a better way to do virtual hosts when Resin is involved.
You mention with this configuration Railo will have separate datasources and configurations per virtual hosts. I'm assuming the default example you showed where the virtual hosts were just setup on the IIS/hosts file side all shared the same configuration, correct?
How would it handle a case where the configurations / datasources should be the same for say admin.virtualhost.com and www.virtualhosts.com?
Thanks,
Roy
Good point. Railo have taken care of this. There is an "Over all" cfadmin section where you cna setup datasources or mappings across all sites. Ie you can set a mapping here to say /glabal and it will be available in each virtual host.
Great - thanks Paul! Wanted to make sure you got the thank you at the end ;)
Thank you very much. This was exactly what I was looking for. And it worked :-)
Post a Comment