Hello,
My Apache server is used for downloading files via HTTP (Linux).
I have a directory tree containing all the files.
The files are updates from time to time by a different process.
I am worried that Apache Web server will read from the file while the other
process is writing to the file.
What
Thank you for your response, Tom,
You are correct in that I don't expect the server to alter the HTML
output. I want to tell the server to fetch a file at an arbitrary path
if it receives a request for an absolute URL. So, for example, say I
have , I want to use a a rule in an
.htaccess file to f
2>&1 takes stderr (fd#2) and joins it to stdout (fd#1) so you have a single
output stream, contains both things sent to stderr (fatal program errors) and
stdout messages (informational or program specific messages)
> On 25 Nov 2013, at 4:30 am, Tim Streater wrote:
>
> 2>&1
---
On Sun, Nov 24, 2013 at 1:30 PM, Tim Streater wrote:
> I want to port my application, which runs fine under OS X, to Windows7. I
> have a PHP startup script, which launches httpd as follows:
>
> // Now attempt to start apache
>
> $cmd = '/usr/sbin/httpd -f "/path/to/my/config/file" 2>&1';
>
I want to port my application, which runs fine under OS X, to Windows7. I have
a PHP startup script, which launches httpd as follows:
// Now attempt to start apache
$cmd = '/usr/sbin/httpd -f "/path/to/my/config/file" 2>&1';
exec ($cmd, $results, $result);
if ($result!=0)
{