Hi, I've tried nginx like you suggested and managed to serve the file at a given URL. I can access the .ozf file from my browser using the URL without any problems but when I try to access the file using the URL for Pickle.load, nothing works and I have no idea why. I don't know if this has anything to do with nginx or not (maybe I did something wrong because it's my first time using it). I'm saying this because when I connected 2 machines (A and B) with A running nginx and serving the file, B couldn't access the .ozf from the browser while A could (and I made sure I wasn't using localhost for A). Did I miss something?
Thanks. 2011/12/17 Khadija EL MAHRSI <[email protected]> > Hello, > For files on the same machine, I had no problems. It is the remote machine > case that I'm having trouble with. Like you suggested, I'm trying nginx but > since I never did something similar before, it's taking me quite sometime > now to achieve my goal (I'm still looking for a step by step tutorial on > how to use nginx to serve files). > > Thanks. > > > 2011/12/15 Wolfgang Meyer <[email protected]> > >> Hi, >> >> the URL for "Pickle.load" can be a local filename like >> "/usr/bla/bla/stuff.ozf" or "C:\\Users\\bla\stuff.ozf" (when on the same >> machine) >> or a http address when accessing a remote machine. >> >> But you need a running web server that actually serves the file under the >> given URL. Maybe that is the problem? >> >> Fortunately there a number of light-weight web servers, for example >> nginx. Relatively easy to install, compared to the earlier web servers... >> >> Wolfgang >> >> >> On Thu, Dec 15, 2011 at 2:40 PM, Khadija EL MAHRSI < >> [email protected]> wrote: >> >>> Hi, >>> I wanted to know how to properly write the URL for loading pickles. I've >>> read the documentation but I'm afraid it still isn't clear enough for me. >>> In case I had 2 connected machines and one of them is trying to load a >>> pickle which exists on the other, how do I write the URL? >>> >>> Thanks. >>> >>> >>> _________________________________________________________________________________ >>> mozart-users mailing list >>> [email protected] >>> http://www.mozart-oz.org/mailman/listinfo/mozart-users >>> >> >> >> >> _________________________________________________________________________________ >> mozart-users mailing list >> [email protected] >> http://www.mozart-oz.org/mailman/listinfo/mozart-users >> > >
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
