Skip to main content
April 20, 2007
Question

Vhost applications setup

  • April 20, 2007
  • 3 replies
  • 491 views
I'm having a problem setting up Vhosts with FMS 2.0.4.

What I would like to do is set a distinct applications folder for each vhost.

So far I have been able to only get applications to appear in the default applications folder. I have also been able to get 2 different folders accessed via changeing fms.ini VHOST.APPDIR flag. Unfortunately all the same applications show up in all vhosts.

I have edited each Vhost.xml file to point to a separate specific dirs but these do not seem to be picked up.

What am I missing here?

    This topic has been closed for replies.

    3 replies

    April 23, 2007
    Okay... if you have your DNS set up properly, you sould be able to log in to the admin console with the vHost's domain (using the default host admin username/password), and see your vHost's applications.

    April 24, 2007
    Actually the Vhosts are working, its the console app that seems to be the problem.

    I contact Stefan Richter and he was kind enought to send me some example configuration files from a running fms server. Funny things is that other than the url for the vhost there was no reall (Windows vs Linux) difference in the configuration of our server vs the files he sent. I went ahead and setup apache and dropped the standard sample apps in the vhost. They work perfectly!

    The problem is that none of them register on the admin console. We can monitor connections bandwidth etc for the vhost but none of the apps are listed. Yet they work Audio, video, text and graphics no problems.

    I've run fms/fcs for 3 years without using vhosts. From everything I read in the documentation what we were doing, what everyone was telling us should work. It was.

    But now I'm back to the initial corundum of why I can't see the apps registering in the vhost.

    We have an admin folder there but I have not setup any Admin users for the Vhost as we will not be using that functionality.
    April 20, 2007
    Right... it would be the same IP number, but you need to use a DNS to resolve to the vHost. What you would do is set up a domain or subdomain (which would match the name of your vHost), and use your DNS to point that domain/subdomain to your FMS IP.

    Have a look at the following:

    http://flashcomguru.com/tutorials/configureFCS.cfm

    April 20, 2007
    We have dns entries setup for both the primary server and the vhost. I have also read and followed Stefan Richter's examples in the article you have listed.

    One item there that is unclear is where in Server.xml the VirtualHost block should be included. Should this be simply appended to the Server.xml or should it be included inside the roor or server tags? There appear to be some structural differences between the FCS 1.5 Server.xml and the FMS 2.0.4 Server.xml that I am attempting to use. Unfortunately I can not find any example of any of these files for 2.04.

    Thanks for responding I hope you can continue to help.

    April 20, 2007
    Did you log in to the admin console via the vHost hostname/IP?
    April 20, 2007
    no the server name and Ip, we're not setting up individual Vhost admins. even if we did ti would be the same ip number.

    When we log in using the console app here is what we are seeing.

    After configuring a directory using the AppsDir tags in Vhost.xml, if we place an application folder inside the specified location the app does not register or display for that vhost. All permissions etc have been checked and are valid.

    When we place a folder inside the default applications folder at ~fms/applications the app registers, but shows up in the default and all other vhosts. This is undesirable as we do not want to allow general access to all apps among vhosts.