[users@httpd] Re: Error 404 Not Found

2013-12-09 Thread Good Guy
After making the changes, you will need to restart the apache server so that the new configuration settings takes effect. Either re-boot the machine or simply restart the service using the apache button in the taskbar. On 10/12/2013 02:55, Robert wrote: Good Guy, Files have been unzipped t

[users@httpd] Re: Error 404 Not Found

2013-12-09 Thread Good Guy
OK do the following adjustments: 1)Browse the php folder and look for the file called: "php.ini-production" and change its name to: php.ini 2)Open this php.ini file in a text editor and change the following: short_open_tag = Off To short_open_tag = On 3)Change ;session.save_path =

Re: [users@httpd] Re: Error 404 Not Found

2013-12-09 Thread Robert
Good Guy, Files have been unzipped to directory c:\php-120913. Robert - Original Message - From: "Good Guy" To: Sent: Sunday, December 08, 2013 8:22 PM Subject: [users@httpd] Re: Error 404 Not Found On 08/12/2013 02:59, Robert wrote: Hi Good Guy, When I loaded test.php into the

Re: [users@httpd] Single quotes in ajax POST data getting prefixed with backslash

2013-12-09 Thread Yehuda Katz
That is a PHP configuration option called Magic Quotes ( http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc) that used to be on by default and is now off by default in recent PHP releases. - Y Sent from a gizmo with a very small keyboard and hyperactive autocorrect. On Dec 9

[users@httpd] Single quotes in ajax POST data getting prefixed with backslash

2013-12-09 Thread Tim Streater
I run an instance of apache under OS X which I use to pass data to PHP scripts using ajax. If I have a string such as "O'Toole" (without the double-quotes), then when the string (which I pass through encodeURIComponent in the browser) arrives in the PHP script, the single-quote is prefixed with

Re: [users@httpd] Number of concurrent connections to apache

2013-12-09 Thread Jeff Trawick
On Mon, Dec 9, 2013 at 4:02 AM, Kumar Bijayant wrote: > I used below command to get the number of established sessions on the > server. > > netstat -an|grep x.x.x.x:80|grep ESTABLISHED > > To my surprise, it gave me total number as 728. 128 connections more what > I have set up in my Apache. In ap

[users@httpd] Using SessionMaxAge without setting Max-Age in cookies?

2013-12-09 Thread Niels Harremoes
Hi! I am using apache 2.4, mod_auth_form and mod_session with cookie based sessions. I would like my sessions to expire after 15 minutes of inactivity - so I set SessionMaxAge 900 However, I also need my sessions to expire when the user closes the browser. Unfortunately, the cookie header sent lo

Re: [users@httpd] Number of concurrent connections to apache

2013-12-09 Thread Kumar Bijayant
I used below command to get the number of established sessions on the server. netstat -an|grep x.x.x.x:80|grep ESTABLISHED To my surprise, it gave me total number as 728. 128 connections more what I have set up in my Apache. In apache I have set up max clients as 600. I want to know what is this