Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Virtual Directory

    Our corporate website uses coldfusion. We have developed a web time entry
    system that also uses coldfusion. I am trying to setup the new timentry system
    as a virtual directory under our website. When I try to access the time system
    I get a coldfusion error. Can someone please instruct or direct me to
    documentation on how to do this.

    triadwm Guest

  2. Similar Questions and Discussions

    1. vHost - Virtual Directory
      I'm trying to play videos using the flvplayer control and FMS. If I put my flv directly in the FMS applications/streams/_definst_ directory, and...
    2. Web Application, virtual directory
      Hi, here the situation: My purpose is to have one physical directory(PD) (c:\webapplication) and a lot of virtual directory(VD) pointing to ...
    3. Configure a virtual directory?
      Hi, I want to install a simple web service using IIS, how can I create a directory under Inetpub/wwwroot/ and configure it into a web application...
    4. Have to Be A Virtual Directory?
      I have a project named NET. It has .aspx and one .asmx files. This NET is a virtual directory and application in IIS: - All .aspx and one .asmx and...
    5. Remote Virtual Directory
      HI, I have a virtual directory on one machine pointing to a virtual directory on another machine on the same intranet. I get the following error...
  3. #2

    Default virtual directory

    Hello! I'm having a hard time getting the virtual directory to work.

    Here's the setup:
    On my FMS computer, I have flvs located in the folder: X:\flash
    So, in the Macromedia/FMS/conf/_defaultroot_/defaultVHost_/vhost.xml, I made a
    virtual directory like this:
    <Streams>lrc;X:\flash</Streams>
    And then, in my flash, I set the contentpath to be: rtmp://myUrl/lrc/flvname
    I'm using FMS 2.0.3
    But its not working. Can anyone tell me what I'm doing wrong? Does there need
    to be a main.asc somewhere in there?

    Thank you very much!

    -Heather Larkin

    larkinheather Guest

  4. #3

    Default Re: virtual directory

    you shouldn't change the <streams> line instead you should do it on the <virtualdirectory> one
    funkysoul Guest

  5. #4

    Default Re: virtual directory

    I'm not sure I follow. Can you type an example?
    larkinheather Guest

  6. #5

    Default Re: virtual directory

    exactly how's it noted on the vhosts.xml
    funkysoul Guest

  7. #6

    Default Re: virtual directory

    you mean, like this:
    <Streams key="virtual key"><virtual directory>;actual directory></Streams>

    But what if I don't want to use a key?
    larkinheather Guest

  8. #7

    Default Re: virtual directory

    I'm having pretty much the same problem. I'm mapping e:\Flash\ to the alias
    "videos" (creative, I know)
    so my <VirtualDirectory> tag in vhost.xml has this in it:
    <Streams>videos;e:\Flash</Streams>

    Now, in my cliet side program, I'm calling "rtmp://ipaddy/appname/videos" as
    my content path, and then appending the flv names later.
    Clearly the correct syntax eludes me. Should I not substitute the alias for
    the instance name?
    Could someone give me a full example of a new NetConnection line?

    Thanks,

    --Joe

    Joe Wack Guest

  9. #8

    Default Re: virtual directory

    This is what I found while trying to get the VirtualDirectory to work on FMS 2.
    I had to leave the application directory in tact. I had no FLV files in it but
    otherwise it was the same. I also found that if I left out the main.asc file
    from the application root (ie. fms\applications\video\main.asc) then the videos
    would not stream from the virtual directory. The main.asc file I am using is
    actually the one from FCS 1.5 samples folder. Not sure if there is one for FMS
    2.0. I have only tried this with recorded video and not live streams.

    The rtmp address is rtmp://myserver/videos/virtualdirectory/video file name.
    Hope this helps someone. If more detail is needed I will post more.

    Robert

    usuhamlet_2001 Guest

  10. #9

    Default Re: virtual directory

    Thanks for the reply! I believe I've figured out what I was doing wrong.

    The virtual directory needs to be in the stream name itself, rather than the
    initial connection. So the .connect parameter would be
    "rtmp://ipaddy/appname/appinstance"
    and the stream name, when I reference it would just be:
    "videos/whatever.flv"

    I've found it also helps to have the FLVPlayback main.asc in the app folder,
    like usuhamlet says.

    Thanks again,
    Joe

    Joe Wack Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139