Re: [us...@httpd] Fwd: Home Web Server

2009-05-13 Thread André Warnier
Justin Zhang wrote: Is my cofiguration right? Listen 192.168.0.100:80 ServerName 24.78.136.243:80 Not entirely. Simplify : Listen 80 ServerName 24.78.136.243 Some tips : - do not make changes to the configuration unless you know exactly why you are making them, and what you are doing. - ma

Re: [us...@httpd] Fwd: Home Web Server

2009-05-13 Thread André Warnier
Justin Zhang wrote: http://192.168.0.100:8080 is working for me now. Could you help try my external IP *24.78.136.243* Thanks, Doesn't work : connection refused. I believe now is time for a pause to think. When we connect from outside to the address 24.78.136.243, we in fact connect to your

[us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Hi. I have an Apache 2.2 webserver set up with VHosts, one of them having a DocumentRoot structured as follows : DocumentRoot /var/www/company.com/docs disk : /var/www/company.com/docs /app1 /app2 /app3 These different areas /app1, /app2, /app3 have

Re: [us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Complement added at end. André Warnier wrote: Hi. I have an Apache 2.2 webserver set up with VHosts, one of them having a DocumentRoot structured as follows : DocumentRoot /var/www/company.com/docs disk : /var/www/company.com/docs /app1 /app2

Re: [us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Eric Covener wrote: On Thu, May 14, 2009 at 6:57 AM, André Warnier wrote: For example, would the following work, or am I forgetting something, doing something bad, risk security bypasses, etc.. ? RewriteCond %{HTTP_HOST} app3.company.com RewriteRule ^/$ /app3/ [L] RewriteCond %{HTTP_HOST

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Justin Zhang wrote: Now only local address is working http://192.168.0.100:8080/ Besides myIPaddress, is there any other way to check my external IP address. Since I got different IPs with and without Phone adapter. 24.78.136.243 is with phone adapter, and the other one is 24.78.147.173. I dono

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
n you talk about "router", which box do you mean ? Justin Zhang wrote: You can see the diagram in the link http://en.wikipedia.org/wiki/File:Voip-typical.gif Thanks On Thu, May 14, 2009 at 8:57 AM, André Warnier wrote: Justin Zhang wrote: Now only local address is working http:

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Status, then look at WAN / IP address, and tell us that address. (*) we try first that, and if it does not work, we will try something else. Thanks On Thu, May 14, 2009 at 9:24 AM, André Warnier wrote: Ok, seen. Is that *exactly* your setup ? (if not, tell us what is different compar

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Justin Zhang wrote: Ip address is 192.168.0.1 Justin, I am sorry but I give up. The IP address above makes no sense as a WAN IP, so I have no idea what your problem is. On Thu, May 14, 2009 at 10:57 AM, André Warnier wrote: Justin Zhang wrote: My setup is exactly the same as the

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Well, yes. It was just my Apache evangelist streak at work. But this is definitely not an Apache issue. Frank Gingras wrote: My thoughts, exactly. Have him hire a local geek for 15 minutes, and get this over with. Frank. Evan Platt wrote: At 11:28 AM 5/14/2009, you wrote: Ip address is 192

Re: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread André Warnier
Tony Ser wrote: Hi, We are developing a web application and need to create a website. The testsite.conf contains Namevirtualhost *:80 ServerName ? AllowEncodedSlashes On DocumentRoot | | v Alias /testsite "/var/www/company/yyy

Re: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread André Warnier
Tony Ser wrote: Thanks for the reply. What we are trying to do is to create a new vhost without disrupting the default settings. So that http://localhost/whatever/... Follow the default setup while http://localhost/testsite/... Will refer to /var/www/company/yyy/public I did look into the su

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

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] 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] 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] 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] 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] $_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] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-20 Thread André Warnier
tirengarfio wrote: Hi again, Or just enter a2ensite www.domain.com After that and reload apache (/etc/init.d/apache2 reload) i get this error: Sintax error on line 22 of /etc/apache2/sites-enabled/svn.domain.com: LogLevel takes one argument, Level of verbosity in error logging ...fail! Th

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

2009-05-20 Thread André Warnier
palewire wrote: For what it's worth, I've taken the additional step of running `lsof |grep httpd > http.dump` and posting it online. My understanding is that this shows all of the httpd open files that are adding up to my high totals. http://gist.github.com/114943 If anyone who understands this

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

2009-05-20 Thread André Warnier
Ben Welsh wrote: Thanks for your thoughts Andre. As I recollect, I think some of the these errors started cropping up around the time I compiled the python module numpy on the server. And I think that fortran and a lot of those deadweight file objects are its children. Perhaps if I scaled by the

Re: [us...@httpd] Rewrite: modify http_host for many subdomains

2009-05-20 Thread André Warnier
Pete Nesbitt wrote: Hi, We are changing one of our domain names which has about 150 host/subdomains. Apache version is 2.0.52 on RHEL4 Current http_host's would look something like this: service1.old-domain.com service2.old-domain.com host1.subdom1.old-domain.com etc... I need to make them re

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

2009-05-20 Thread André Warnier
si...@allumezinfotech.com wrote: This is one thing i have heard from many what's the big deal in opening port 80 of app servers? any pointers There is no big deal having Tomcat answer directly on port 80. This topic then would be better posted on the Tomcat users mailing list, but in a nutshe

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

2009-05-23 Thread André Warnier
Sean Conner wrote: But I would wait a few hours for a real expert to comment, which I'm sure one will do if I wrote something really stupid above. Thanks, Sean, for the clarification. Usweful for me too. - The official Use

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread André Warnier
Anthony Catel wrote: Eric Covener a écrit : On Sat, May 23, 2009 at 10:21 AM, Anthony Catel wrote: I don't see any reasons why Apache couldn't be aware if the client hung up gracefully. Patches are always welcome. Alright ;) Just wanted to know if it was a bug or a feature. It'

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-23 Thread André Warnier
Anthony Catel wrote: ... But if the client hand-up, the read() loop (of the client) will return. So Apache know that the client is disconnected. Why Apache doesn't shutdown the socket to the proxied server when this happen ? Sorry, I was only loosely following this thread. If indeed, at the ti

Re: [us...@httpd] mod_proxy_http persistant connection issue

2009-05-24 Thread André Warnier
Anthony Catel wrote: André Warnier a écrit : Anthony Catel wrote: ... So if the proxied server never close the connection Apache will have a ghost connection during "ProxyTimeout value" seconds. It's annoying :p Not "never close the connection"; rather, if the proxi

Re: [us...@httpd] Order of Proxy matching

2009-05-25 Thread André Warnier
Evan Champion wrote: Hi, Can anyone advise of the order in which statements matching the same URL are matched? I am using SetEnvIf to set a variable that is saved later in the access_log. Sometimes there is a more specific match and a less specific match for the same URL, e.g.: http://server

Re: [us...@httpd] Debugging 404 error

2009-05-26 Thread André Warnier
Guruprasad wrote: Hi, --- Guruprasad [Tue, May 26, 2009 at 12:52:16PM +0530]: --- what user/group is httpd running as? have you verified that httpd has read access to the site directory and its contents? Apache is running as www-data user and all the folders in question are having 777 permiss

Re: [us...@httpd] Are apache caching modules redudant of memcached?

2009-05-26 Thread André Warnier
Ben, indeed I seem to recall seeing things like ldap and kerberos libraries. So probably you do have some redundant mod_auth* stuff in your configuration, and could probably comment them out. Independently of the number of open files, which this may impact or not, anything you don't need and re

Re: [us...@httpd] How does Prefork work?

2009-05-28 Thread André Warnier
CrystalCracker wrote: Thanks a lot for the response. I will do some ab and siege tests to verify it, but I am trying to conceptually understand it first. StartServers 5 MinSpareServers 5 MaxSpareServers 20 MaxClients250 MaxRequestsPerChild 4000 I have at least 2

Re: [us...@httpd] 2.2.10 -> 2.2.11

2009-06-06 Thread André Warnier
MK wrote: On 06/05/2009 07:46:47 PM, Res wrote: 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 You mean how the stock FC10 was built? Considering I am using "t

Re: [us...@httpd] Internal Dummy Connection .. Should I care ?

2009-06-08 Thread André Warnier
BipinDas-Gmail wrote: Yes Eric. I have read that already . I need to solve it :). I have put .htaccess in my webroot According to the document instructed. But still I am getting the same. It looks like you did not read it very well then, as I cannot see where it tells you to add a .htaccess

Re: [us...@httpd] 503 status seems to get cached - how do I disable caching?

2009-06-08 Thread André Warnier
Jenny Brown wrote: ... Just to get better answers, can you provide some additional information, such as - which Apache are you talking about (version) ? - which Tomcat (version) ? - how are they connected (connector ?) - on which platform (OS) ? Then anyway, as far as I know, /nothing/ is cachi

Re: [us...@httpd] 503 status seems to get cached - how do I disable caching?

2009-06-08 Thread André Warnier
Jenny Brown wrote: On Mon, Jun 8, 2009 at 12:50 PM, Jenny Brown wrote: What you should really try, is to use the browser to access that same URL directly on Tomcat, without going through Apache, and see how long you have to wait there to get an answer after you start Tomcat. Hitting tomcat dire

Re: [us...@httpd] Apache 1.3.41 child processes crashing frequently.

2009-06-09 Thread André Warnier
Davide Bianchi wrote: Prathima Dandapani -X (pdandapa - HCL at Cisco) wrote: .. And if you go through all the trouble of compiling all that stuff and installing it new, why do you not use the Apache 2.x latest stuff, instead of Apache 1.3 ? (not saying 1.3.x does not work, but the basic archit

Re: [us...@httpd] default site

2009-06-09 Thread André Warnier
Eric Covener wrote: On Tue, Jun 9, 2009 at 4:11 AM, Matus UHLAR - fantomas wrote: Boyle Owen wrote: ... Amazing how this can get confused quickly, no ? ;-) My version : -- begin of main configuration file (say httpd.conf) --- directives.. more directives... ... Listen 80 ... NameVirtualHost

Re: [us...@httpd] 503 status seems to get cached - how do I disable caching?

2009-06-10 Thread André Warnier
Ryan Murray wrote: Did you check the timeout on your apache proxy config? Once apache has detected the backend is not available it won't retry again until a certain number of seconds (timeout) has passed. I pretty sure mod_proxy defaults to 60 seconds, which I usually reduce to get a quicker rec

Re: [us...@httpd] Rewrite Rule for hiding Destination URL ??

2009-06-10 Thread André Warnier
BipinDas-Gmail wrote: Hello All, I need to rewrite the url http://123.dev.com to http://123.dev.com/profile 1) Since you are rewriting everything that is "/*" to "/profile/*" anyway, then why don't you move everything that is now under /profile, to / , and be done with all the rewriting

Re: [us...@httpd] Error 403 with POST but not GET

2009-06-10 Thread André Warnier
Jonathan Gazeley wrote: x.x.x.x - jg4461 [09/Jun/2009:07:18:32 +0100] "GET /cgi-bin/registerMAC.pl?ticket=ST-39049938-KDf1eIxd5gH0dodU8KzX HTTP/1.1" 200 4792 x.x.x.x - - [09/Jun/2009:07:19:40 +0100] "POST /cgi-bin/registerMAC.pl HTTP/1.1" 403 313 Just from the name and arguments of the scri

Re: [us...@httpd] Fixing HTTP Service / Server Version Detected

2009-06-10 Thread André Warnier
RE: [us...@httpd] default site RE: [us...@httpd] 503 status seems to get cached - how do I disable caching? Singh, Sukhjeet wrote: (lots of stuff in the wrong threads) 1) would you please stop just hitting the "reply" button on just any message of this list to post things that have nothin

Re: [us...@httpd] Fixing HTTP Service / Server Version Detected

2009-06-10 Thread André Warnier
u treat it that ways or not..? Sukhjeet -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, June 10, 2009 6:25 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Fixing HTTP Service / Server Version Detected RE: [us...@httpd] default site RE: [us...@htt

Re: [us...@httpd] Fixing HTTP Service / Server Version Detected

2009-06-10 Thread André Warnier
Dave Floyd wrote: I need to fix this Vulnerability, So can someone please check the vulnerability and let me know the best way to fix the HTTP Service / Server Version. The server allows capture of the HTTP service banner. Service banners can contain sensitive information, such as application

Re: [us...@httpd] Fixing HTTP Service / Server Version Detected

2009-06-10 Thread André Warnier
Boyle Owen wrote: I suspect we've had a visitation from a Help Vampire... http://slash7.com/pages/vampires That's a great one ! :-) Did you know this one ? http://www.mail-archive.com/us...@tomcat.apache.org/msg53854.html ---

Re: [us...@httpd] 503 status seems to get cached - how do I disable caching?

2009-06-10 Thread André Warnier
Jenny Brown wrote: On Wed, Jun 10, 2009 at 3:06 AM, André Warnier wrote: So, to get back to the original issue : if indeed the observed behaviour derives from such a timeout on the part of mod_proxy, I would suggest to do some thinking about whether it is not better, in a general sense, to

Re: [us...@httpd] Fixing HTTP Service / Server Version Detected

2009-06-10 Thread André Warnier
William A. Rowe, Jr. wrote: http://httpd.apache.org/docs/2.2/mod/core.html#servertokens Sadly, this information is useless to you. This is not an httpd issue, it's a JBoss issue. Take it to their user forum. This is not a JBoss support forum. What I've been trying to tell the OP since mmm

Re: [us...@httpd] HTTP server scalability

2009-06-10 Thread André Warnier
Complementary to what you will find in the on-line Apache documentation at http://httpd.apache.org, and painted with a very wide brush : When you start Apache, a single main Apache process is started. It reads and checks the configuration, and loads a series of core and add-on modules, as per y

Re: [us...@httpd] 503 status seems to get cached - how do I disable caching?

2009-06-11 Thread André Warnier
s is the behavior I wanted. Thanks for the help! Problem solved. Jenny Brown On Wed, Jun 10, 2009 at 2:31 PM, André Warnier wrote: Jenny Brown wrote: On Wed, Jun 10, 2009 at 3:06 AM, André Warnier wrote: So, to get back to the original issue : if indeed the observed behaviour derives

Re: [us...@httpd] Re: Apache with multiple instance of jboss on same server

2009-06-11 Thread André Warnier
Hi. The configuration you provide below does not seem to make much sense. Why do you have 2 workers (4 and 5), connecting to the /same/ back-end (IP4) on the same port (8009) ? No wonder something is getting confused. I have not cross-checked the rest, but generally speaking : 1 "worker", port

Re: [us...@httpd] Apache with multiple instance of jboss on same server

2009-06-11 Thread André Warnier
Sushant Gulati wrote: ... This list does not allow discussions about Jboss configuration. It is not that the list does not /allow/ discussions about JBoss. It is that JBoss is another software product, for which people here are probably not competent. And they know it, so they do not want to

Re: [us...@httpd] redirect webdav traffic from dmz to server inside firewall?

2009-06-12 Thread André Warnier
Brent Friedman wrote: I have a box running webdav inside a firewall. I want to provide access to webdav via a box running in a dmz. I am not certain of mod_rewrite is the appropriate way to accomplish this, but I haven't been able to configure the dmz server properly to forward traffic for we

Re: [us...@httpd] Question about how to fetch html?

2009-06-12 Thread André Warnier
Brian Kim wrote: Hi all. Hi Brian. Currently I am creating a http-based proxy system to fetch a html data between users' browser ans web server. That's usually what browsers do already, but ok.. In fact, I did it by adding some code in ap_proxy_http_process_response function as follows

Re: [us...@httpd] Question about how to fetch html?

2009-06-12 Thread André Warnier
Brian Kim wrote: Thanks. Sorry for unclear explanations. Basically I want to make my proxy system do (1) parsing the html data, (2) analyzing the html data, (3) modifying some of the html data and then sending it to users. Here, the problem is that it is hard to finish (1), (2) & (3) jobs befo

Re: [us...@httpd] How to trace/debug httpd?

2009-06-13 Thread André Warnier
howard chen wrote: Hello, Is it possible to trace/debug how httpd is handling a request? e.g. which module is handling stuff and how much time they are spending on. You could start here : http://httpd.apache.org/docs/2.2/logs.html Then, each module usually has its additional logging configur

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread André Warnier
BipinDas-Gmail wrote: Hello All, I have a webserver having following configurations. It having only one website and around 1000 people browsing simultaneously. Now we need to put Moodle LMS into this webserver for which students able to attend Quiz upload assignments (MSword,PDF etc). Aft

Re: [us...@httpd] mod_auth_pgsql and mod_auth_mysql on the same server

2009-06-15 Thread André Warnier
Marc Feist wrote: Hi! I'm trying to get both authentication methods running on a server. One virtual server uses the pgsql and other virtual servers use mysql for authentication. It all works fine except the servers using mysql have got an error_log full of lines like: [...] [mod_auth_pgsql

Re: [us...@httpd] Custom Error Handling

2009-06-15 Thread André Warnier
Alan Wilson wrote: Hi, I'm trying to get httpd to return a custom error code via a CGI, eg if the client makes a connection to test.cgi (which is a valid URI) but the parameters, POST data or some other aspect of the interaction is incorrect I want to return a different error code from the sta

Re: [us...@httpd] Apache Conf for 2000 Users ??

2009-06-15 Thread André Warnier
BipinDas-Gmail wrote: Hi Tested in a Live environment. Apache server load shoots above 100 and behaves badly. StartServers * MaxRequestPerChild = MaxClients. Is this correct equation for calculating Total allowable user connection ? Instead of abusing this list, and the time of the people on it

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
Rubén Clérigo wrote: Hello I have an apache 2.2 server running on debian with nearly 100 virtualhosts working without problems. But, I need to host a new name which contains an Spanish char (ñ). I have created a virtualhost like the rest, but when I try to browse the site y get the fallback

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
By the way, the punycode version of your sample domain below is www.xn--maana-pta.es I also found this interesting link via Google : http://www.charset.org/punycode.php Rubén Clérigo wrote: Hello I have an apache 2.2 server running on debian with nearly 100 virtualhosts working without proble

Re: [us...@httpd] International chars in domain names + Virtualhosts

2009-06-15 Thread André Warnier
Rubén Clérigo wrote: Thanks very much André, this is just what I was looking for. I am afraid it was the first time I read about punycode. Ole ! De nada, me encanta haber ayudado. - The official User-To-User support forum of

Re: [us...@httpd] Turkish Language Support

2009-06-16 Thread André Warnier
mustafa basaran wrote: ... Hi. You are on the wrong support list. This is the list for the Apache httpd server, not the Apache Tomcat servlet engine. Look on this page for subscribing to the Tomcat list : http://tomcat.apache.org/lists.html This being said, and subject to confirmation by Tomca

Re: [us...@httpd] Custom Error Handling

2009-06-16 Thread André Warnier
Alan Wilson wrote: Thanks - that makes sense, using a test along the lines of print "Content-Type: text/html\n"; print "Status: 302 Moved\nLocation: http://www.mydomain.com/test.cgi\n\n";; print "\n"; Seems to do what I want. That is strange, and I am surprised it works (but I don't know ev

Re: [us...@httpd] RewriteRule for case insensitive URL

2009-06-16 Thread André Warnier
Matt Veitas wrote: Hi I am attempting to create a rewrite rule for our application and am in need of some assistance. The application is found at the following URL: https://my.domain.com/FooBar We are looking to be able to catch all cases of the path /FooBar (fooBar, Foobar, foobar, FOOBAR) and

Re: [us...@httpd] Upload stops after 30 minutes

2009-06-16 Thread André Warnier
Patrick Herber wrote: ... Not really sure about this, so don't take it as gospel, but I believe that there may be some "maximum POST size" parameter built-in into Apache and/or Tomcat (as a protection against denial-of-service attacks). Maybe that is what you are running against, not a timeout

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread André Warnier
Sevis wrote: ... Hi. I have seen another thread recently (last month or so) on UAC issues, either on this list or Tomcat's list. Search for it, I believe it had answers for you. - The official User-To-User support forum of the

Re: [us...@httpd] Configure Server To Run In Windows Vista

2009-06-17 Thread André Warnier
André Warnier wrote: Sevis wrote: ... Hi. I have seen another thread recently (last month or so) on UAC issues, either on this list or Tomcat's list. Search for it, I believe it had answers for you. To be complete though, I remember it had a lot of things like %$&54(&4865!!,

Re: [us...@httpd] What does this info means and how to fix?

2009-06-18 Thread André Warnier
Melanie Pfefer wrote: Hi I see this in the error logs: [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle, and 21 total children [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServ

Re: [us...@httpd] throgh https accesing struts2 application

2009-06-18 Thread André Warnier
ravindra wrote: In your description, it is not very clear - if you use Apache httpd /and/ Apache Tomcat - if yes, are these separate hosts, and if yes, are they at the same physical location ? - how they are connected (mod_proxy, mod_proxy_ajp, mod_jk,..) - which things you handle with httpd, wh

Re: [us...@httpd] Re: Throttling in apache

2009-06-20 Thread André Warnier
Mohit Anchlia wrote: Could someone please give some suggestions? 1) In the general sense, what you want to do amounts to "rate limiting". I'd suggest you Google for these words. 2) considering the very specific nature of what you want to do below however, I doubt that you'll find a ready-made

Re: [us...@httpd] Apache under Windows 2003 or Linux ?

2009-06-21 Thread André Warnier
Pierre Labrecque wrote: I have read some comments on the web that said that it’s a “heresy” to run Apache on a Windows 2003 system. You should not believe everything you read. The comment you mention above is probably from a bishop of the Church of Microsoft, or a priest of the Church of Open

Re: [us...@httpd] Re: iis homepage is coming instead of apache please help

2009-06-21 Thread André Warnier
Sayan Mukhopadhyay wrote: Can any one please help me on the below mention problem. Please help me. I badly need to solve the issue. Sayan, There is no user/password dialog with the default homepage of a standard Apache for Windows. There is just a page that says "It works". 1) tell us whi

Re: [us...@httpd] mod_cguard

2009-06-21 Thread André Warnier
Mohit Anchlia wrote: Does anyone know how mod_cguard work? Website http://httpd.renatasystems.org/mod_cguard/ seems to be down. No, but you may want to have a look at this one too : http://codee.pl/cband.html That is, if you pause long enough to decide what kind of limit you want to put on wh

Re: [us...@httpd] Apr_bucket_read() failed when uploading files

2009-06-22 Thread André Warnier
Just as info, in case there is any doubt : our application uses perl cgi-bin scripts, themselves using CGI.pm, to process POSTed html form data, including files. Some of these files are original documents (images, PDFs, etc..) up to 30 MB in size. We do this all the time, have done it for years

Re: [us...@httpd] Apr_bucket_read() failed when uploading files

2009-06-22 Thread André Warnier
André Warnier wrote: ... How exactly is this data being POSTed by the browser ? via a standard POST of an html , or via some Ajax/javascript/java code or the like ? Ok, I tested that myself, using the page you provided, which is a straight html form, nothing wrong with it. I uploaded an

Re: [us...@httpd] Can a proxy rewrite a 302 redirect location reply?

2009-06-22 Thread André Warnier
Scott Moseman wrote: ... HTTP/1.1 302 Moved Temporarily Location: http://outside1.mysite.com/subdirectory2/someotherpage.html Obviously on an inbound non-SSL request, should I allow non-SSL, I could redirect to HTTPS. Is there anything I can do to rewrite the URL provided in the 302 request on

Re: [us...@httpd] Apr_bucket_read() failed when uploading files

2009-06-23 Thread André Warnier
Mark wrote: So, needless to say, this is quite serious. Like I said, I even got an admin (not a silly helpdesk clerk) to admit that it's a bug; but they're not gonna fix it. That's why I was looking for a way around it. Well then, I'm afraid that all I can tell you is to look for another hosti

[us...@httpd] Seeking knowledge : Apache2 MPM Event and Input filters

2009-06-23 Thread André Warnier
Hi. http://httpd.apache.org/docs/2.2/mod/event.html states (at the end) : At present, this MPM is incompatible with mod_ssl, and other input filters. Would someone care to elaborate, in the sense of : Does that mean "any input filters at all", or just "some input filters" ? In particular : mod

Re: [us...@httpd] Re:[us...@httpd] Seeking knowledge : Apache2 MPM Event and

2009-06-23 Thread André Warnier
SAILESH KRISHNAMURTI, BLOOMBERG/ 731 LEXIN wrote: my thoughts about this issue are similar too. Mmmm. I believe you misunderstood what I wrote. This looks to me to be a security issue caused primarily due to mod_perl. That was not at all what I had in mind. If you are thinking about slowloris

Re: [us...@httpd] Apache suddenly stops serving requests, recv() returns -1/errno=EAGAIN forever

2009-06-24 Thread André Warnier
Elmar Krieger wrote: Dear Apache users, I'm forced to write yet another program that downloads HTTP files from an Apache server, ... Naive question : why would you do that, when there are probably at least 10 existing libraries/utilities that already do that, and do it right ? I mean that d

Re: [us...@httpd] Re: Weird problem with SSL and Google Chrome and IE7/8.

2009-06-24 Thread André Warnier
Bill Davidson wrote: I forgot to mention, I also have this, in httpd-ssl.conf BrowserMatch ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 Not sure if that matters. Good point. I believe it well may. Did you try commenting that line out ? Afte

Re: [us...@httpd] global variable use in mod_proxy_http.c

2009-06-24 Thread André Warnier
Brian Kim wrote: Hi. All. In mod_proxy_http.c, I globally declared a variable, like unsiged int count = 0; And I make it increase whenever the proxy gets a new http request. I expect it increases like 1, 2, 3, 4,... but it is always same 1. Does anydoby know why this happens? How can I use a

Re: [us...@httpd] Apache monitor tray icon says "running none of 1 Apache service" even through it's actually running

2009-06-25 Thread André Warnier
Don Kramer wrote: Hi, I'm running Apache 2.2.11, PHP 5.2.9-2, and MySQL Server 5.1 in 32-bit Windows XP Professional in a VM installed inside VMWare Workstation 6.5.2. I've noticed after booting up the VM, often even through the Apache service is up and running and http://localhost and http:

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
fredk2 wrote: Hi, http://httpd.apache.org/docs/2.2/mod/core.html#timeout says: The TimeOut directive currently defines the amount of time Apache will wait for three things 1. The total amount of time it takes to receive a GET request ... 1. seems to be misleading, tests with "Timeout 3" does n

Re: [us...@httpd] Performing Internal Certificate Checks

2009-06-25 Thread André Warnier
Eldad Chai wrote: Hi, I am using Apache reverse proxy. I want to perform the following and wondering if it is possible: 1) Extract a field (Subject Name) from a client certificate sent over SSL and compare it to a local list I have 2) Add parts of the certificate to headers or param

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
fredk2 wrote: Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want that client (i'll have to learn to type faster in telnet :-). For the headers, I think it might help.

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
William A. Rowe, Jr. wrote: André Warnier wrote: fredk2 wrote: Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want that client (i'll have to learn to

Re: [us...@httpd] Serving subdomains - ProxyPassMatch issues

2009-06-25 Thread André Warnier
Karthik Manimaran wrote: Hi, We want to serve an unlimited number of subdomains ( http://subdomain1.domain.com http://subdomain2.domain.com) from an app server in the following way: http://localhost:port/somecontext/?param=subdomain1, http://localhost:port/somecontext/?param=subdomain2 resp. An

Re: [us...@httpd] Re: Weird problem with SSL and Google Chrome and IE7/8.

2009-06-25 Thread André Warnier
Bill Davidson wrote: André Warnier wrote: Did you try commenting that line out ? Hmm. Commenting it out seems to fix it with IE7. Not sure what will happen to IE6 though. Now I have to go find our old Win2k box and see if it will still boot. You could also examine the User-Agent headers

Re: [us...@httpd] Serving subdomains - ProxyPassMatch issues

2009-06-25 Thread André Warnier
Karthik Manimaran wrote: ProxyPassReverse too doesn't work when I use regex. I'm not sure it works either, but have you actually tried using your $1 and $2 in the ProxyPassReverse line ? One never knows.. I'm no great expert here, but I have been re-reading the on-line docs for Proxyx d

Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread André Warnier
Chandranshu . wrote: ... Just to help in getting an idea of your site : - how many requests is your site typically handling (per second, per minute..) ? - what is your KeepAlive setting ? and, why did you change the default for MaxRequestsPerChild ? any particular reason, or just for the sake o

Re: [us...@httpd] Re: httpd is creating large number of shared memory segments.

2009-06-26 Thread André Warnier
Chandranshu . wrote: Hi André Our server is handling around 20 requests per second. Please note that this is not a single site. There are many sites that are hosted on this server. As requests to host new site keep coming in, we keep reloading the virtual host config through a graceful restart.

Re: [us...@httpd] WebDAV and Windows (Vista) User

2009-06-26 Thread André Warnier
Michelle Konzack wrote: Am 2009-06-26 15:13:43, schrieb Peter Schober: * Michelle Konzack [2009-06-26 14:13]: I have setup WebDAV and it works perfectly under Debian und Windows XP, but HOW can I reach it under Windows Vista? This is hardly a question for a httpd list, is it? Did you even ST

Re: [us...@httpd] Upgrade

2009-06-29 Thread André Warnier
Chick Newman wrote: I am using Apache 2.0.55 on a Windows XP SP3 computer with PHP5 which was installed manually (at C:\php) several years ago (using instructions from David Powers book on Dreamweaver 8 and PHP/MySQL to tweak Windows and Apache to recognize the PHP installation). I would like t

Re: [us...@httpd] Help with CharSet

2009-06-29 Thread André Warnier
Tiago Becker wrote: Hello. I have a problem using prototype and i think its an apache configuration error (my error). On all pages that i use ajax (prototype lib) , all the accentuated (especial) chars gets replaced by symbols (i'm using iso 8859-1) and i can't find a solution. I have another

Re: [us...@httpd] Help with CharSet

2009-06-29 Thread André Warnier
Tiago Becker wrote: Hi. Sorry if i wanst clear :-( Yes, with a static page it works, data coming from the databse works, it doesnt work only with ajax (prototype). I'm thinking its an apache miss configuration because it all work in the other machine (same prototype version, apache, different u

Re: [us...@httpd] Environment Variable File

2009-06-30 Thread André Warnier
Mike -- EMAIL IGNORED wrote: I have some environment variables I want to provide in a file. For example, in bash the file would contain: export var1="a b c" export var2="1 2 3" I would like to "include" or "source" this file in my html.config, so var1 and var2 will be available to mod_rew

Re: [us...@httpd] prg with rewrite_map does not seem to be working, maybe a bug

2009-06-30 Thread André Warnier
Ali Jawad wrote: ... Try : #!/usr/bin/perl $| = 1; while () { chomp $_; print($_."\n"); } - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html

Re: [us...@httpd] Reverse RewriteCond?

2009-06-30 Thread André Warnier
Mike -- EMAIL IGNORED wrote: I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern but the documentation never says that CondPattern may contain t

  1   2   3   4   5   6   7   8   9   10   >