RE: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-19 Thread BipinDas-Gmail
Thanks Prasanna for your valuable feedback. So you recommend to change the Serverlimit to 41 and Threads per child is 50 in worker? My goal is to set up this server for serving around 2000 connections simultaneously with minimum load. Any more changes to be needed ? Thanks again. Greetin

[us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-19 Thread Ben Welsh
Hello, I'm managing a pgsql --> django --> mod_python --> apache machine that serves no media, but handles the postgres memcached and apache part of the stack all by itself. It's a dedicated virtual server with Red Hat EL and 1GB RAM. As traffic to the site has ramped up over time, I've begun to

Re: [us...@httpd] How To Secure My Site?

2009-05-19 Thread Davide Bianchi
Carlos Williams wrote: > I would like to know if I can use the certificate that > is used when accessing the /var/www/html/int/main as well as for > /var/www/html/ext/main/webmail? Yes, as long as you a) use the same hostname (www.iamunix.com) or ignore the fact that the browser complains about th

Re: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-19 Thread Prasanna Ram Venkatachalam
Also in prefork, MaxClients is 256 (ServerLimit also) which means at max only 256 processes can run and serve 256 connections simultaneously. In your case 2000 well exceeds this. (i personally suggest worker rather than prefork since for 2000 connections even if you change the settings, processes r

Re: [us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-19 Thread Prasanna Ram Venkatachalam
ServerLimit is 21 in worker and ThreadsPerChild is 25. So that means at MAX, 21 httpd will be running with with 25 threads each serving requests. I don't think it will serve 2000 connections simultaneously. Can you change it to 50 and 41 and see whether it works? (just a thought) Regards Prasanna

[us...@httpd] How To Secure My Site?

2009-05-19 Thread Carlos Williams
Group, I need help and I am not Apache / SSL expect so please excuse my ignorance but can someone please tell me if this is possible w/o some crazy configuration? My domain 'iamunix.com' has an SSL (Verisign) certificate. I have it installed on my web server running Apache. The config looks as fol

RE: [us...@httpd] [Apache 2.2] Issues with mod_autoindex

2009-05-19 Thread McGarr, J. Michael
Ok, so I just confirmed that the autoindex_module is loaded statically, so that is not the issue. From: McGarr, J. Michael [mailto:mike.mcg...@excella.com] Sent: Tue 5/19/2009 4:56 PM To: users@httpd.apache.org Subject: [us...@httpd] [Apache 2.2] Issues with mod_

[us...@httpd] [Apache 2.2] Issues with mod_autoindex

2009-05-19 Thread McGarr, J. Michael
I am new to Apache installations and administration and I have a new Apache httpd instance setup and I would like to setup autoindexing on a certain directory. I only get 404 errors from the directory. I checked to see if mod_autoindex is being loaded and I didn't see it in the httpd.conf Load

[us...@httpd] Apache hangs when maximum connection beyond 2000

2009-05-19 Thread BipinDas-Gmail
Hello Everybody I have a webserver running on Dell Poweredge Xeon Processor with 4GB Ram. There is only one website a learning management system called Moodle. Configuration of Apache is as follows. This is the Prefork Module. StartServers 8 MinSpareServers5 MaxSpareServers

Re: [us...@httpd] $_POST equivalent env variable in apache

2009-05-19 Thread André Warnier
Evuraan wrote: T 192.168.1.103:17670 -> 192.168.1.100:80 [AP] POST /evuraan/formtest/code.shtml HTTP/1.1. Via: Cookie: Referer: Content-Type: application/x-www-form-urlencoded. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10. Host: Acc

Re: [us...@httpd] $_POST equivalent env variable in apache

2009-05-19 Thread Evuraan
thanks for your replies and your time. now that I know it is impossible to do, here is what I was trying to do: I was trying to avoid having to float a form handler in php or w/e to grab the form POST data - and grab $POST (if it were available) from the ssi blah.shtml and be happy with the f

[us...@httpd] RE: caching with compression

2009-05-19 Thread Anthony J. Biacco
I've also noticed for requests that don't get pulled from apache's disk cache (i.e. are sent on to my tomcat server for new data), are the only ones that get sent out compressed. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.c

[us...@httpd] caching with compression

2009-05-19 Thread Anthony J. Biacco
Hi, I'm using 2.2.11 on rhel 5. I'm doing apache disk caching of a couple of my tomcat apps, and apache memory caching for my static web files. I now have started doing compression of said files and webapps (which all fall under a javascript content type). Problem is, apache is now creating a .var

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-19 Thread André Warnier
Dirk GROSSE OSTERHUES wrote: Hej Javi, it apprears to me that the tutorial you followed lacks some information. In debian the directory /etc/apache2/sites-available/ contains definitions of your hosts. Yet, those files are not parsed by apache directly. As apache is configured in debian only si

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-19 Thread Dirk GROSSE OSTERHUES
Hej Javi, it apprears to me that the tutorial you followed lacks some information. In debian the directory /etc/apache2/sites-available/ contains definitions of your hosts. Yet, those files are not parsed by apache directly. As apache is configured in debian only sites sitting in /etc/apache2/sit

Re: [us...@httpd] Apache + mod_proxy

2009-05-19 Thread André Warnier
Julien Gerhards wrote: Hi, I'm on CentOS 5.2 with the last Apache 2.2.3 It's configured like a proxy cache for a lan (caching internet) What i expect? A fully transparent proxy! the request URL : www.clubic.com Thru Apache the title is : Clubic : Informatique et Multim�dia Without the proxy :

RE: [us...@httpd] $_POST equivalent env variable in apache

2009-05-19 Thread Richard Peacock
Andre is correct, Apache doesn't actually do anything with web-pages (of any flavour) all it does it << serve >> them. The code in the pages themselves determine what to display on-screen to the end-users. Just in case it's any use, in PHP you would use: $_POST for forms sent using POST method,

Re: [us...@httpd] Apache won't start, nothing is logged.

2009-05-19 Thread Florian Bender
Hi, it turned out that this was some kind of misbehaviour of mod_ssl concerning wrong configuration with, however, correct syntax. In my case this was a file permission issue with the keyfile and a missing SSLCertificateKeyFile directive. I would consider this a bug, some Error message would be app

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-19 Thread tirengarfio
Thanks Eric, you wrote: > You can't do SSL and non-SSL with a wildcard like this. Change your > VirtualHosts and NameVirtualHosts to be of the form *:80 and *:443. But... where should i do those changes ? In "www.domain.com"? This is i wrote inside "www.domain.com" file: NameVirtualHost *:443

RE: [us...@httpd] Apache + mod_proxy

2009-05-19 Thread Julien Gerhards
Hi, I'm on CentOS 5.2 with the last Apache 2.2.3 It's configured like a proxy cache for a lan (caching internet) What i expect? A fully transparent proxy! the request URL : www.clubic.com Thru Apache the title is : Clubic : Informatique et Multim�dia Without the proxy : Clubic : Informatique et

Re: [us...@httpd] Apache + mod_proxy

2009-05-19 Thread André Warnier
Julien Gerhards wrote: Hi, i use apache as a proxy-cache. It seems to have a text encoding issue : it should display "é" but it's like "�" Any idea? And I have a VW car that sometimes does not start. Any idea ? The point is : is you want some answers, at least try to provide some useful i

Re: [us...@httpd] Error starting Apache2

2009-05-19 Thread André Warnier
Daniel Ruiz Molina wrote: Hi, I have getting some errors when Apache2 starts because of there is a configuration site (in /etc/apache2/sites-enabled) that links to a file that now not exits. So Apache2 tries to start but finds this problem and stops. Is there any parameter in the configurations

Re: [us...@httpd] $_POST equivalent env variable in apache

2009-05-19 Thread André Warnier
Evuraan wrote: Greetings..! Question:much like $_POST in php, used to collect values from a form sent with method="POST", is there a variable (like $QUERY_STRING in case of a GET) to grab data from a POST request? I am trying to avoid having a php snippet to read form data. Like $QUERY_STRING i

Re: [us...@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script

2009-05-19 Thread André Warnier
Eric Covener wrote: However, I never received an answer about about how to get apache to see the .fontconfig caches. Apache doesn't care about them. Maybe your CGI does, but setting up the execution environment for your CGI isn't really something OT here. I'll add something to the above : Wh

AW: [us...@httpd] Authentication with Oracle

2009-05-19 Thread Peter Neu
Hi, I'm not sure if I can upgrade so fast. But anyways where can I find information on how this authentication works with Oracle in 2.2? Cheers, Pete > -Ursprüngliche Nachricht- > Von: Nick Kew [mailto:n...@webthing.com] > Gesendet: Dienstag, 19. Mai 2009 15:08 > An: users@httpd.apache

Re: [us...@httpd] Authentication with Oracle

2009-05-19 Thread Nick Kew
On Tue, 19 May 2009 14:11:14 +0200 "Peter Neu" wrote: > Hi, > > I used the mod_auth_pgsql module for a while but now my boss wants me > to authenticate against an oracle db. I can't get the mod_auth_oracle > module to work. Is there another alternative? I couldn't find any. > > My system is: S

Re: [us...@httpd] Apache + mod_proxy

2009-05-19 Thread Nick Kew
On Tue, 19 May 2009 13:57:53 +0200 Julien Gerhards wrote: > Hi, > > i use apache as a proxy-cache. It seems to have a text encoding > issue : it should display "é" but it's like "�" > > Any idea? That'll be a wrong charset. Probably the backend has failed to set a charset, and the proxy is s

RE: [us...@httpd] Error starting Apache2

2009-05-19 Thread Mick Sheppard
Daniel, If you think about it you are asking Apache to start with a known bad configuration. Apache has no way of knowing whether the contents of the missing file were important or not. Perhaps they contained important security information. As such it is better for Apache to not start and force so

[us...@httpd] Authentication with Oracle

2009-05-19 Thread Peter Neu
Hi, I used the mod_auth_pgsql module for a while but now my boss wants me to authenticate against an oracle db. I can't get the mod_auth_oracle module to work. Is there another alternative? I couldn't find any. My system is: SUSE ES9, Apache/2.0.49 and Oracle 9i. Cheers, Pete -

[us...@httpd] Error starting Apache2

2009-05-19 Thread Daniel Ruiz Molina
Hi, I have getting some errors when Apache2 starts because of there is a configuration site (in /etc/apache2/sites-enabled) that links to a file that now not exits. So Apache2 tries to start but finds this problem and stops. Is there any parameter in the configurations files that allows Apache2

[us...@httpd] Apache + mod_proxy

2009-05-19 Thread Julien Gerhards
Hi, i use apache as a proxy-cache. It seems to have a text encoding issue : it should display "é" but it's like "�" Any idea?

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-19 Thread Eric Covener
On Tue, May 19, 2009 at 6:46 AM, tirengarfio wrote: > > Hi Eric, > > del...@gnewsense:/srv/svn/repos$ apache2ctl -S > apache2: Could not reliably determine the server's fully qualified domain > name, using 127.0.1.1 for ServerName > VirtualHost configuration: > wildcard NameVirtualHosts and _defau

[us...@httpd] tomcat without apache in front

2009-05-19 Thread singh
We have a single servlet application very light weight. It is just like that servlet is called with some parameter and it returns some file from "n" number of files on local file system. It is an old application and some how it is having apache in front of tomcat. What i am thinking is what is m

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-19 Thread tirengarfio
Hi Eric, del...@gnewsense:/srv/svn/repos$ apache2ctl -S apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:*is a NameVirtualHost d

Re: [us...@httpd] php

2009-05-19 Thread Melanie Pfefer
Hi I am using apache on solaris. I am not using vhosts. Each instance has a seperate httpd.conf Is there a way to avoid doing configure/make/make install? should I do the work for each instance? thank you --- On Tue, 19/5/09, Lester Caine wrote: > From: Lester Caine > Subject: Re: [us...@h

Re: [us...@httpd] why doesn't Apache process multiple concurrent .cgi requests?

2009-05-19 Thread Colm MacCárthaigh
On Tue, May 19, 2009 at 9:36 AM, Tomasz Chmielewski wrote: > Is it normal that when calling i.e. http://server/cgi-bin/script.cgimultiple > times, concurrently, from one client, each another request will > only be served only when the previous script executed to an end? > No that's nor mal, it

[us...@httpd] why doesn't Apache process multiple concurrent .cgi requests?

2009-05-19 Thread Tomasz Chmielewski
Is it normal that when calling i.e. http://server/cgi-bin/script.cgi multiple times, concurrently, from one client, each another request will only be served only when the previous script executed to an end? For example, if we have a script.cgi which sleeps for a specified amount of seconds, we

Re: [us...@httpd] php

2009-05-19 Thread Lester Caine
Melanie Pfefer wrote: Hi I have an apache web server and other instances started with a different httpd.conf (where I specified different htdocs, port number, pid...) Now the instances count around 10. A sudden request came to have php integrated in all instances. Could you please share your

[us...@httpd] php

2009-05-19 Thread Melanie Pfefer
Hi I have an apache web server and other instances started with a different httpd.conf (where I specified different htdocs, port number, pid...) Now the instances count around 10. A sudden request came to have php integrated in all instances. Could you please share your expertise on the best

Re: [us...@httpd] apache2 and .htaccess

2009-05-19 Thread Matus UHLAR - fantomas
On 19.05.09 15:59, Chris Henderson wrote: > Is there any way to tell Apache2 to prompt for username and password > when it sees a .htaccess file in a directory? No. But there is way to tell apache to read and parse the .htaccess (see and AllowOverride directives) and the .htaccess can contain dir