On Mon, 15 Dec 2008, Henning Michael Møller Just wrote:
> 
> (Originally posted on the PerlEx mailing list)

Sorry, must have missed it there...
 
> Reg. PerlEx:
> 
> When a request size exceeds the ReadAheadMemorySizeLimit value (but not the 
> ReadAheadFileSizeLimit)
> the request data is stored in a temporary file in the file system, right?
> 
> I'm having trouble with a server which has gone through a rather serious 
> security hardening. When the
> request size exceeds the ReadAheadMemorySizeLimit value the request appears 
> to time out. Raising the
> ReadAheadMemorySizeLimit value solves the immediate problem but I would like 
> to solve it the right way
> - and I expect that means setting the right permissions in the file system.
> 
> So my question is: Where should what user have what permissions for this to 
> work?

The file is created in the temp directory returned by the GetTempPath() Windows 
API:

| The GetTempPath function checks for the existence of environment variables in 
the
| following order and uses the first path found:
|
|   1. The path specified by the TMP environment variable.
|   2. The path specified by the TEMP environment variable.
|   3. The path specified by the USERPROFILE environment variable.
|   4. The Windows directory.
|
| Note that the function does not verify that the path exists.
|
| Symbolic link behavior—If the path points to a symbolic link, the temp path 
name
| maintains any symbolic links.

The filenames will start with "plx" followed by some hex digits.

So make sure that your environment variables are pointing to an existing 
directory,
and that the user has write access to that directory.

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to