Can Additional Document Directories use UNC Paths?

For Sun One WS 6.0 SP 7 on Windows 2000
Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
says:
"Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
C:/iplanet/marketing/pubdocs/index.html"
But could you instead use:
\\servername\path\somedocs\
Anyone ever tried this? And would you have to swap the direction of the slashes?
//servername/path/somedocs/
Thanks!
--John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

For Sun One WS 6.0 SP 7 on Windows 2000
Can additional document directories use UNC paths, or does the directory containing the HTML documents have to be on the server running the Web Server? The documentation
http://docs.sun.com/source/816-5682-10/esapui21.htm#80857
says:
"Map To Directory. Specifies the absolute path of the directory you want the URL prefix to map to, for example,
C:/iplanet/marketing/pubdocs/index.html"
But could you instead use:
\\servername\path\somedocs\
Anyone ever tried this? And would you have to swap the direction of the slashes?
//servername/path/somedocs/
Thanks!
--John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to create Directories using UNC Paths (DirectoryHandler.CreateDir )

    Edited by: user643946 on 24.06.2009 03:47 (Deleted Thread, has been something for the School of Bleeding Obvious)

    Hi,
    >>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
    If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
    SYSTEM> connect scott/tiger
    Connected.
    SCOTT> create directory mydir as '/tmp';
    Directory created.
    SCOTT> connect legatti/pwd
    Connected.
    LEGATTI> create directory mydir as '/tmp';
    create directory mydir as '/tmp'
    ERROR at line 1:
    ORA-00955: name is already used by an existing object
    LEGATTI> select owner,object_name,object_type,created
      2  from dba_objects where object_name='MYDIR';
    OWNER     OBJECT_NAME    OBJECT_TYPE         CREATED
    SYS       MYDIR          DIRECTORY           19/12/2007Cheers
    Legatti

  • IWS60SP4 Additional Document Directories Problem with Web Application

    We have iPlanet/Sunone WebServer 6.0 Service Pack 4 installed. I have deployed a web application using the wdeploy command line. I have defined an additional document directory that is outside of the web application and document root. No matter how many ways I try it, it seems to expect that the document root is the source of the files and totally ignores the additional document directory definition.
    Example:
    additional document directory: /add /opt/dir1/dir2
    document root: /opt/doc/root
    URL given: http://my.domain.com/uri/add/file.html
    expected: to get file.html out of /opt/dir1/dir2
    actual: fails, trying to get /opt/doc/root/add/file.html
    Do additional document directories actually work? (They worked for us under iPlanet 4.1) If so, please tell me how to make them work with a deployed web application.
    Thank you.
    - Tom

    In the original post you state:
    Example:
    additional document directory: /add /opt/dir1/dir2
    document root: /opt/doc/root
    URL given: http://my.domain.com/uri/add/file.html
    expected: to get file.html out of /opt/dir1/dir2
    actual: fails, trying to get /opt/doc/root/add/file.html
    You are mapping /add to the new dir. The URL you would need to type then is:
    http://my.domain.com/add/file.html
    not
    http://my.domain.com/uri/add/file.html
    Mapping /add to a new dir will work. You do not need to specify /uri/add.

  • Windows Server 2012 - Printing using UNC path not working

    Hi,
    I have a problem printing using the printer's UNC path ("\\Server_Name\Printer_Hostname") to work with a web
    app hosted on IIS 8. With a windows forms application the UNC path is working fine and the app prints.
    With
    the web app I receive an error "The data area passed to a system call is tool small". 
    Also,
    in the event viewer under Applications and Services Logs -> Microsoft -> PrintService -> Operational, I receive the error "The print spooler failed to reopen an existing printer connection because it could not read the configuration information
    from the registry key S-1-5-82-1980832875-2702362896-1795126167-3622310632-1152289074\Printers\Connections. The print spooler could not open the registry key. This can occur if the registry key is corrupt or missing, or if the registry recently became unavailable."

    I have contacted IIS forum support.
    Please review the link: http://forums.iis.net/p/1213109/2079229.aspx?Re+Windows+Server+2012+Printing+using+UNC+path+not+working
    Their final response:
    Printing from ASP.NET using System.Drawing.Printing itself is a horrible approach, as this namespace was designed for Windows Forms only. The designers did not take everything about ASP.NET in mind, so any issue can happen. That can answer why the HP model
    works while the Samsung fails, as the HP one just "happens
    to work",
    http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx
    Similarly, System.Printing was designed just for WPF.
    About which printing API to use in ASP.NET/IIS, there is no clear answer so far. Thus, your only resource is Microsoft support, who can perform further analysis (with their dedicate utilities and of course Windows source code) and might come across a solution
    to help you out. This is not a trivial scenario.

  • Sharepoint 2013 Does not open files using UNC path from Server

    Hi All,
    Just setup our new 2013 sharepoint intranet site , I tried adding a hyperlink to a document stored on our server using a UNC path file://servername/share/filename.doc but when i click on it it takes me to a blank Webpage in a new tab.
    I have turned on "open client applications" in the site collection features hoping that would help ....buuuuuut it did not.
    Also tried variations in the UNC path eg: \\servername\share\filename.doc etc..
    Any help would be greatly appreciated
    Thanks

    Open start run > type > file://servername/share/filename.doc Does this works
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/63b229de-ce4a-42be-b209-2c0f33d4b0d5/problem-opening-an-access-file-from-a-unc-file-link-in-sharepoint?forum=sharepointgeneralprevious
    Actually the problem I described is an Internet Explorer issue and I will try to get resolution in the appropriate forum.  IE exhibits the described behavior whether the link is in a Sharepoint site page, or in a regular non-Sharepoint web page. 
    Mozilla does not have the issue.
    Check below:
    http://social.msdn.microsoft.com/Forums/en-US/3f2c34cc-5686-4e03-ba26-092aaa29ff33/link-from-document-library-to-unc-path
    If this helped you resolve your issue, please mark it Answered

  • Additional document directories

    Does anyone know how to set up additional document directories in the weblogic.properties
    file ? I already have a document root when I set up the weblogic.httpd.documentRoot
    directory
    Now I need to create a relative link , for example
    documentRoot = /some/directory/name
    if someone hits http://server.name:7001/abcd , it automatically sends them to
    /some/directory/name/abcd/public_html ??
    Is this possible ??
    Thanx
    Kal

    Hi.
    I don't think there is a way to do this. I presume you are talking about WLS 5.1 or
    earlier. Each instance of the server has only 1 instance of a document root.. All resources
    served must be in that root or in a subdirectory underneath it.
    Requesting http://server.name:7001/abcd will request a resource in the abcd directory under
    your document root.
    Michael
    Kalyan wrote:
    Does anyone know how to set up additional document directories in the weblogic.properties
    file ? I already have a document root when I set up the weblogic.httpd.documentRoot
    directory
    Now I need to create a relative link , for example
    documentRoot = /some/directory/name
    if someone hits http://server.name:7001/abcd , it automatically sends them to
    /some/directory/name/abcd/public_html ??
    Is this possible ??
    Thanx
    Kal--
    Developer Relations Engineer
    BEA Support

  • Help configuring adobe media server's apache to use UNC paths and use multible VOD directories

    I am experimenting with v 5.03 for media server with look to upgrade our current pool of v4.x server to support ipads etc.
    i have set the ams conf file and have in the past use a unc paths for my VOD_Dirs
    eg
    VOD_DIR = C:\Program Files\Adobe\Adobe Media Server 5\applications\vod\media
    VOD_DIR_1 = \\prodserver1\media\data\VOD\Media
    VOD_DIR_2 = \\prodserver2\media\library\Preview
    VOD_DIR_3 = \\prodserver3\media\preview
    how and where do i need to do this for the http streaming ?
    cheers
    Robert

    You use Apache config files for the same...namely httpd.conf.

  • SharePoint 2013 Media Player using UNC path directly without using a Website in IIS (either out of the box or custom player using javascript only)

    Hi,
    There isn't much info on this and I am hoping its possible.
    I have come across the following article which explains how we can setup SharePoint 2013 Asset Library using video links using a website in IIS that is mapped to a UNC path.
    http://stevemannspath.blogspot.com.au/2012/12/sharepoint-2013-videos-in-sharepoint.html
    This is great. However we have an issue where I work and I need somehow to get SharePoint mediaplayer to point to a video directly using the UNC path like :- \\WINSP13\TempVideos\NTV_Carr_Indig.wmv without the use of a website in IIS.
    I understand that we won't be able to stream the video then thats ok.
    when trying to add a video link to an asset library using the UNC path, we get the following error: We don't support
    playing a video of that format from a file share.
    Is there a way or a workaround to do this? we are using only javascript to do this (AngularJS or any custom Javascript player such as MediaElement)
    Thanks
    Kind Regards,
    Will

    From a SharePoint architecture perspective, this is a BAD design, since you are rerouting the communications (from the client to the UNC) away from and outside of SharePoint... as a result, SP cannot provide any level of guarantee about the ability for videos
    to play on the client machine.
    Secondarily, I'm not sure that the browser will let you pull resources from such different locations (doing so has been the root of several type of attacks, such as "Cross Site Scripting").
    That said (and assuming the browser lets you), you can always use JS to handle creating the video player HTML and setting the UNC location... instead of using a site asset library to store the links, just create a list for the videos
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Using UNC Path With Execute Process Task

    I have an Execute Process task in which the process can either delete, get or put files to an SFTP site. The executeable takes arguments in the following format:
    "host" "user" "password" "put" "full local path/filename" "full remote path/filename"
    I have the task configured as follows:
    RequireFullFileName: True
    Executeable: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper\ocsshhelper.exe
    Arguments: sftp user password \\server\groups\Developmement\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export
    WorkingDirectory: \\server\groups\Development\ETLFiles\ETL_Utilities\ocsshhelper
    WindowStyle: Hidden
    Arguments, Executeable and WorkingDirectory have been configured as Expressions. When I execute the package in BIDS from my Windows  XP SP3 machine, The task fails with the following error:
    [Execute Process Task] Error: In Executing "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper\ocsshhelper.exe" "sftp user password put \\server\groups\Development\ETLFiles\ETL_Data_Files\CT_FS_Export_20081113.csv stateExport\export" at "\\server\groups\Development\ETLFiles\ETL_Utilities\ocSSHHelper", The process exit code was "-532459699" while the expected was "0".
    My domain account has 'effective' full control rights to the location of ocsshhelper.exe.
    It could be that the executable does not support UNC paths, and I'm checking that. I have another package that uses this same application, but uses the physical path, and there are no problems. Does the Execute Process task have issues with UNC paths?
    Thank you for your help
    cdun2

    Actually it doesn't work properly in SQL Server 2008 R2.  I have a similar EP task.  If I set the working directory to \\server\share\subdir the task fails. However, if I map a drive latter to the \\server\share and set working directory to <drive>:\subdir
    it works

  • Use unc path in gui_exec function

    Hi,
    is it possible to use an UNC path in the GUI_EXEC function?
    For example:
      call function 'GUI_EXEC'
         exporting
           command = '\\192.168.8.43\myfolder\myexec.bat'
         importing
           returncode = i_returncode.
    Thanks in advance.
    Regards.

    Calling an external program
    You want to call a program on your PC from an ABAP program ? try this function :
    *This example calls the dos prompt DATA:
    i_returncode TYPE i.
    CALL FUNCTION 'GUI_EXEC'          
        EXPORTING
            command = 'CMD' <<==-- CMD calls the DOS prompt but you can put any program here
    PARAMETER = 'test'
        IMPORTING
            returncode = i_returncode.
    there is a lot of other functions to communicate with the PC like:
    GUI_CREATE_DIRECTORY GUI_DELETE_FILE GUI_DOWNLOAD
    GUI_EXEC
    GUI_FILE_SAVE_DIALOG
    GUI_GET_DESKTOP_INFO
    GUI_GET_FILE_INFO               
    etc...

  • Link from Document Library to UNC Path

    Can anyone tell me if it is possible to create a link from a document library to a UNC path?
    I need to establish links to resources in an existing document repository, but Sharepoint presents the following message when attempting to add the link "Enter a valid document name and URL. Valid URLs must begin with 'http:' or 'https:'"
    Thanks in advance.
    Dave

    Following are the steps to achieve this.
    1) Create a site content type of type "link to a document" with "Document" as a parent content type.
    2) Add the same to the document library.
    3) Go in the layouts folder open newlink.aspx in Visual Studio IDE
    4) add the following function to the script tag
    Code Snippetfunction HasValidUrlPrefix_Override(url)
                var urlLower=url.toLowerCase();
                if (-1==urlLower.search("^http://") &&
                -1==urlLower.search("^https://") && -1==urlLower.search("^file://"))
                return false;
                return true;
     5) Replace "HasValidUrlPrefix" to "HasValidUrlPrefix_Override" in the newlink.aspx
    6) IISReset and when adding a link to a file share. It shoudl be done in the following format "file://\\{ComputerName}\\}FileName}" it should work
    7) Change the wss resource file present in app_globalresources to show the following message "Enter a valid document name and URL.  Valid URLs must begin with 'http:' or 'https:' or 'file://'"
    Hope this should help.
    Regards,
    Mayur

  • Using UNC paths with Safari

    Hi All
    I am probably going to look stupid here but.... How do you use a UNC path in Safari?
    When I type in \\myserver\ looking for a local server Safari converts it to http://myserver/ which obviously gives me a totally different result. Just used to doing this in i.e. and use it alot in my daily job.
    Any advice appreciated?
    Many thanks
    TSM

    You should file enhancement request regarding this issue to https://bugreport.apple.com. However I doubt Apple developers implement it since other tested browsers like Firefox and Opera don't support this paths either.

  • Can't open files using relative paths

    That seems straightforward but i can't figure out how I can have access to
    image files stored in the same directory with the compiled classes.
    Here's my what I want to do
    windowsButton = new JButton("Windows", new ImageIcon("icon_cool.gif"));
    but it doesn't work :(
    however if i specify the absolute path to images everything works fine.
    I tried also copying images into the source directory it didn't work.
    I thought about a workaround like If i could get the absolute path of the
    class that loads images that would be great but i have no clue how to get
    that absolute path.
    i code in netbeans so src and classes are separated.
    Thanks in advance for your replies. If u feel like u need more details i'll
    try to provide them :)

    In addition to jverd's answer, here is a tutorial
    dealing with images and icons
    "How to Use Icons":
    http://java.sun.com/docs/books/tutorial/uiswing/misc/i
    con.html
    It gices some examples of how to use the
    getResource() method to load your images.As the tutorial points out, simple path is more general than using class loader and resources for it.
    If OP's problem is on the line of this simplicity, he has to learn relevant details of a particular IDE or,
    if he hates the kind of learning, he'd be better off throwing away and foget it forever.
    It reminds me of a long-time belief that IDE is too big an /unnecessary/ obstacle for beginners.
    Does anyone know, does Eclipse have similar awkwardness for resource path issue?

  • Use UNC path from Active Directory to derive network home location

    Good Morning
    I am trying to get my Macbooks to conenct to a Windows Server 2003 home directory. I have followed the steps in the following article with no luck:
    http://docs.info.apple.com/article.html?path=serveradmin/10.4/en/c7od49.html
    I can bind to the Microsoft Active Directory with no problems and I can connect to the file share on the server that I want to make the network home location, but I can't get it to work automatically as I would expect it to.
    We will have hundreds of users connecting that will need their home folders redirected to the network folder location.
    Any help would be appreciated.
    Thanks

    I forgot to mention that before upgrading to 10.8.4 the login item below was present:
    Item: SMB://network path
    Kind: Unknown
    After the upgrade:
    Item: Unknown
    Kind: Unknown
    After restart it disappears and never returns (again, this only occurs for admins)

  • Fail to connect database using UNC path

    I have encoutered problem to connect sample database which is located at share drive such as J: drive.
    I setup up the environment at follow:
    The database is save at J: drive such as J:\xtreme.mdb
    I use crystal report 2008 to create report template and the database location is J:\xtreme.mdb
    [http://i105.photobucket.com/albums/m229/kenkit/diagram1.jpg]
    Then, I published the report into CRS2008. While I preview the report. I got the error message
    "The database logon information for this report is either incomplete or incorrect. "
    The report database configuration is at below:

    crosspost

Maybe you are looking for

  • BAPI_ACTIVITYCRM_CREATEMULTI in CRM

    Hi Experts, I have one query regarding the bapi - BAPI_ACTIVITYCRM_CREATEMULTI. i want to add some more fields in TABLES of this BAPI. In TABLES of this BAPI there is a table named as : EXTENSIONIN. I have tried to add some data in this field which s

  • Magsafe Adaptor Broken, Again.

    My last magsafe adaptor broke, and I got it replaced for free (Out of warranty) due to it having a known problem. Now, the replacement in just over 4 months has given away, and won't charge. It's the exact same thing that happened to my last Magsafe

  • Image/Map Navigation System

    Does anyone know how to use a smaller image as a way to zoom/pan a larger version? For example: https://oitapps.auburn.edu/campusmap/ Any help would be greatly appreciated. TIA Amanda

  • Back button not removing from the stack?

    Hi, I have the following code: [[self navigationController]pushViewController:_newsDetailController animated:YES]; However, It doesn't seem to be removing from the stack when the user hits the back button on the UINavigationBar. The reason I believe

  • Problem with DNG conversion of Panasonic FZ-200 .RW2 file?

    When I convert a Panasonic FZ-200 .RW2 raw file using DNG Converter 8.6 on Windows 8.1 64 bit, I get a warning from ExifTool of "Invalid DistortionInfo."  Looking at the ExifTool source code, this happens when the length of the block containing the d