Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Adobe Media Server Developer Center /

Mapping network paths for HTTP streaming

by Chandan Abhishek

Chandan Abhishek

Content

  • Mapping a network path on Linux
  • Mapping a network path on Windows
  • Where to go from here

Created

29 October 2012

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
administrationAdobe Media Server 5 Standar...Flash Media Serverstreamingvideo
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

You should have Windows and Linux file systems as well as Apache httpd.conf tags.

User level

Intermediate

Required products

  • Adobe Media Server 5 Standard

This article talks about mapping a network path in the Apache Location directive for HTTP Streaming. The Apache <Location> directive can have a network path for the HttpStreamingContentPath tag. However you cannot directly add a shared network path (e.g. ://servername/path) to it because multiple adjacent slashes are collapsed to a single slash (i.e., //servername/path is the same as /servername/path). On Linux, you need to mount the network path. On Windows, you can either link the shared network path, or map the network path and start Apache to run as a different user other than the System user.

Mapping a network path on Linux

On Linux, the network path can be mounted in three ways:

Method 1: Using mount command

The standard form of the mount command, is

mount -t type device dir

This tells the kernel to attach the file system found on device (which is of type type) at the directory dir.
Here’s an example:

mount -t cifs //hostname/path /mount/to/dir -o username=’<name>',domain=’<domainname>’

After this, it will prompt you for the password. Here /mount/to/dir must exist on the client machine before this command can be executed.
Then you add the path of the mounted directory to HttpStreamingContentPath tag.

Method 2: Using /etc/fstab  to mount NFS file systems

An alternate way to mount a NFS file system from another machine is to add a line to the /etc/fstab file. The line must state the hostname of the NFS server, the directory on the server being exported, and the directory on the local machine where the NFS share is to be mounted. The general syntax for the line in /etc/fstab is as follows:

server:/usr/local/pub /pub nfs rsize=8192,wsize=8192,timeo=14,intr

The mount point /pub must exist on the client machine before this command can be executed. After adding this line to /etc/fstab on the client system, type the command mount /pub at a shell prompt. The mount point /pub is mounted from the server.

Method 3: Using autofs service

A third option for mounting is using the autofs service. Autofs uses the automount daemon to manage the mount points by only mounting them dynamically when they are accessed.
Autofs consults the master map configuration file /etc/auto.master to determine which mount points are defined. It then starts an automount process with the appropriate parameters for each mount point. Each line in the master map defines a mount point and a separate map file that defines the file systems to be mounted under this mount point. For example, the /etc/auto.misc file might define mount points in the /misc directory; this relationship would be defined in the /etc/auto.master file.
Each entry in auto.master has three fields. The first field is the mount point. The second field is the location of the map file, and the third field is optional. The third field can contain information such as a timeout value.
For example, to mount the directory /proj52 on the remote machine mac.example.com at the mount point /misc/myproject on your machine, add the following line to auto.master:

/misc /etc/auto.misc --timeout 60

Next, add the following line to /etc/auto.misc:

myproject -fstype=cifs,username=<name>,domain=<domain>,password=<pwd> :// mac.example.com/proj52

After this, restart the autofs  service using the following command:

service autofs restart

The first field in /etc/auto.misc is the name of the /misc subdirectory. This subdirectory is created dynamically by automount. It should not actually exist on the client machine. The second field contains mount options. The third field is the location of the NFS export including the hostname and directory.

Mapping a network path on Windows

On Windows, the network path can be used in two ways:

Map the network drive and run Apache as a user other than the System user

By default on Windows, all Apache services are registered to run as the System user (the LocalSystem account). The LocalSystem account has no privileges to the network via any Windows-secured mechanism, including the file system, named pipes, DCOM, or secure RPC. For Apache to be able to access network resources, you need to create a separate account for Apache as I note below.
I recommend you create a separate account for running Apache service(s). This is required to access network resources via Apache.

  1. Create a normal domain user account, and be sure to memorize its password. Make sure it is a member of Users group. Don’t make it a member of any high privileged group like Administrator.
  2. Grant the newly-created user a privilege of Log on as a service and Act as part of the operating system. You can do this by going to Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment. Look for Log on as a service and Act as part of the operating system entries from the list, open it, and add the newly created user to it.
  3. Confirm that the created account is a member of the Users group.
  4. Grant the account read and execute (RX) rights to all document and script folders.
  5. Grant the account change (RWXD) rights to the Apache logs directory.
  6. Grant the account read and execute (RX) rights to the httpd.exe binary executable.
  7. Stop Apache by going to Control Panel > Administrative Tools > Services. Look for Apache and stop the service.
  8. Right-click Apache on the list > click Properties. Go to the Logon tab and then configure the account for Apache to run. Be sure to enter the correct username and password.

Using Symbolic Links (symlinks)

An alternate way to use network path is by creating symbolic link by using the mklink command. The general syntax for the command is as follows:

mklink /d <Link> <Target>

Here’s an example:

mklink /d \\hostname\dir C:\some_dir

Where to go from here

To know more about these commands on Linux, you can type the man <command> on the terminal. On Windows, type the <command> --help at the command prompt. Also, you can go through Apache documentation to learn about the tags in the httpd.conf.

More Like This

  • Encoding live video to H.264/AVC with Flash Player 11
  • Beginner's guide to streaming audio through Flash Media Server 3.5
  • Beginner's guide to dynamic streaming with Flash Media Server 3.5
  • Beginner's guide to using ActionScript 3.0 with Flash Media Server 3.5
  • Streaming AAC/MP3 files with Flash Media Server 3
  • Beginner's guide to installing Flash Media Server 3.5
  • Beginner's guide to streaming live video with Flash Media Server 3.5
  • Calculating bandwidth needs for Flash Media Server 3
  • Beginner's guide to streaming video with Flash Media Server 3.5
  • Protecting online video distribution with Adobe Flash media technology

Tutorials & Samples

Tutorials

  • Troubleshooting hang/crash issues in Adobe Media Server
  • Attaching alternate audio tracks using OSMF
  • AMS remote server logging

Samples

  • Best practices for real-time collaboration using Flash Media Server
  • Understanding live DVR – Part 2: Using DVRCast with Flash Media Live Encoder 3
  • Understanding live DVR – Part 1: Implementing a live DVR player

Flash Media Server Forum

More
05/17/2013 HDS-Live playback stops after some time
05/17/2013 Cacheroot larger vod files, and AMS dont accept external connections
05/16/2013 audio live streaming not smooth
12/16/2010 Recording multicast RTMFP streams

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement