[users@httpd] Launching apache from a PHP script - fine under OS X, what about Windows7 ?

2013-11-24 Thread Tim Streater
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 21'; exec ($cmd, $results, $result); if ($result!=0) {

Re: [users@httpd] Launching apache from a PHP script - fine under OS X, what about Windows7 ?

2013-11-24 Thread Jeff Trawick
On Sun, Nov 24, 2013 at 1:30 PM, Tim Streater t...@clothears.org.uk 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

Re: [users@httpd] Launching apache from a PHP script - fine under OS X, what about Windows7 ?

2013-11-24 Thread Brett Maxfield
21 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 t...@clothears.org.uk wrote: 21

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-24 Thread Borden Rhodes
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 img src=/example/path /, I want to use a a rule

[users@httpd] Updating directory content

2013-11-24 Thread Yaron Dayagi
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.