[Mongrel] file access with mongrel running as windows service

gmail neongrau at gmail.com
Wed Nov 7 10:12:15 EST 2007

yes that helped!

i just needed to switch the drive letter with the UNC path :)

thanks for pointing that out.
years of using windows but never thought it worked that way

Am 07.11.2007 um 15:48 schrieb David Vrensk:

> On Nov 7, 2007 3:01 PM, gmail <neongrau at gmail.com> wrote:
> i have an archive of documents (word, excel, jpeg, png, gif...)
> residing on a network share that is accessed via send_file.
> when running mongrel on the command line the files are properly
> delivered.
> with mongrel running as a service they don't.
> Try running "net use" inside the process to see if the network share  
> is mounted at all.  This sounds like the typical Windows/web problem  
> where the operator assumes that everybody sees the same shares that  
> she sees in her session.  In reality, network shares are mounted per  
> login session.  Two users can be logged in on the the same Windows  
> server and have different shares available on Z:, which is clever,  
> but also sort of confusing.  What is even more confusing is that you  
> may be logged on as "user1" and have something mapped to Z:, but the  
> service running as user1 has nothing on Z: – it needs to create its  
> own mappings.
> Let us know if this helps.
> /David
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071107/6a949e1e/attachment.html 

More information about the Mongrel-users mailing list