Skip to main content
Known Participant
August 4, 2011
Question

Virtual host (vod) map location of files

  • August 4, 2011
  • 1 reply
  • 1410 views

I have my virtual host working in Adobe Interactive Server 4.0 however:

inside of my virtual host:

myvid1.domain.com

/opt/adobe/fms/conf/_defaultRoot_/myvid1.domain.com/

I have these directories & files

-rw-r----- 1 fms fms 55318 Aug  2 15:12 Application.xml
drwxr-xr-x 2 fms fms  4096 Aug  2 19:17 live
-rw-r----- 1 fms fms 55318 Aug  2 12:49 Org_Application.xml.bak
-rw-r----- 1 fms fms 15811 Aug  2 10:48 Org_Vhost.xml.bak
-rw-r----- 1 fms fms 15960 Aug  2 19:25 Vhost.xml
drwxr-xr-x 3 fms fms  4096 Aug  2 19:16 vod

I have the vod and live directories

however my virtual host is not pulling the data from the (vod directory)

is there another file that needs to be changed to read from this directory?

Any help would be great.

thanks

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 10, 2011

    You dont need "live" and "vod" under myvid1.domain.com

    You just need Application.xml and Vhost.xml.

    If you are using default  Application.xml and Vhost.xml - as per me it should work as Vhost.xml would be pointing to correct application directory.

    When you say "my virtual host is not pulling the data from the (vod directory)" - what do you mean. How are you trying to pull data - is your connection successfull?

    aruserAuthor
    Known Participant
    August 10, 2011

    I was told by one of the Adobe people when we purchased the Interactive Server to copy the 'live' and 'vod' under the virtual host directory.

    Thank you for letting me know this is not needed here, I will get rid of them.

    The server pulls data from the following:

    /opt/adobe/fms/applications

    the 'live' and 'vod' directories the data is being pulled from here.

    The connection is successful, however I want each 'virtual host' to pull from its own data directory so the user data will be isolated and not viewable.

    How can I successfully change the 'vod' and 'live' directory on each virtual host this is my objective.

    So then I can change ownership of the 'vod' directory and create a username/password for the site owner to ftp data to the server.

    Lastly, is the main.asc (that is where the user name and password goes to prevent anyone from streaming live to the server?

    /opt/adobe/fms/applications/livepkgr
    [sysadmin@fmsvideo01  livepkgr]# ls -l
    total 24
    -rwxrwxrwx 1 fms fms  733 Jul 29 09:57 Application.xml
    drwxrwxrwx 3 fms fms 4096 Jul 29 09:57 events
    -rwxrwxrwx 1 fms fms 3941 Jul 29 09:57 main.asc     <-  -   -   -  -   (is this the security file)???

    What I want to do is incorporate this code to prevent unauthorized connections to publish live to the server.

    Participating Frequently
    August 10, 2011

    What i would suggest is copy "live" and "vod" applications to another folder say "myVhostApps" and then configure Vhost.xml.

    Change <AppsDir>${VHOST.APPSDIR}</AppsDir> in Vhost.xml of your vhost "myvid1.domain.com" to point to "myVhostApps".

    1. Create "myVhostApps" say under /opt

    2. Configure Vhost.xml as <AppsDir>/opt/myVhostApps</AppsDir>

    3. Change Application.xml of "vod" application

         3.a Remove current Virtual Directory settings (remove both <Streams> entries as they point to "media" folder of vod application under /opt/adobe/fms/applications

         3.b. Create new Virtual Directory settings like

                <Streams>/;/opt/myVhostApps/vod/media</Streams>

    3. Restart the server

    Now when you connect using URI like "rtmp://myvid1.domain.com/vod" - you will have access to data from VOD application under /opt/myVhostApps

    Now you can give ftp access to relevant users only to "myVhostApps"

    As far as unauthorised users publishing to live application is concerned - you can use FMLE Authentication Add-in.