Re: [users@httpd] Apache stops responding until being reloaded.

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 3:11 PM, stal...@locum.ru wrote: > fox fix problem with reload or fix high load? > To fix problems with load, buy a bigger server, or serve less requests (by caching etc). Cheers Tom - The official User-

Re: [users@httpd] Re: Vanity URL Rewrites Best Practices?

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 3:00 PM, Nick Tkach wrote: > Just to answer my own question, in case it helps someone else down the > road, what I was missing was that inside the curly braces you need to > dereference the variable with % rather than $.  So the right version > of what I posted above is: > >

Re: [users@httpd] strange in error.log

2011-10-17 Thread Tom Evans
On Mon, Oct 17, 2011 at 8:38 AM, stal...@locum.ru wrote: > some time i see in  error.log > > == > > [Thu Oct 13 14:04:00 2011] [error] False > [Thu Oct 13 14:04:00 2011] [error] False > [Thu Oct 13 14:04:00 2011] [error] False > [Thu Oct 13 14:04:00 2011] [error] True > [Thu Oct 13 14:04:00 2011]

Re: [users@httpd] Fw: favicon.ico

2011-10-17 Thread Tom Evans
On Fri, Oct 14, 2011 at 9:56 PM, Steve Swift wrote: > It is surprising that the installation of apache does not install a sample > favicon.ico (the apache "feather", perhaps). > Apache used to* install a more complete welcome page, with favicon, links to docs, everything a sysadmin might want to

Re: [users@httpd] High CPU usage with Moodle

2011-10-18 Thread Tom Evans
On Mon, Oct 17, 2011 at 1:01 PM, Josu Lazkano wrote: > Hello list! I have a Ubuntu server with Apache2 to serve a Moodle web. > > I notice that where there are few users (4 or 5) requesting pages, the > Apache2 process goes to 100% on all CPUs (4 cores). > > I try with memcached but it still getti

Re: [users@httpd] apache seems to be busy

2011-10-18 Thread Tom Evans
On Tue, Oct 18, 2011 at 12:11 PM, Petr Hracek wrote: > Dear users, > > There are run most AJAX requests. After increasing the values > StartServers 15 > MinSpareServers 10 > MaxSpareServers 30 > > ==> error_log <== > [Tue Oct 18 11:25:59 2011] [info] server seems busy, (you may need to > increase

Re: [users@httpd] directoryindexing or what?

2011-10-18 Thread Tom Evans
On Tue, Oct 18, 2011 at 3:44 PM, Georgi Georgiev wrote: > Hello, I have slackware 13.37 web server, but when I open from browser > wordpress for example list the php file instead loading the site. I have in > httpd.conf (tryed different variants) > >     Options Indexes FollowSymLinks MultiViews

Re: [users@httpd] apache seems to be busy

2011-10-19 Thread Tom Evans
On Wed, Oct 19, 2011 at 7:52 AM, Petr Hracek wrote: > Hello Tom, > > as you mentioned I need to do stress test of the application. > How to do that for SSL connection? > > best regards > Petr > ab, siege, flood, jmeter, grinder, httperf, OpenSTA, curl-loader, Spirent Avalanche (not free)… Cheers

Re: [users@httpd] Don't allow users to upload files

2011-10-20 Thread Tom Evans
On Thu, Oct 20, 2011 at 1:53 PM, Hugo Gomes wrote: > Hi all, > >        I have a webserver where the users homes are copied to a folder, and I > want to assume that users can not make a script (for instance .php) to > let upload files. > >        In my httpd config file i have this directive that

Re: [users@httpd] Proxy to different port

2011-10-24 Thread Tom Evans
On Mon, Oct 24, 2011 at 9:12 AM, Josu Lazkano wrote: > > Thanks Igor, this my aenables mods: > > > > The mod_proxy is enabled, it works well on first link, but not on > others. It looks that is a html code problem. > > Thanks and best regards. He didn't say "mod_proxy", he said "mod_proxy_html".

Re: [users@httpd] Map URL to directory

2011-10-24 Thread Tom Evans
On Fri, Oct 21, 2011 at 6:53 PM, milan tomic wrote: > > > Pete Houston wrote: >> >> Most likely what you are after is the "Alias" directive. >> > > Yes, Alias is what I need. But it doesn't work for me. I have this case: > > >  DocumentRoot "D:/Dir1/Dir2" > > >  ProxyPass  http://tomcat1/MainPat

Re: [users@httpd] High CPU usage with Moodle

2011-10-25 Thread Tom Evans
On Tue, Oct 25, 2011 at 9:36 AM, Josu Lazkano wrote: > Thanks Tom, I check the Moodle forum but I don't find any interesting > post about Apache performance. > > I configure some parameters on my Apache but it still not work (I can > block the server just hitting the F5 key 10 times). > Apache (t

Re: [users@httpd] Jpeg files only part served half blank

2011-10-25 Thread Tom Evans
On Tue, Oct 25, 2011 at 3:44 PM, wrote: > Hi, > jpeg image files only display first part in browser and just seem to stop > halfway the rest of the image is grey. > > observations/what i have tried so far... >  1) lots of google searchs          - no help >  2) I susspected the browser        - I

Re: [users@httpd] Apache httpd Range header remote DoS

2011-11-04 Thread Tom Evans
On Fri, Nov 4, 2011 at 2:59 PM, Ruiyuan Jiang wrote: > Hi, all > > I have an Apache reverse proxy server (v2.2.21) redirects traffic from http > to https for a back end web server. I don’t know the exact version of the > back end Apache web server because Oracle changed the version number but I >

Re: [users@httpd] Images not displaying in localhost

2011-11-14 Thread Tom Evans
On Sat, Nov 12, 2011 at 10:33 PM, The Registrar wrote: > Hi, I just installed the Apache 2.2.21 version on my Windows XP SP3.  When I > do a simple html for testing under http://localhost/main.html  the images > referenced in the html are displayed randomly; some gets displayed and some > don't, e

Re: [users@httpd] expires review

2011-11-14 Thread Tom Evans
On Sat, Nov 12, 2011 at 2:10 PM, Brent Clark wrote: > Hiya > > Please could someone peer review the following for me. > If this correct / acceptable? > > >  ExpiresActive On >  ExpiresDefault "access" >  ExpiresByType text/javascript               "access plus 1 day" >  ExpiresByType text/xml    

Re: [users@httpd] Images not displaying in localhost

2011-11-15 Thread Tom Evans
On Mon, Nov 14, 2011 at 11:57 AM, Tom Evans wrote: > On Sat, Nov 12, 2011 at 10:33 PM, The Registrar > wrote: >> Hi, I just installed the Apache 2.2.21 version on my Windows XP SP3.  When I >> do a simple html for testing under http://localhost/main.html  the images >> re

Re: [users@httpd] Apache restarting

2011-11-15 Thread Tom Evans
On Tue, Nov 15, 2011 at 4:55 PM, Øyvind Lode - Forums wrote: > Hi: > > I have also noticed that apache restarts without me telling it to. > > But I don't think this is related to my other question in another thread. > > From the log: > > [Tue Nov 15 06:45:48 2011] [notice] SIGUSR1 received.  Doing

Re: [users@httpd] Apache restarting

2011-11-16 Thread Tom Evans
On Tue, Nov 15, 2011 at 10:29 PM, Mark Montague wrote: > On November 15, 2011 15:34 , =?utf-8?B?w5h5dmluZCBMb2RlIC0gRm9ydW1z?= > wrote: >>> >>> Have you configured log rotation? When rotating logs, it is common to >>> gracefully restart apache to write to new log files. >> >> I found the answer i

Re: [users@httpd] Apache 2.2.3 Session tracking

2011-11-16 Thread Tom Evans
On Tue, Nov 15, 2011 at 8:40 PM, Pranesh Vadhirajan wrote: > Should something be modified in Apache modules when maintaining persistent > memory?  I am having a problem with a linked list implementation that I > wrote which I am linking with my apache module to maintain a list of > sessions so tha

Re: [users@httpd] Apache proxy server - in case of wrong credentials, getting 401 instead of 407

2011-11-16 Thread Tom Evans
On Wed, Nov 16, 2011 at 12:26 AM, Boris B wrote: > > >  Hi, > > I have a very simple setup: Apache back-end server running behind Apache > reverse proxy server. > Using 2.2.21 and running on Windows XP. > > Generally, it is working as expected - traffic reaching back-end via proxy > and response

Re: [users@httpd] Apache 2.2.3 Session tracking

2011-11-16 Thread Tom Evans
On Wed, Nov 16, 2011 at 2:41 PM, Pranesh Vadhirajan wrote: > I did not know that I need to have my list in shared memory (I assume that's > what you're referring to as shm in your response).  This is the type of thing > that I wanted to know in my question.  Is there a way to add my linked list

[users@httpd] Can this user be unsubscribed? i...@pandi.or.id

2011-11-17 Thread Tom Evans
I think they are subscribed to the digest, the email address has an auto responder which says they'll get back to us... Cheers Tom - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apa

Re: [users@httpd] mod_proxy_html html entities

2011-11-22 Thread Tom Evans
On Tue, Nov 22, 2011 at 12:47 PM, Nick Kew wrote: > > On 22 Nov 2011, at 12:36, > wrote: > >> Hello to all, >> >> I set up a reverse proxy with module mod_proxy_html enabled. >> Now all html entities will be rewritten, for example: ü to ü >> >> Can I prevent this rewriting? > > Probably not.  C

Re: [users@httpd] Opening ErrorLog as root and overwriting any file on the system

2011-11-24 Thread Tom Evans
On Thu, Nov 24, 2011 at 3:53 PM, silviu andrica wrote: > Hi, > > I noticed that in Apache/2.2.20 (Ubuntu), the ErrorLog is opened as root, > although the User is set to ${APACHE_RUN_USER}. > My concern is that if I make a mistake in ErrorLog, then I can damage any > file on my system because of a

Re: [users@httpd] Opening ErrorLog as root and overwriting any file on the system

2011-11-24 Thread Tom Evans
On Thu, Nov 24, 2011 at 5:03 PM, Silviu Andrica wrote: > Hi Tom, > thanks for the answer. It makes perfect sense. > The solution I thought about is a bit more complex. I did not go through the > Apache code, so below is just a sketch. > seteuid(${APACHE_RUN_USER}); //drop privileges > open(${Error

Re: [users@httpd] Redirect https' 404 to http...

2011-11-25 Thread Tom Evans
On Fri, Nov 25, 2011 at 11:54 AM, John Doe wrote: > Hi, > > Apache newbie here. > > is there a simple way to redirect all https' 404 to http? > I searched for some solutions but could not find any... > > Is there a rewrite variable that holds the http return code? Interesting one. There is nothin

Re: [users@httpd] Multi-level context with #

2011-11-25 Thread Tom Evans
On Fri, Nov 25, 2011 at 5:13 PM, Adil Munir wrote: > we are trying to work with multi-level context > > we have tried tomcat 6.24, 7 with JDK 6 update 17,18, 19, 25 tomcat != httpd. Try here: http://tomcat.apache.org/lists.html Cheers Tom -

Re: [users@httpd] Redirect https' 404 to http...

2011-11-28 Thread Tom Evans
On Mon, Nov 28, 2011 at 11:00 AM, John Doe wrote: > Ok.  We will have to weight the additional load... > I understand it will be doubled in case of a 200 (low occurences). > But for all the 404s, it is only configuration parsing in RAM, plus > one "file not found" on the filesystem, right? > No,

Re: [users@httpd] No Content-Type header despite DefaultType directive

2011-12-06 Thread Tom Evans
On Mon, Dec 5, 2011 at 3:08 PM, Dennis Jacobfeuerborn wrote: > Hi, > I am trying to get Apache to send a file with the filename "test" that > contains html through a filter for the mime type text/html. The problem is > that even when I set a DefaultType in .htaccess the response doesn't contain >

Re: [users@httpd] mod_rewrite doesn't rewrite when the url contains %2f

2011-12-06 Thread Tom Evans
On Tue, Dec 6, 2011 at 10:52 AM, Jérôme DESPATIS wrote: > Hello, > > I have a strange problem, I want to redirect everything to index.php in a > vhost (index.php is my controller), so I use the minimalistic vhost config, > indicated at the end of this mail > > afterwards, when I go to http://testt

Re: [users@httpd] Session cookie

2011-12-07 Thread Tom Evans
On Wed, Dec 7, 2011 at 2:09 PM, Mohammed Imran wrote: > Hi, > > I need to enable the session security cookie to httponly.I tried to update > the context.xml > That sounds like tomcat, this is the httpd mailing list. http://tomcat.apache.org/lists.html Cheers Tom --

Re: [users@httpd] ReverseProxy is not working

2011-12-08 Thread Tom Evans
On Thu, Dec 8, 2011 at 12:11 PM, KESTAR wrote: > > > I installed Apache Httpd server "httpd-2.2.19-win32-x86-openssl-0.9.8r" on > Windows 2008 Server R2. > > I have a java applications deployed in weblogic in another machine. I am > trying to set up reverse proxy to that application. > > This is h

Re: [users@httpd] using htaccess on all hosts to block addresses

2011-12-12 Thread Tom Evans
On Mon, Dec 12, 2011 at 5:42 PM, Steve Swift wrote: > I think you'll have to put it in the documentroot of all of your > virtualhosts. Since it would be so much easier to do this in the Apache > config, I'll assume that you cannot do this for some reason. > > Second best would be to create the fil

Re: [users@httpd] Re: Apache error: "[error] proxy: HTTP: disabled connection for" and "[warn] long lost child came home!"

2011-12-13 Thread Tom Evans
On Tue, Dec 13, 2011 at 1:48 AM, Julio Barreto wrote: >> We've been having issues with our Apache 2.0 restarting on us >> periodically (several times a day). Here's an excerpt from our error log: >> >> [Mon Dec 12 23:17:02 2011] [warn] long lost child came home! (pid 12654) http://httpd.apache.o

Re: [users@httpd] Strange entries in error_log

2011-12-14 Thread Tom Evans
On Wed, Dec 14, 2011 at 10:08 AM, Jakov Sosic wrote: > Hi, > > I use CentOS 5.x with Apache 2.2., and have came across strange error in > error_log: > > tr: write error: Broken pipe > tr: write error > > > There is no timestamp, it happens periodically with no apparent reason. > I have NameVirtual

Re: [users@httpd] OpenSSL and apache2 wildcard self-signed certificate for nested subdomain

2011-12-14 Thread Tom Evans
On Wed, Dec 14, 2011 at 12:43 PM, rey sebastien wrote: > Hello users :) > I try to ask a "smart" question on my problem... > > I have some problem with nested subdomain and wildcard openssl certificate.. > perhaps, i don't know, this is because the subdomain type is : > site1.parisgeo.cnrs.fr, or

Re: [users@httpd] HTTPS local site -> HTTP remote destination & referer pass-through

2011-12-15 Thread Tom Evans
On Thu, Dec 15, 2011 at 10:59 AM, Christoph Pilka wrote: > Howdy, > > according to RFC 2616 chapter 15.1.3 "Clients SHOULD NOT include a Referer > header field in a (non-secure) HTTP request if the referring page was > transferred with a secure protocol" which makes sense in certain > circumsta

Re: [users@httpd] high load average

2011-12-15 Thread Tom Evans
On Thu, Dec 15, 2011 at 12:18 PM, Diego Maciel Gomes wrote: > hey Guys... > > I need help :) > > I have an intranet running with LAMP. I have a server with 8gb mem and 4 > procs for this. My apache is 2.2.3 > > I have about 400 users connected (ps -ef |grep httpd |wc -l) > > At this moment, Im usi

Re: [users@httpd] Re: [CASE:90696] users Digest 21 Dec 2011 12:07:33 -0000 Issue 4247

2011-12-21 Thread Tom Evans
Before we get another deluge from this subscribers autoresponder, can they be unsubscribed? Cheers Tom On Wed, Dec 21, 2011 at 12:16 PM, Admin Info - PANDI wrote: > Terimakasih atas email anda > Kami akan berikan respon segera. > > Thank you for your email, > We will respond as soon as posible.

Re: [users@httpd] selectively disclaim on SSL client-auth for some directories

2012-01-04 Thread Tom Evans
On Thu, Dec 29, 2011 at 2:23 PM, Christoph Anton Mitterer wrote: > Hi. > > I wondered whether the following is somehow possible (I guess it's not). > > I have a SSL vhost,... and I'd like to require SSL client cert > authentication _per default_ ... but selectively being able to not > demand it fo

Re: FW: [users@httpd] attack on apache

2012-01-09 Thread Tom Evans
On Mon, Jan 9, 2012 at 5:20 PM, Luisa Ester Navarro wrote: > > > > > I didn´t have any cronjobs but when I detected the attack I saw one  in > /var/spool/cron >  My logifle says > User apache: > >    /var/tmp/.autorun/update >/dev/null 2>&1: 2162 Time(s) > >   

Re: [users@httpd] Name Virtual Host Weirdness

2012-01-13 Thread Tom Evans
On Fri, Jan 13, 2012 at 4:13 PM, Clay Porter wrote: > Thanks for the info.  I will try what you suggested. > > I'm pretty new to all of this, so I hope you don't mind a n00b > question.  What do you mean by a "defunct vhost"?  Could I trouble you > for an example? > > Thanks again. > > Clay > He

Re: [users@httpd] mod_rewrite access control configuration

2012-01-16 Thread Tom Evans
On Sat, Jan 14, 2012 at 8:35 AM, Asplund Marko wrote: > Hi, > > I'm using Apache httpd to act as a reverse proxy and I'd like to block > access to all but explicitly listed resources. > I've come up with two possible solutions that i'd like to check with more > experienced mod_rewrite users. > > I

Re: [users@httpd] AccessConfig and ResourceConfig in apache 2.2

2012-01-16 Thread Tom Evans
On Mon, Jan 16, 2012 at 11:24 AM, Petr Hracek wrote: > Dear users, > > in the apache 1.3 I have used AccessConfig and ResourceConfig > however in apache2.2 those directives does not exists. > > Is there any possibility how do disable configuration console? > > -- > Best Regards / S pozdravem > Pet

Re: [users@httpd] AccessConfig and ResourceConfig in apache 2.2

2012-01-16 Thread Tom Evans
On Mon, Jan 16, 2012 at 11:57 AM, Petr Hracek wrote: > This I have already read. > Thank you but what should be in that two configuration files? > The files will be empty? > > best regards > Petr > > The directives that 1.3 contained in those files don't need to specified separately to httpd.conf

Re: [users@httpd] Compile Apache 2.2.21 with proxy-html

2012-01-20 Thread Tom Evans
On Fri, Jan 20, 2012 at 10:47 AM, Stephane Eybert wrote: > > Hi, > > I run Linux Mint 11 Katya and installed the libapache2-mod-proxy-html > library > > stephane-ThinkPad-T43 stephane # apt-cache show libapache2-mod-proxy-html > Package: libapache2-mod-proxy-html > [... ] > This installs mod_prox

Re: [users@httpd] ProxyPassReverse Issue in Apache 2.2.3/CentOS, but works in Apache 2.2.14/Ubuntu [only directory redirect issue]

2012-02-13 Thread Tom Evans
On Mon, Feb 13, 2012 at 11:35 AM, Hridayesh Gupta wrote: > I have the following rule in conf file at server.com > > RewriteEngine On > RewriteRule /source(.*) http://example.com/target$1 [P] > ProxyRequests Off > ProxyPassReverse /source http://example.com/target > > http://example.com/target/a.ph

Re: [users@httpd] vhosts conf file efficiency

2012-02-14 Thread Tom Evans
On Tue, Feb 14, 2012 at 3:10 AM, Sean Conner wrote: >  Nope.  I just ran a program [1] that opened and read 25,018 files in 2.5 > seconds [2].  I'd bet unnoticeable. > So that is an extra 5 seconds on a graceful restart - apache will read the config once, throw it away, and then read it again, so

Re: [users@httpd] vhosts conf file efficiency

2012-02-14 Thread Tom Evans
On Tue, Feb 14, 2012 at 4:32 PM, Sean Conner wrote: >  And really, how often is Apache restarted?  On a graceful restart, it can > still serve requests. > It's clear you have a strong opinion on this. I prefer my mission critical systems not take longer than necessary to start up, whilst you don'

Re: [users@httpd] vhosts conf file efficiency

2012-02-14 Thread Tom Evans
On Tue, Feb 14, 2012 at 5:18 PM, Sean Conner wrote: > It was thus said that the Great Tom Evans once stated: >> On Tue, Feb 14, 2012 at 4:32 PM, Sean Conner wrote: >> >  And really, how often is Apache restarted?  On a graceful restart, it can >> > still serve requests

Re: [users@httpd] Reverse proxy problem

2012-02-17 Thread Tom Evans
On Thu, Feb 16, 2012 at 2:31 PM, Andres Aguado wrote: > Hi all, i'd like to expose my problem because i'm going crazy, and if > anyone could help me it'll be very appreciated. > > Well, I've an apache 2.2 server over win2k8, and i want to configure > it as reverse proxy to send request to backend

Re: [users@httpd] unexpected EOF while looking for matching

2012-02-20 Thread Tom Evans
On Sat, Feb 18, 2012 at 4:30 PM, Steve Swift wrote: > I get entries like this in my error log. They are extremely sporadic, and > because the access rate is low on our server, it is easy to find the CGI > script that was being accessed. In all cases, it is one which hasn't changed > in months, and

Re: [users@httpd] unexpected EOF while looking for matching

2012-02-20 Thread Tom Evans
On Mon, Feb 20, 2012 at 1:16 PM, Steve Swift wrote: > Ah, but the "sh" error means that my code never starts executing. If the > very first line of my code were to get executed, then the error message > would come from the error handlers in my code, but nothing in my code > executes under these ci

Re: [users@httpd] Cross-Site Request Forgery

2012-02-20 Thread Tom Evans
On Mon, Feb 20, 2012 at 2:26 PM, Mark Montague wrote: > On the other hand, I could see providing CSRF protection at the web server > level as being useful, since you then would not need to trust each web > application author to both completely impelment CSRF protection and to > implement it correc

Re: [users@httpd] unexpected EOF while looking for matching

2012-02-20 Thread Tom Evans
On Mon, Feb 20, 2012 at 4:16 PM, Phil Smith wrote: > On Mon, Feb 20, 2012 at 8:54 AM, Tom Evans wrote: >> On Mon, Feb 20, 2012 at 1:16 PM, Steve Swift wrote: >>> Ah, but the "sh" error means that my code never starts executing. If the >>> very first line

Re: [users@httpd] Using requestheader to insert new header=environmentvariable_value

2012-02-23 Thread Tom Evans
On Thu, Feb 23, 2012 at 5:46 PM, Andres Aguado wrote: > Hi all, let me see. > > This is the sentence that i'm using now in httpd.conf, following > document http://httpd.apache.org/docs/current/mod/mod_headers.html > > RequestHeader set PF_AUTH_CORP_ID_NEW env=%{PF_AUTH_SUBJECT}e > > And this is wh

Re: [users@httpd] Logging ALL cookies on requests from specific IP address range?

2012-02-24 Thread Tom Evans
On Thu, Feb 23, 2012 at 9:09 PM, J.Lance Wilkinson wrote: > Apache 2.2.6 on Solaris. > > We've encountered an issue where cookies seem to be disappearing.  We think > it has something to do with a Load Balancer the traffic is passing through. > > We want to log the cookies being received to try to

Re: [users@httpd] Proxy & Dynamic cookies

2012-02-24 Thread Tom Evans
On Thu, Feb 23, 2012 at 9:02 PM, Benjamin Dahon wrote: > Hi, > > I've posted the same question on stackoverflow, but I though I'll try as > well on the users mailing list. > > I'm trying to do something I though would be quite simple, but I struggle :) > > I have a reverse proxy running on Apache.

[users@httpd] Disappearing requests / tuning event MPM, 2.2.22

2012-02-28 Thread Tom Evans
Hi all [I'm re-reading this, and it is a bit of a convoluted setup - I appreciate any eyes that read this!] Hardware: 2 x Dell 2850, 2 x Xeon 5140 2.33 GHz, 4 GB RAM OS: FreeBSD 7.1-RELEASE-p4 Server version: Apache/2.2.22 (FreeBSD) Server built: Feb 13 2012 22:29:44 At $JOB we use Apache to s

Re: [users@httpd] Static content switching in Apache

2012-02-28 Thread Tom Evans
On Tue, Feb 28, 2012 at 2:32 PM, Anam Ali Khan wrote: > Hello, > > I would like to implement following configurations in Apache web server: > > Static content switching (forwarding) of files in Apache to lightweight web > servers -> Servers like thttpd/lightttpd > Responce should be return directl

Re: [users@httpd] Problems with cgi scripts and Apache's log.

2012-03-01 Thread Tom Evans
2012/3/1 Antonio Fernández Pérez > Hi again, > > My apologies for these messages. Now, I have checked it and is growing the > access log file. How can I do to deny these requests? I'm trying to > configure Apache to deny all requests that tries to execute .dll files ind > cgi-bin directory. Any i

Re: [users@httpd] CGI-BIN Timeout Question w/ Python

2012-03-02 Thread Tom Evans
On Fri, Mar 2, 2012 at 3:21 PM, Sean Cavanaugh (scavanau) wrote: > Hello All, > > > > I am trying to write a webpage wrapper for some scripts I have written in > python on my FreeBSD 9 machine. > > > > When I do this on the command line > > > > #python tests.py > > > > It works fine, although the

[users@httpd] Re: Disappearing requests / tuning event MPM, 2.2.22

2012-03-06 Thread Tom Evans
On Tue, Feb 28, 2012 at 2:50 PM, Tom Evans wrote: > Hi all > > [I'm re-reading this, and it is a bit of a convoluted setup - I > appreciate any eyes that read this!] > > Hardware: 2 x Dell 2850, 2 x Xeon 5140 2.33 GHz, 4 GB RAM > OS: FreeBSD 7.1-RELEASE-p4 > Server ve

[users@httpd] Re: Disappearing requests / tuning event MPM, 2.2.22

2012-03-06 Thread Tom Evans
On Tue, Mar 6, 2012 at 1:01 PM, Tom Evans wrote: > So, we've been trying to track disappearing requests. We see lots of > requests that go via the CDN to reach our data centre failing with > error code 503. This error message is produced by the CDN, and the > request is not lo

[users@httpd] Re: Disappearing requests / tuning event MPM, 2.2.22

2012-03-06 Thread Tom Evans
On Tue, Mar 6, 2012 at 1:44 PM, Tom Evans wrote: > On Tue, Mar 6, 2012 at 1:01 PM, Tom Evans wrote: >> So, we've been trying to track disappearing requests. We see lots of >> requests that go via the CDN to reach our data centre failing with >> error code 503. This er

Re: [users@httpd] Unable to get to any sites after an install

2012-03-06 Thread Tom Evans
On Tue, Mar 6, 2012 at 5:32 PM, Chris Arnold wrote: > Fresh install of 2.2.12 on SLES11 SP2 (fresh install also. > I was having problems with yast munging apache vhosts and > ssl.conf so i decided to reinstall SLES11 too). The only thing > that has been done to apache: perl, php5 and rewrite mods

Re: [users@httpd] Question about mod_status

2012-03-07 Thread Tom Evans
On Tue, Mar 6, 2012 at 8:47 PM, arianna.man...@yahoo.com wrote: > Hi all, > I'm trying to optimize performance of my web server (Debian Squeeze 64bit, > it's a VM virtual machine with 4 GByte RAM and 4 vCpu). > I'm using standard "deb" package and apache-prefork, with php running as > module. > >

Re: [users@httpd] Reverse proxy to Websphere

2012-03-07 Thread Tom Evans
On Wed, Mar 7, 2012 at 5:04 PM, Jorge Andres Osorio wrote: > Hi people: > > I'm having issues with and old Apache 2.0.52 running as a reverse > proxy to a Websphere server. The description of the problem is exactly > the same that someone has with Apache 2.2.x in this URL: > > http://www.tek-tips.

Re: [users@httpd] "client" or "request" meaning

2012-03-08 Thread Tom Evans
On Thu, Mar 8, 2012 at 2:35 PM, Arianna Manlio wrote: > Hi, > sorry for previous message. > I'm trying to fully understand the meaning of "client" or "request" concepts > in Apache. > For example: > > http://httpd.apache.org/docs/2.2/mod/mpm_common.html#maxclients > > Description:Maximum number of

Re: [users@httpd] Alternate Ports and Virtual Directories

2012-03-08 Thread Tom Evans
On Thu, Mar 8, 2012 at 4:35 PM, Crispen Smith wrote: > > Thank you Simone,  but I feel that you're jumping to the end of the story. > I'm quite happy to change the virtual posts to port once I get > localhost working correctly, but I'd like to understand that piece as well. > > Does that make

Re: [users@httpd] suddendly high cpu load because of googlebot

2012-03-09 Thread Tom Evans
On Fri, Mar 9, 2012 at 8:07 AM, Simone Frattegiani wrote: > Hello, > > i suddendly started having CPU load issues, like this: A couple of things: > Server-status shows this: > > […] > ReqPerSec: 6.37383 > BusyWorkers: 99 > IdleWorkers: 10 > Scoreboard: WWW > This is

Re: [users@httpd] Apache + Tomcat Load Balancing

2012-03-12 Thread Tom Evans
On Mon, Mar 12, 2012 at 4:40 PM, Anam Ali Khan wrote: > Hello, > > It looks like very complex configuration in your application environment. > You can achieve the same with HAProxy example as given before. > > Why opt for complex configuration instead of easy available solution. > > Thanks, > Anam

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Mon, Mar 12, 2012 at 7:39 PM, William Taylor wrote: > Previously posted to dev and bugs. Posting here also in hopes of > capturing a greater audience that might have come > across this issue before. > > We have written a modules for apache that for certain reasons requires > one hit per child.

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Tue, Mar 13, 2012 at 4:58 PM, William Taylor wrote: > On Tuesday, March 13, 2012 2:42:35 AM, Tom Evans wrote: >> >> On Mon, Mar 12, 2012 at 7:39 PM, William Taylor >> wrote: >>> >>> Previously posted to dev and bugs. Posting here also in hopes of >

Re: [users@httpd] apache 2.2 can't keep up with apache 1.3

2012-03-13 Thread Tom Evans
On Tue, Mar 13, 2012 at 5:19 PM, William Taylor wrote: > I wouldn't say it's silly, but definitely not the norm and obviously a > low priority > for everyone else. I would say that forking an entire new process to handle a single request and then exiting could possibly be the most silly way to se

Re: [users@httpd] an unknown filter was not added: GZIP

2012-03-14 Thread Tom Evans
On Wed, Mar 14, 2012 at 2:13 PM, Brent Clark wrote: > Hi Guys > > I keep seeing this error message > > an unknown filter was not added: GZIP > > Google appears to be unhelpful. > Server version: Apache/2.2.16 (Debian) > > Mod_deflate is on. > > Thanks > Brent > mod_deflate provides the DEFLATE fi

Re: [users@httpd] apache 2.4 virtualhosts

2012-03-15 Thread Tom Evans
On Thu, Mar 15, 2012 at 1:35 AM, Brett @Google wrote: > Hello, > > There is an example at : > http://httpd.apache.org/docs/2.4/vhosts/name-based.html > > > # This first-listed virtual host is also the default for *:80 > ServerName www.example.com > ServerAlias example.com *.example.com > Documen

Re: [users@httpd] Using HostName like ENVVAR

2012-03-16 Thread Tom Evans
On Fri, Mar 16, 2012 at 9:23 AM, Oto BREZINA wrote: > I have multiple Virtual Host with almost same configuration they differ only > in ServerName, ServerAdmin DocumentRoot and logfile. > DocumentRoot is composed of served files location and hostname, logs have > servername in filename too. > > To

Re: [users@httpd] 'redirect' to a single domain name

2012-03-16 Thread Tom Evans
On Fri, Mar 16, 2012 at 12:25 PM, Lester Caine wrote: > OK ... I've always set the server up so that both xxx.co.uk and > www.xxx.co.uk are processed, but the 'quality police' are now flagging this > as wrong, and saying that one or the other should be 'returned' by the site. > Since some sites al

Re: [users@httpd] Uploading a file using HTTp to apache web server.

2012-03-22 Thread Tom Evans
On Thu, Mar 22, 2012 at 10:39 AM, Sharmistha Chatterjee wrote: > > Hi, > > I am trying to upload a file to apache web server . The post request is > successful. I am getting HTTP OK > > Post request > > POST /upload.php?save-as=t.txt HTTP/1.1 > Host: x.x.x.x > > Content-Length: 5 > Content-Type:

Re: [users@httpd] accessing named pipe files from apache web server

2012-03-22 Thread Tom Evans
On Thu, Mar 22, 2012 at 1:56 PM, Mysterious Mose wrote: > Good morning, > > […] > >    Why is this so difficult, and why aren't more people interested in > doing this? It seems like such a simple thing to do. If I create a > named pipe and write data to it, cat can get the data out, along with > m

Re: [users@httpd] How does client decrypt data in a HTTPS-based WebDAV transfer

2012-03-26 Thread Tom Evans
On Mon, Mar 26, 2012 at 10:12 AM, Ajay Garg wrote: > Thanks a ton Sander. > > So on session setup-phase, the server sends the public-key to the client > (which would hardly be a bother, even if it is intercepted by a > eavesdropper). This public key is then used to encrypt the data on the > client

Re: [users@httpd] Question About ACL

2012-03-26 Thread Tom Evans
2012/3/26 Téssio Fechine > > Hello, > I am learning apache, and the ironic part is that reading the apache > documentation on acl reinforced my doubt in this matter. > > In this part: > In the following example, all hosts in the apache.org domain are allowed > access; all other hosts are denied ac

Re: [users@httpd] Question About ACL

2012-03-26 Thread Tom Evans
2012/3/26 Téssio Fechine : > So, constructions like that: > > Order Deny,Allow   (allow by default) > Deny from all      (deny everything) > > are indeed kind of pointless, right? Nonetheless it's the most used form, > even in the official documentation. > Not at all; you are right that that stan

Re: [users@httpd] Question About ACL

2012-03-26 Thread Tom Evans
2012/3/26 Téssio Fechine : > >> Not at all; you are right that that stanza is equivalent to >> "Order >> Allow,Deny", but the behaviour after adding an additional >> Allow is >> different. >> >> There isn't one right or wrong way, you just have to >> understand that >> there are two ways, and what

Re: [users@httpd] design of authentication pages in http server

2012-03-27 Thread Tom Evans
On Mon, Mar 26, 2012 at 8:42 PM, Sivaraman V wrote: > > Dear All, > > I am trying to create a java web application in which the authentication > part should be handled purely by apache http server. > > On opening the front page of the application, the content should be served > from the http serve

Re: [users@httpd] Apache as Proxy in a LAN, behind a proxy

2012-03-27 Thread Tom Evans
On Tue, Mar 27, 2012 at 12:11 PM, Cristian Senchiu wrote: > Hi there, > >[…] > Do you know if there is any configuration where i tell Apache to use > machines proxy settings? Or where I could tell Apache that it is behind a > proxy and give it the proxy settings? > Only windows machines have 'mac

Re: [users@httpd] Apache as Proxy in a LAN, behind a proxy

2012-03-27 Thread Tom Evans
On Tue, Mar 27, 2012 at 12:52 PM, Cristian Senchiu wrote: > Hi Tom, > > Thank you too for your reply! Please reply on list, and not directly to me. > So I have no chance to make Apache use the "machine proxy settings"... That's what I said. > Well, the only solution is then to use ProxyRemote

Re: [users@httpd] Help required to enable the mod_cache on the apache web server 2.2.17.

2012-03-27 Thread Tom Evans
On Tue, Mar 27, 2012 at 1:25 PM, Pramodkumar Srikantamurthy wrote: > > Hello every one, > > Can any one plz let me know the correct steps to enable the mod_cache and > mod_disk_cache on the apache webserver 2.2.17 on the UNIX box. > > All we know is using the command apxs – c  mod_cache.c  (prese

Re: [users@httpd] What's the meaning?

2012-03-29 Thread Tom Evans
On Thu, Mar 29, 2012 at 3:04 PM, Hua Li wrote: > Hi, I have an Apache httpd server working, and it generates something > like the following from time to time: > > do_close:0, content_len:0. > do_close:0, content_len:10. > > What's the meaning ? Thanks in advance. > Is this in the error log? Does

Re: [users@httpd] mod_proxy: ProxyPassReverse ignored with ProxyPreserveHost?

2012-03-29 Thread Tom Evans
On Thu, Mar 29, 2012 at 5:06 PM, Ron Van den Branden wrote: > Hi, > > Apologies for reposting that soon, but I've been thinking more about my > question earlier today (see ). > So, rather than appearing impatient, I would like to rephrase that question

Re: [users@httpd] Load Balancing, no fail over when backend server is down?

2012-03-29 Thread Tom Evans
On Thu, Mar 29, 2012 at 5:14 PM, Ryan Bowman wrote: > That doesn't sound correct to me, the balancer-manager page has a > status column, and shows that one is OK, the other is Err. (see the > attached screen shot) > > Apache knows that the backend server is having problems, shouldn't > Apache then

Re: [users@httpd] mod_proxy: ProxyPreserveHost omits start of proxied path

2012-03-30 Thread Tom Evans
On Fri, Mar 30, 2012 at 11:14 AM, Bruno Tréguier wrote: > Ron, > > Would it be possible for you to do new captures of the network traffic, but > in "pcap" format ? That way we could use tools like wireshark to analyse the > traces, instead of the ascii dump you provided, whih (in my opinion) is >

Re: [users@httpd] How to set up 2 or more machines running HTTPD instances to serve a same request ( in a load balanced fashion).

2012-04-05 Thread Tom Evans
On Thu, Apr 5, 2012 at 1:22 AM, Pratapani wrote: > > Hi, > > Greetings !! > > I am writing this after lot of googling. I could not get a direct answer in > my searches. > As I  don't have a more time to do R&D, I am sending this mail for a quick > solution. > > I sucessfully did the following : >

Re: [users@httpd] general module question

2012-04-24 Thread Tom Evans
On Sun, Apr 22, 2012 at 2:28 AM, Will wrote: > I was wondering just generally speaking if this would be possible. > > mod_php can only load a single php.ini file, but it does allow > php_admin_value to set the values.  I wonder if I could make a module that > allows you to add a directive to point

Re: [users@httpd] How setting byte-range header field?

2012-04-24 Thread Tom Evans
2012/4/24 Takagi : > Hi! > I'm trying to set byte-range header field(iOS require this field in media > playback). But httpd cannot set byte-range field in reponse header. > I wander how do I configure apache configuration file? > > version info > # cat /etc/redhat-release > CentOS release 5.8 (Fina

Re: [users@httpd] rewrite to https website

2012-04-24 Thread Tom Evans
On Tue, Apr 24, 2012 at 12:24 PM, TianJing wrote: > Hi all, > > I have a question on apache rewrite, I have a https website: https://www.a.com > > I want add another url(http://www.b.com),and this url will be forward > to https://www.b.com > > I using the rewite rules, but I seem doesn't work. > >

Re: [users@httpd] Apache access logs

2012-04-25 Thread Tom Evans
On Wed, Apr 25, 2012 at 4:54 PM, Ishita Kapadiya wrote: > Hi All, > > I am using apache 2.2.22. > > We are seeing some weird behavior in Apache access logs. I have > following line in httpd.conf - > > LogFormat "%h %l %i %t \"%r\" %>s %b" common > > now the log should look like - 64.39.111.58 - -

Re: [users@httpd] sh: fetch: command not found

2012-05-03 Thread Tom Evans
On Mon, Apr 30, 2012 at 12:15 PM, vishesh kumar wrote: > Hi Members, > > I am getting a lots of following error in my error_log > > -- > sh: fetch: command not found > --- > > What could be the reason as no

<    1   2   3   4   5   6   7   >