Where do php files get read from locally?

i've installed and tested php on 10.3.9 and it works. i'd like to parse my php files locally. i believe on older os vesions it was the 'sites' folder, but it doesn't seem to work now. where can i place my web files to test? do i have to move everything to library/apache2/htdocs?
thank you!

i am not running apache2 at the moment, but i am assuming the problem could result from the fact that mod_userdir.so (or its apache2 equivalent) is not enabled in your apache install, nor are your config files setup to point to the sites folder of your $HOME. for apache 1.3.x, the config file should contain something like the following after enabling mod_userdir.so. this would be particularly true if you compiled from source.
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
<IfModule mod_userdir.c>
UserDir Sites
</IfModule>
assuming you have also added the .php and .phps file types (and whatever else you want), this should get you setup.
again - a bit of a disclaimer - i am not currently running apache2.
-b
DP867 MDD and 12 1Ghz PB    

Similar Messages

  • How did my pdf files get converted from 'open with Adobe Reader' to open with Adobe Acobat'?  And if I have a ''free'' Acrobat account why does it not open?  When I do click on the account it ask me to pay $89.99.  I never wanted Acrobat.  How can I get -

    How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
    Please reply to my e-mail:   [email protected]

    It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
    The free Acrobat account has no connection to any of this.

  • Uploading File to server from local machine

    how to Upload the File to server from local machine.
    Using java applet, how to upload the file to secure server.
    I dont know how to proceed the steps for uploading
    Reply me ASAP.......

    Hi Ozkantr,
    The osql utility is installed by SQL Server. You need to make sure the utility is installed on your colleague machine.
    To run SSIS package outside the BIDS, only the DTExec utility which is a client tool is not enough, the server components for Integration Services Service (SSIS runtime) is also required. To install SSIS runtime and DTExec utility, we must install the Integration
    Services shared feature from the SQL Server install media. So, you need to install SSIS service on the machine where the SSIS packages jobs run.
    References:
    http://www.bigator.com/2012/03/11/ways-to-execute-ssis-package/
    http://www.codeproject.com/Articles/219494/SSIS-Overview-Part-I
    Regards,
    +1
    You need to install Integration Services, which installs the necessary bytes on your computer and the SSIS service as well. The service can be disabled though, you don't need it to run packages.
    I wrote a blog post about it some time ago:
    When is DTEXEC installed?
    ps: osql is deprecated. Better start using sqlcmd.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Read an avi file using "Read from binary file" vi

    My question is how to read an avi file using "Read from binary file" vi .
    My objective is to create a series of small avi files by using IMAQ AVI write frame with mpeg-4 codec of 2 second long (so 40 frames in each file with 20 fps ) and then send them one by one so as to create a stream of video. The image are grabbed from USB camera. If I read those frames using IMAQ AVI read frame then compression advantage would be lost so I want to read the whole file itself.
    I read the avi file using "Read from binary file" with unsigned 8 bit data format and then sent to remote end and save it and then display it, however it didnt work. I later found that if I read an image file using "Read from binary file" with unsigned 8 bit data format and save it in local computer itself , the format would be changed and it would be unrecognizable. Am I doing wrong by reading the file in unsined 8 bit integer format or should I have used any other data types.
    I am using Labview 8.5 and Labview vision development module and vision acquisition module 8.5
    Your help would be highly appreciated.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    read avi file in other data format.JPG ‏26 KB

    Hello,
    Check out the (full) help message for "write to binary file"
    The "prepend array or string size" input defaults to true, so in your example the data written to the file will have array size information added at the beginning and your output file will be (four bytes) longer than your input file. Wire a False constant to "prepend array or string size" to prevent this happening.
    Rod.
    Message Edited by Rod on 10-14-2008 02:43 PM

  • Where does the data get saved from (notepad) or Notes on Windows Mobile 5?

    Where does the data get saved from (notepad) or Notes on Windows Mobile 5?
    (ON the Phone)  Sticky note like program WM5
    I ask because I synced my Blackjack 1 to my pc after about a year and MANY notes later, All the notes from the PC remained but ALL new notes on phone (a years worth) were deleted from the phone.
    I would like to attempt a data recovery on my mobile device- that was an insane endeavor but i got it to work now i just need to know what to look for (what type of files to recover) and or where to recover from?
    I did make the phone a drive already and have data recovery software that can pull deleted files from the phone in fat or raw data format.
    Thanks.

    Hi,
    I think this is not the best forum for your question. This forum is for Microsoft Exchange Server's mobile connectivity issues.
    Regards,
    Zoltán
    http://www.clamagent.org - Free Antivirus for Exchange
    http://www.it-pro.hu
    http://emaildetektiv.hu

  • 求助: 如何使用write to spreadsheet file.vi 和 read from spreadsheet file.vi, 并且如何定义它们的路径???

    请问如何使用write to spreadsheet file.vi 和 read from spreadsheet file.vi,我知道spreadsheet file.vi只支持.txt文件,但我应该在哪里设置它们的路径呢,请各位帮忙指点,能不能具体说明下,谢谢...

    write to spreadsheet file.vi 和 read from spreadsheet file.vi,支持.xls文件.
    可以在path处设置它们的路径.

  • Get image from local file system for printing

    If a user clicks Print, I would like to be able to print the
    stationery header if the user wants to print on plain paper. Can I
    pick up the image from the users local file system and add it
    directly to the print send object? Prior to this the user would
    simply upload the location of the image to the remote server where
    the swf resides, or do I have to ask him to upload the image itself
    and then download it again every time he uses the program?
    Doug

    Here is a snippet from the Flex 2 user guide about urlloader:
    When using this method, consider the Adobe® Flash®
    Player security model:
    For Flash Player 8 and later:
    Data loading is not allowed if the calling SWF file is in the
    local-with-file-system sandbox and the target resource is from a
    network sandbox.
    Data loading is also not allowed if the calling SWF file is
    from a network sandbox and the target resource is local.
    As far as I know there is no way for a user to "trust" an swf
    file. This is not like an activeX control.

  • How do I add a txt file to read from in the following script

    First thanks for the help, PS newbie. 
    I need to add a txt file that has the Exchange aliases listed to the below file. So if the .txt file is sitting in c:\temp\readme.txt how do I incorporate into the following script. Given, I only want the outcome to read from only the txt file. 
    $mailboxes = Get-Mailbox -RecipientTypeDetails UserMailbox
    ForEach ($mailbox in $mailboxes) {
      $FilePath = "\\server\folder\" + $mailbox.PrimarySmtpAddress.Local + "@" + $mailbox.PrimarySmtpAddress.Domain + ".pst"
      New-MailboxExportRequest -mailbox $mailbox -FilePath $FilePath
    Thank you for your time. 
    Chris

    Thank you - 
    You're welcome.
    I need to make sure that when the user from the list is exported to .pst it is named with their primary smtp address? Will the above code do so?
    No, it won't. This adjustment will take that into account:
    $aliasList = Get-Content .\aliasList.txt
    foreach ($alias in $aliasList) {
    $mbx = Get-Mailbox $alias
    $filePath = "\\server\folder\$($mbx.PrimarySmtpAddress).pst"
    New-MailboxExportRequest -Mailbox $alias -FilePath $filePath -WhatIf
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • Where does CustomIDocumentPlugin:identifyIncomingDocument get doctype from

    When handling positional flat files it looks like doctype is not defaulting from B2B setups for oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument Enter
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument non-XML Payload
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument iDoc ECS = xyzECS.ecs
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument start pos = 71
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument end pos = 75
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument key = [METH]
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument value = [METH]
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument target = [METH]
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument doctype = xyz, doctype revision = 1.0
    oracle.tip.adapter.b2b.document.custom.CustomIDocumentPlugin:identifyIncomingDocument Exit
    the doctype that I have defined in B2B is different than what's being identifyed by CustomIDocumentPlugin
    message only gets processed if I go and change my doctype name to whats in the log.

    I understand start and end position, they are matching. but its identifying the doc type as lets say "xyz" and revison 1.0 , where as there is no such setup in Oracle B2B. my question was where is it getting "xyz" and 1.0. it always defaults to doc type as "xyz" and revision 1.0
    If I go and change my B2B setups (doc type as "xyz") only then the document gets processed or else it errors saying agreement not found.
    This is very strange , is it possible that the doc type is somehow getting derived from ecs and not B2B setups ?

  • How to open saved files using 'read from text file' function

    Hi everyone, I am having a hard time trying to solve the this particular problem ( probably because I am a newb to lanbview ). Anyway , I am able to save the acquired waveforms by using the 'Write to text file' icon. I did manually modify the block diagram of the 'Write to text file' icon and create the correct number of connector so as to make my program work. But now I have no idea on how to modify the block diagram of the 'Read from text file' block diagram to make my program 'open' my saved waveforms. Or i do not have to modify anything from the block diagram of the 'Read from text file'? Can anyone teach/help me connect up? Do i need the build array on the "open" page?
    Here are some screenshots on part of my program  
    let me know if you guys would need more information / screenshots thank you!
    Attachments:
    ss_save.jpg ‏94 KB
    ss_open.jpg ‏94 KB
    modified_writetotextfile.jpg ‏99 KB

    Ohmy, thanks altenbach. oh yeah i forgot about those sub VIs. will upload them now. Was rather demoralized after reading the comments and really struck me on how weak i'm at on labview really hope to get this done. But of course i have to study through and see how it works. Actually i am going to replace those 'signal generators sub vi' with ThoughtTechonology's sample code so i can obtain data waveforms real-time using Electrocardiography (ECG) ,Electromyography (EMG ) and Electroencephalography (EEG) hopefully i can find out how to connect the sample code.
    ( ps . cant connect it now unless my program is working otherwise labview will crash ) 
    ( p.s.s the encoder of my biofeedback trainer already acts as an DAQ so i wont need to place an DAQ assistant in my block diagram i suppose )
    The sample code of ThoughtTechnology is named as attachment.ashx.vi. too bad i cant use it and present it as my project
    Attachments:
    frequency detactor.vi ‏53 KB
    signal generator.vi ‏13 KB
    attachment.ashx.vi ‏40 KB

  • [SOLVED] bash and xterm - which files get read and referenced?

    I currently have my user shell set as /bin/sh (which, as I'm sure you are aware, is a symlink to bash). When I launch xterm, none of my config files seem to be read or sourced. If I login from the console, all is correct.
    According to the documentation I've read, when bash is invoked as sh, it should read /etc/profile, and then .profile, and finally .shrc (which is recommended to be explicitly sourced from .profile). I can see that /etc/profile is being read, as the PATH is being updated from items in /etc/profile.d, but none of my config files in ~ are being read.
    I put in a unique alias in each of .bash_profile, .bashrc, .profile, and .shrc to try to trace the files being read. In console, this reveals that .profile and .shrc are being read (as I would expect). But, in xterm, no aliases are being read.
    Also, PS1 is set to sh-4.2$ (literally set as '\s-\v\$ '). I have tried to grep that sequence in /etc, but that failed to hit on anything.
    I don't have my own .Xresources and nothing in .xinitrc redefines xterm behavior. The only switches I am explicitly sending to xterm redefine appearance (background/foreground color and font).
    The only other relevant piece of information I can think of is that I am using the slim login manager and in slim.conf it defines: login_cmd exec /bin/bash -login ~/.xinitrc %session. I changed that to /bin/sh, but it had no effect.
    Any ideas?
    Solution
    Adding
    XTerm*.LoginShell: True
    to ~/.Xdefaults will cause xterm to behave as expected.
    Last edited by archnet (2011-05-11 00:40:49)

    dmz wrote:
    To answer your actual question:
    strace -eopen xterm
    strace -eopen sh
    Here is the output:
    sh-4.2$ strace -eopen xterm
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/usr/lib/libXft.so.2", O_RDONLY) = 3
    open("/usr/lib/libXaw.so.7", O_RDONLY) = 3
    open("/lib/libncursesw.so.5", O_RDONLY) = 3
    open("/lib/libc.so.6", O_RDONLY) = 3
    open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3
    open("/usr/lib/libX11.so.6", O_RDONLY) = 3
    open("/usr/lib/libXmu.so.6", O_RDONLY) = 3
    open("/usr/lib/libXt.so.6", O_RDONLY) = 3
    open("/usr/lib/libICE.so.6", O_RDONLY) = 3
    open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
    open("/usr/lib/libXrender.so.1", O_RDONLY) = 3
    open("/usr/lib/libXext.so.6", O_RDONLY) = 3
    open("/usr/lib/libXpm.so.4", O_RDONLY) = 3
    open("/usr/lib/libz.so.1", O_RDONLY) = 3
    open("/usr/lib/libexpat.so.1", O_RDONLY) = 3
    open("/usr/lib/libxcb.so.1", O_RDONLY) = 3
    open("/lib/libdl.so.2", O_RDONLY) = 3
    open("/usr/lib/libSM.so.6", O_RDONLY) = 3
    open("/usr/lib/libXau.so.6", O_RDONLY) = 3
    open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
    open("/lib/libuuid.so.1", O_RDONLY) = 3
    open("/proc/meminfo", O_RDONLY) = 3
    open("/home/archnet/.Xauthority", O_RDONLY) = 4
    open("/home/archnet/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/locale/locale-archive", O_RDONLY) = 4
    open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
    open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
    open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
    open("/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE", O_RDONLY) = 4
    open("/home/archnet/.Xdefaults-natoufa", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/X11/app-defaults/XTerm", O_RDONLY) = 4
    open("/etc/ld.so.cache", O_RDONLY) = 4
    open("/usr/lib/libXcursor.so.1", O_RDONLY) = 4
    open("/usr/lib/libXfixes.so.3", O_RDONLY) = 4
    open("/home/archnet/.icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_v_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_h_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_h_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_h_double_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_up_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_up_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_up_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_down_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_down_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_down_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_left_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_left_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_left_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/cursors/sb_right_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/home/archnet/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/cursors/sb_right_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/cursors/sb_right_arrow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/dev/tty", O_RDWR) = 4
    open("/dev/ptmx", O_RDWR) = 4
    open("/home/archnet/.XCompose", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/share/X11/locale/compose.dir", O_RDONLY) = 5
    open("/usr/share/X11/locale/en_US.UTF-8/Compose", O_RDONLY) = 5
    open("/usr/share/X11/XKeysymDB", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 5
    open("/usr/share/terminfo/x/xterm", O_RDONLY) = 5
    sh-4.2$ strace -eopen sh
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/lib/libreadline.so.6", O_RDONLY) = 3
    open("/lib/libncursesw.so.5", O_RDONLY) = 3
    open("/lib/libdl.so.2", O_RDONLY) = 3
    open("/lib/libc.so.6", O_RDONLY) = 3
    open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
    open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
    open("/proc/meminfo", O_RDONLY) = 3
    open("/etc/nsswitch.conf", O_RDONLY) = 3
    open("/etc/ld.so.cache", O_RDONLY) = 3
    open("/lib/libnss_files.so.2", O_RDONLY) = 3
    open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
    open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 3
    open("/home/archnet/.bash_history", O_RDONLY) = 3
    open("/home/archnet/.bash_history", O_RDONLY) = 3
    open("/usr/share/terminfo/x/xterm", O_RDONLY) = 3
    open("/etc/inputrc", O_RDONLY) = 3
    I don't see it attempting to read any sort of profile for shrc file.

  • Getting reading from HP34401A

    I'm trying to get a reading from hp 34401 a digital multimeter through serial port and the version of labview I'm using is 6.1 with windows 2000. When I run I got the following message "Error -1073807331 occurred at Property node (arg 9) in HP34401A Initialize.vi -> HP34401A Getting Started.vi". I went to the site: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/83974d03b5224b55c1256c2f00555ff8?OpenDocument to download a new version but it still gives me the same error. Any suggestion?

    Hi se take at look at this
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000BA390000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

  • Can an applet loading from a browser read from local file system?

    I have to load my applet from a browser, and the "browse" button on it should be able to select and read certain files in the local file system( or the files located under the server's home directory). Is there a way to address the security issue? I know there are ways to enable an appletviewer to do it, but how about a browser?

    You'll need to have a signed applet.

  • How to get the name of file was read from file adapter ?

    Hello!
    I make a pooling into one directory to read all *.fat files in this directory, and I want the name of this file
    is it possible ?
    God bless all!

    it is mentioned in the sample code.. look at the pdf guide inthe sample code document for file adapter.
    you need to define a variable of message type of the file adapter inbound header message type and assign the variable to the apapters tab in the receive activity..
    the variable will have file name now

  • Specific version of jre in .jnlp file and downloading from local server

    Hi,
    I have couple of questions regarding the specific version of jre in Java WebStart.
    1) I have specified the jre version in .jnlp file as below.
    <resources>
    <j2se version="1.3.1_02"/>
    </resources>
    When I saw the File/Preferences/Java of Java WebStart installation, there is an entry with the "Product Version" value as 1.3.1_02 as I installed jre also before launching my application. Still it complains as,
    The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
    Error Code 11 (11 Could not locate requested version) returned from server when accessing resource: (http://java.sun.com/products/autodl/j2se, 1.3.1_02)
    When it is there already, why it is trying to get from the Sun's site.
    2) I want Java WebStart to download the specified version of jre from my local server, I specified this in the following way,
    <resources os="Windows">
    <j2se version="1.3.1_02" href="http://host:9095/j2re-1_3_1_02-win.exe"/>
    </resource>
    I got the error saying,
    Bad MIME type returned from server when accessing resource: (http://host/j2re-1_3_1_02-win.exe, 1.3.1_02) - application/octet-stream. where host is my server name. What I need to do here.
    Can I have multiple resource tags one for each os.
    Help is highly appreciated.
    Thanks,
    Sreedhar.

    Hi Sreedhar,
    There are some other useful threads in this forum on this topic:
    the "Automatically Installing the IBM JRE 1.2.2" thread has tips from somebody who's put together auto-download of JREs from his own web site:
    http://forum.java.sun.com/thread.jsp?forum=38&thread=71061
    Also, the behavior of the j2se tag is discussed a little in the "Using a specific JRE" thread: http://forum.java.sun.com/thread.jsp?forum=38&thread=158075
    The first step is to add an href attribute to your j2se tag. I was just experimenting with this this afternoon,
    and it appears that unless that href is specified (even if it's the java.sun.com default autodl URL!) JWS will not properly check locally-installed 1.3.1 JREs. Once you include Sun's autodl URL as an href, JWS will at least properly enforce the product version among locally-installed JREs. Of course, Sun doesn't actually include 1.3.1 in its autodl section, so it won't download it for you, but it will enable checking of the JREs already installed.
    The second step is downloading JREs from your own web site, which is more complicated and explained better by other messages in the forum. But basically, JWS is not simply looking for a .exe installer for a particular JRE. It hits the webserver with a query and expects the webserver to give it back an installer's JNLP file. Look at the referenced threads for more details.
    Jim

Maybe you are looking for