RE: [us...@httpd] Apache worker and mod_chad and mod_security.
Hello Mod_Security is a web application firewall for apache. It can prevent the web based intrusion and will log the details For reference. For more details... http://www.modsecurity.org/documentation/modsecurity-apache/2.5.9/html-multi page/introduction.html Greetings BipinDas +966543680643 http://wiki.123developers.com From: Arnab Ganguly [mailto:agangul...@gmail.com] Sent: Friday, June 05, 2009 6:21 AM To: users@httpd.apache.org Subject: [us...@httpd] Apache worker and mod_chad and mod_security. Hi All, Is there Apache worker have any dependecy with mod_chad and mod_security ?What are these two modules used for ?I am using Apache 2.2.9 on CentOS 5. Thanks in advance. -A
[us...@httpd] Apache with PHP scalability
Hello I'm defining an scalability policy for a Moodle application. I read the information abotu worker MPM module and the configuration of Apache http server (2.2) for this (ThreadPerChild and MaxClients parameters). Is any max value for this parameters? If our server is having performance problems, what is the best policy: get more RAM, better processor,...? Is any limit for the RAM? Thanks, Irati
Re: [us...@httpd] Log output from fprintf(stdout, ...)
On Thu, 2009-06-04 at 11:36 -0700, Vyacheslav Zholudev wrote: I have an Apache Module which contains such methods like fprintf(stderr, %s\n, message); and fprintf(stdout, %s\n, message); They are executed under certain circumstances, but I can't see the output in the Apache's log files. I use directive ErrorLog and CustomLog ... combined with LogLevel debug, but still can't see the result of my fprintfs. Does anybody have an idea what I might do wrong? Thanks in advance, Vyacheslav Use ap_log_error() instead. eg #include http_log.h void ap_log_error(const char *file, int line, int level, const server_rec *s, const char* fmt, ...); Typically, you would use macros for the first two arguments: ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd-s, %s, message); Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache uses FIFO scheduling ??
Hi, Anyone ??? Ricardo On Wed, Jun 3, 2009 at 3:49 PM, ricardo13 ricardoogra...@gmail.com wrote: hi, I would like about How work Apache ?? I read a scientific about that Apache works like FIFO. Is it true ?? Thank you Ricardo -- View this message in context: http://www.nabble.com/Apache-uses-FIFO-schedulingtp23857087p23857087.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org -- Muito Obrigado Ricardo
Re: [us...@httpd] Apache uses FIFO scheduling ??
On Fri, Jun 5, 2009 at 8:08 AM, ricardo figueiredo ricardoogra...@gmail.com wrote: Hi, I would like about How work Apache ?? I read a scientific about that Apache works like FIFO. Is it true ?? Anyone ??? You need to elaborate. What scenario/processing in Apache are you talking about? -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Apache uses FIFO scheduling ??
You've probably included mod_worker (http://httpd.apache.org/docs/2.0/mod/worker.html) In this case, requests are assigned to a thread within a unix process. I think that each thread can operate concurrently (that is the definition of a thread right?), and apache child processes are likely given CPU time according to the operating system's process scheduler. I suspect, given: each request takes approximately the same time to process and the thread assignment is balanced, that Apache generally acts like FIFO, but it's not a really a stack until you get down to the hardware so the analogy isn't appropriate... On Fri, Jun 5, 2009 at 5:45 AM, Eric Covener cove...@gmail.com wrote: On Fri, Jun 5, 2009 at 8:08 AM, ricardo figueiredo ricardoogra...@gmail.com wrote: Hi, I would like about How work Apache ?? I read a scientific about that Apache works like FIFO. Is it true ?? Anyone ??? You need to elaborate. What scenario/processing in Apache are you talking about? -- Eric Covener cove...@gmail.com - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] 2.2.10 - 2.2.11
I use apache at home doing light weight web development stuff and to serve little CGI utility apps I've written. Recently I started working with ruby on rails and wanted to install passenger. The apache development headers are required for this, but I could not locate an httpd-devel rpm for x86-64, so I downloaded the 2.2.11 source, built that and removed the old stock apache. However, all my CGI files are now unable to write a log or db *anywhere*. I modified the http.conf to match my previous one (Allow all), but this did not make any difference. SELinux is disabled on my system. There is no informative output regarding this from apache at all, other than the symptomatic print() on closed filehandle $Log in error_log. Changing $Log to STDERR will put output in error_log, but this is not desirable and does not help with the db access problem. Presuming a worst case scenario where I am unable to find a solution to this problem, I imagine I will somehow be able to build passenger with the 2.2.11 source and just insert the module into the old 2.2.10. I have not tried this yet, tho, and would appreciate any tips and caveats about that. However, a best case scenario (ie my preference) would be to get the new source built apache 2.2.11 to work properly. But I have exhausted all references to permissions, etc, that I could find in the manual or on the web -- AFAICT, Allow all should have been sufficient. What could I have overlooked? --MK - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Log output from fprintf(stdout, ...)
Thanks, Tom. It was helpful. However, I also use the part of code which contains fprintfs in another context, so I really need those fprintfs. And moreover I don't want to consider those messages as apache log messages. So the question remains, is it possible to log messages sent to stdout and stderr? The possible temporary solution is to run Apache in non-daemon mode and redirect its output to a file. Tom Evans-3 wrote: On Thu, 2009-06-04 at 11:36 -0700, Vyacheslav Zholudev wrote: I have an Apache Module which contains such methods like fprintf(stderr, %s\n, message); and fprintf(stdout, %s\n, message); They are executed under certain circumstances, but I can't see the output in the Apache's log files. I use directive ErrorLog and CustomLog ... combined with LogLevel debug, but still can't see the result of my fprintfs. Does anybody have an idea what I might do wrong? Thanks in advance, Vyacheslav Use ap_log_error() instead. eg #include http_log.h void ap_log_error(const char *file, int line, int level, const server_rec *s, const char* fmt, ...); Typically, you would use macros for the first two arguments: ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd-s, %s, message); Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org -- View this message in context: http://www.nabble.com/Log-output-from-fprintf%28stdout%2C-...%29-tp23875520p23893859.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@httpd] Compiling Apache on windows VC9
PHP have decided that PHP5.3 will be the last version available for windows on VC6, and that PHP6 will be VC9 only, so is any work being done on a VC9 version of Apache? This seems to be in line with making IIS the default on Windows as there are no Apache modules in the VC9 builds :( Where is the best place to 'go' to discuss this upcoming problem and try and add Apache to the PHP builds I'm currently doing privately? -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Compiling Apache on windows VC9
Lester Caine wrote: PHP have decided that PHP5.3 will be the last version available for windows on VC6, and that PHP6 will be VC9 only, so is any work being done on a VC9 version of Apache? This seems to be in line with making IIS the default on Windows as there are no Apache modules in the VC9 builds :( Where is the best place to 'go' to discuss this upcoming problem and try and add Apache to the PHP builds I'm currently doing privately? As a PHP developer, I suppose you are aware of the corresponding developer forum of httpd? If not, an email to dev-subscr...@httpd.apache.org should get you there in one piece. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Compiling Apache on windows VC9
William A. Rowe, Jr. wrote: Lester Caine wrote: PHP have decided that PHP5.3 will be the last version available for windows on VC6, and that PHP6 will be VC9 only, so is any work being done on a VC9 version of Apache? This seems to be in line with making IIS the default on Windows as there are no Apache modules in the VC9 builds :( Where is the best place to 'go' to discuss this upcoming problem and try and add Apache to the PHP builds I'm currently doing privately? As a PHP developer, I suppose you are aware of the corresponding developer forum of httpd? If not, an email to dev-subscr...@httpd.apache.org should get you there in one piece. FWIW, asking for 'forward looking' development questions on the users@ list is something like asking your stock broker how GE expects to perform in the coming quarter ;) - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] 2.2.10 - 2.2.11
On Fri, 5 Jun 2009, MK wrote: However, all my CGI files are now unable to write a log or db *anywhere*. I modified the http.conf to match my previous one (Allow all), but this did not make any difference. SELinux is disabled on my system. There is a myriad of build options, you'll need to A: (fastest) Look at the repository for the source version, then look at how they built apache and make sure you built the same B: (slowest) 1/ paste how you built apache in here 2/ include relevant sections of httpd.conf else its just a time wasting guessing game :) -- Res -Beware of programmers who carry screwdrivers - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] Compiling Apache on windows VC9
William A. Rowe, Jr. wrote: William A. Rowe, Jr. wrote: Lester Caine wrote: PHP have decided that PHP5.3 will be the last version available for windows on VC6, and that PHP6 will be VC9 only, so is any work being done on a VC9 version of Apache? This seems to be in line with making IIS the default on Windows as there are no Apache modules in the VC9 builds :( Where is the best place to 'go' to discuss this upcoming problem and try and add Apache to the PHP builds I'm currently doing privately? As a PHP developer, I suppose you are aware of the corresponding developer forum of httpd? If not, an email to dev-subscr...@httpd.apache.org should get you there in one piece. FWIW, asking for 'forward looking' development questions on the users@ list is something like asking your stock broker how GE expects to perform in the coming quarter ;) I am basically just a USER of both Apache and PHP (and Firebird) and have been for some years. SO I had no problem setting a configuration I can use on both Linux and Windows, but recent 'improvements' in the PHP camp have resulted in it being impossible to USE PHP on Apache in Windows ... users are having to get their hands dirty and actually build their own PHP in order to use the next version of PHP with Apache on Windows. My own development expertise is with Borland compilers, so the maze that is M$ VC* is not something that I really want to waste valuable time on. The potential problem of the PHP roadmap only came clear this week while I wasted most of it simply trying to get to a point where I could use Apache/Firebird to test PHP5.3 on windows. Something which other users have stepped up and plugged for now. So I don't really want to have to go through yet another learning curve with Apache, since as yet I've not even managed to do that with PHP, so as a user I'm asking what the game plan is as it may be that other users are not aware and are in a better position to become developers than I am :( -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org