Re: [users@httpd] mod_authz_ldap - Authenticating users in Apache

2011-10-26 Thread Thomas Smith
On Fri, Oct 21, 2011 at 12:16 PM, Kalimuthu Samayan ksama...@googlemail.com wrote: but I am failing to have additional features listed below to authentication like, -Search and Bind a user in LDAP by passing Group ID who can authorise any specific user belongs to the group Look here for

Re: [users@httpd] Intermittent access to web address

2011-10-26 Thread Steve Swift
When you start to get not responding, are you testing from inside your 192.168.*.* network, or from beyond your router? If you are testing from inside your network, are you fetching from 192.168.1.102 or from 76.18.232.237? If the latter, then you should check your router to see if it allows such

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Steve Swift
I don't understand how suexec is calling php-cgi, and how such php scripts work. I use SUEXEC on a couple of very different systems. My scripts (as is required) run from a directory below my DocumentRoot. In turn, they use the shebang method to invoke the programming language: #!/usr/bin/rexx --

[users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread dubbelpunt
My httpdserver is sporadically not interpreting some of my php code. For example: today it can be function a() from page1.php that he doesn't find and tomorrow it can be function b() from page2.php that isn't interpeted. After restarting the httpd service, it works for a couple of hours and then

Re: [users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread fedora
Hi Andi we once had the following problem: The home-page of a specific Web was erased at unspecified times, sometimes at 2 o'clock at night, sometimes at 4.35 in the morning. We then found out, that the devolopper of this Web had left a php-script in the cgi-area of this Web, which erased the

Re: [users@httpd] Intermittent access to web address

2011-10-26 Thread Webmaster Bill
I am testing from another computer on my home network but a friend a few miles away is testing the web address also and he encounters the same problems . Wild Bill Miller Swampmaster From: Steve Swift Sent: Wednesday, October 26, 2011 2:12 AM To: users@httpd.apache.org Subject: Re:

Re: [users@httpd] Intermittent access to web address

2011-10-26 Thread J.Lance Wilkinson
Webmaster Bill wrote: */I am testing from another computer on my home network but a friend a few miles away is testing the web address also and /**/he encounters the same problems/* Another thing to consider is your ISP (COMCAST, I understand from an earlier post; same as

Re: [users@httpd] Apache2 sporadically not interpreting php code

2011-10-26 Thread Jeroen Geilman
On 2011-10-26 10:06, dubbelpunt wrote: My httpdserver is sporadically not interpreting some of my php code. Apache never, ever interprets PHP code. You are talking about mod_php, which is a third-party module. That said, you are also using APC and mod_python. I suggest you look into that.

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Jesse B. Crawford
Because PHP is embedded within HTML, PHP web scripts cannot use a shebang, so it is a necessity that the php-cgi binary (/usr/bin/php-cgi in our environment) be executed with the script as an argument, rather than the script being executed directly (or at least this is my understanding, and I

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Alexandr Normuradov
Use MPM ITK. Solves security, memory and speed problems. Tested in production, very good alternative for environments when users are not very savvy and not require custom php.ini Sincerely, Alexandr Normuradov On 26 October 2011 19:00, Jesse B. Crawford jean...@nmt.edu wrote: Because PHP is

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Yehuda Katz
On Wed, Oct 26, 2011 at 9:49 PM, Alexandr Normuradov norma...@gmail.comwrote: Use MPM ITK. Solves security, memory and speed problems. Tested in production, very good alternative for environments when users are not very savvy and not require custom php.ini I use ITK with great results, but

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Alexandr Normuradov
Same config headache as SuexecUserGroup directive. Everything can be nicely automated with a bash script and Includes to sub configs. As of ~userdir, let them run their web sites, just put proper thresholds and universal cache, like mod_cache, that handles pretty much everything. ITK has some nice

Re: [users@httpd] best practice: suexec with PHP5 in a many-user/non-technical-user environment

2011-10-26 Thread Yehuda Katz
My understanding of suEXEC (not that I have used it) is that it will automatically discover which user to execute as when pulling from a location configured with UserDir (with some limitations, search http://httpd.apache.org/docs/2.2/suexec.html for UserDir). - Y On Wed, Oct 26, 2011 at 10:07