Re: [repost] PhP Rewrite Map File Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/12/2007, Josh Trutwin <josh@xxxxxxxxxxxxxxxxxxx> wrote:
> > to. This works fine until someone updates that file through
> > releasing pages on their site (via a CMS).  Occasionally, (maybe 5%
> > of the time) when this file is updated the above error occurs on
> > every request.  The ONLY way to fix this is to hard stop and start
> > the server (a restart doesn't restart the php RewriteMap program)
> > When the server is restarted, all works well - until the next time
> > updating this file causes this problem.

This could be the result of the included file being incomplete when
loaded. You could try an atomic operation when updating it, like
rewriting to a temporary file then rename() it over the old one.

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux