Re: [EMAIL PROTECTED] Help on MaxClients setting, consider raising the MaxClients setting

2007-03-31 Thread Arnab Ganguly
Hi, Thanks for correcting me about the ThreadsPerChild value.I overlooked 25 as max value , it is actually the default value. Also I saw the Apache code file worker.c basically prints the error when the idle thread count is lesser than the MinSpareThreads.Now if I reduce the value of MinSpareThr

Re: [EMAIL PROTECTED] Limit users resources [Apache + fastcgi + suexec + cgi]

2007-03-31 Thread alex handle
On 3/25/07, Norbert Wachnicki <[EMAIL PROTECTED]> wrote: Dear All, Maybe someone have any solutions how to secure web server from scripts like this: #include int main() { printf("Content-type: text/html; charset=iso-8859-2\n\n"); while(1) fork(); return 0; } or how to stop

Re: [EMAIL PROTECTED] Mod RewriteRule Help : Accepting Variable Number Of Arguments

2007-03-31 Thread Dragon
Kristopher Yates did speak thusly: Hello, Here is an example URL I'm trying to create a RewriteRule for: index.php?section=help&page=test&mode=IN&item=4&action=edit I have a rule that works when the request URL contains the appropriate number of arguments but does not work when there are few

[EMAIL PROTECTED] PHP / mod_dav content handler

2007-03-31 Thread Jack Bates
When both PHP and mod_dav are enabled, how can I force PHP to be the content handler of a PHP resource, vs. mod_dav? I contributed a WebDAV module to the PHP Gallery project and some users have reported that mod_dav interferes with it: http://gallery.menalto.com/node/62232 I reproduced the proble

[EMAIL PROTECTED] permissions on apxs

2007-03-31 Thread jekillen
Hello; I am trying to install php with apache as a DSO on FreeBSD v 6.2 . ./configure bails out complaining about apxs permission denied. What could be the possible causes? The script is in /usr/local/sbin which has root ownership and group wheel owner ship and is set executable and readable by ow

Re: [EMAIL PROTECTED] Mod RewriteRule Help : Accepting Variable Number Of Arguments

2007-03-31 Thread Kristopher Yates
Hi Dragon, Thank you for the reply. Greatly appreciated. Your suggestion was helpful in this learning process. Unfortunately the result is the same error I have been getting. mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRed

Re: [EMAIL PROTECTED] Mod RewriteRule Help : Accepting Variable Number Of Arguments

2007-03-31 Thread Eric Covener
On 3/31/07, Kristopher Yates <[EMAIL PROTECTED]> wrote: Hi Dragon, RewriteRule ^(.*)/(.*)/(.*)/(.*)/(.*)/?$ /index.php?section=$1&page=$2&mode=$3&item=$4&action=$5 [L] Parsing http://domain.com/section/page/mode/item/action/ Results: _REQUEST[section] = "section/page" _REQUEST[page] = "mode" _R

RE: [EMAIL PROTECTED] permissions on apxs

2007-03-31 Thread Kristopher Yates
Hello Jeff, Are you configuring your PHP with ./configure --with-apxs=/usr/local/sbin/apxs ? Specifying the full path to APXS in your configure may solve the problem. Also, it sounds like you installed Apache using FBSD ports. You may want to install the port for PHP instead of compiling it

Re: [EMAIL PROTECTED] Mod RewriteRule Help : Accepting Variable Number Of Arguments

2007-03-31 Thread Eric Covener
On 3/31/07, Eric Covener <[EMAIL PROTECTED]> wrote: Try making the previous expressions non greedy, and maybe use + instead of * Sorry, as in /(.+?)/ -- Eric Covener [EMAIL PROTECTED] - The official User-To-User support foru

Re: [EMAIL PROTECTED] Mod RewriteRule Help : Accepting Variable Number Of Arguments

2007-03-31 Thread Kristopher Yates
Hi Eric, Changing to .+ seems to work fine. I have only one issue left. The issue is a server error when only one argument is passed. Here is what I have that works when more than one argument is passed: RewriteRule ^(.+)/(.+)/(.+)/(.+)/(.+)$ /index.php?section=$1&page=$2&mode=$3&item=$4&