Ask a Jedi: Apache Virtual Hosts and Remoting

Scott asks:

Ray, I wondered if you could provide any insight on how to set up virtual hosts on apache so that flash remoting works for each? Thanks.

As far as I know, all you need is an alias for the CFIDE folder. This is also used for Flash Forms as well as forms support in general. This is a typical virtual host on my box:

<VirtualHost *> ServerName dev.aspen5.jedi.com DocumentRoot "C:/projects/dev.aspen5.mindseye.com/wwwroot" Alias /CFIDE "c:/Apache2/htdocs/CFIDE" </VirtualHost>

Edited: Just a quick note, but as Critter points out in the comments, you should be able to move that alias outside the virtual host declaration if you want it global to the box. That would probably be preferable, especially if the entire box is just hosting CF applications.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments