Re: [users@httpd] Apache 2.2 End of life

2016-03-22 Thread Tom Evans
On Mon, Mar 21, 2016 at 4:07 PM, Michael A. Peters wrote: > I can't find anything official but 1.3 went EOL in 2010 and 2.0 went EOL in > 2013. > $ GET -m HEAD "http://$one_of_my_production_servers/"; 403 Forbidden Connection: close Date: Tue, 22 Mar 2016 17:26:12 GMT Server: Apache/1.3.42 (Unix)

Re: [users@httpd] prefork vs worker mpm in apache

2015-11-03 Thread Tom Evans
On Tue, Nov 3, 2015 at 3:43 PM, Tim Dunphy wrote: > > Hey guys, > > We had to recompile apache 2.4.12 because we needed to disable thread safety > in php (ZTS). Because for some reason when compiling php with the > --disable-maintainer-zts with the worker mpm model and checking the php info > pag

Re: [users@httpd] Apache and PHP-FPM error

2015-02-13 Thread Tom Evans
On Mon, Feb 9, 2015 at 8:20 PM, Rose, John B wrote: > Bummer > > Since we want to stick with what is available via "yum" for Red Hat 7 > > Thanks for the info > I doubt the lack of UDS, and having to use FCGI over TCP/IP is what is causing your load spikes compared to running with mod_php. More

Re: [users@httpd] Help needed with event MPM configuration

2014-11-07 Thread Tom Evans
On Tue, Nov 4, 2014 at 7:36 PM, Rajalakshmi Iyer wrote: > Ok. Thanks. > > Does this situation sound plausible - Keep alive connections are not being > used effectively by client applications (i.e. subsequent requests on > keep-alive connections are not frequent enough to keep Apache workers busy >

Re: [users@httpd] Too many vhosts?!?!

2014-10-06 Thread Tom Evans
On Sun, Oct 5, 2014 at 9:22 PM, Jakov Sosic wrote: > Hi guys. > > I'm running CentOS 6 with latest httpd (2.2.15-31.el6). > > > I've noticed a very peculiar problem with Apache. I have a very high number > of virtual hosts set up - it's around 501. > > Problems started occuring after vhost number

Re: [users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-08 Thread Tom Evans
On Fri, Aug 8, 2014 at 9:23 AM, Igor Cicimov wrote: > >> Your .htaccess file: >> # ALLOW USER BY IP >> order deny,allow >> deny from all >> SetEnvIF X-Forwarded-For "1.2.3.4" AllowIP >> SetEnvIF X-Forwarded-For "5.6.7.8" AllowIP >> Allow from env=AllowIP >> allow from 1.2.3.4 >> allow from 5.6.7.8

Re: [users@httpd] apache umask to get 775 file permissions

2014-07-29 Thread Tom Evans
On Mon, Jul 28, 2014 at 7:29 AM, Mike Wenzel wrote: > I got an cgi-script which is creating a file. This file need 775 permissions > (rwxrwxr-x). I need to get the apache to create this file with 775 > permissions. > > I researched, but 90% of all those solutions doesn't work for me or those > "in

Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 3:49 PM, Tom Evans wrote: > On Fri, Jul 25, 2014 at 11:37 AM, wrote: >> Hi, >> >> we have apaches as reverse proxies for some tomcat and wso2-application >> servers. >> >> We get this error message on a high-load-webserver:

Re: [users@httpd] [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily unavailable: [client 172.31.0.142:21815] AH01110: error reading response

2014-07-25 Thread Tom Evans
On Fri, Jul 25, 2014 at 11:37 AM, wrote: > Hi, > > we have apaches as reverse proxies for some tomcat and wso2-application > servers. > > We get this error message on a high-load-webserver: > > [proxy_http:error] [pid 13256:tid 47013272524544] (11)Resource temporarily > unavailable: [client 172.3

Re: [users@httpd] After authentication, How to authorize users according to IP (or host)?

2014-07-25 Thread Tom Evans
On Tue, Jul 22, 2014 at 4:46 PM, Mark jensen wrote: > this won't help if the USER is outside the Network and have to use LDAP, it > is surely doesn't have the IP 192.168.1.2 Break it down who you want to access the location, ie it is unclear which of these statements is what you want (if any). 1

Re: [users@httpd] Apache load capacity

2014-07-22 Thread Tom Evans
.On Fri, Jul 18, 2014 at 2:52 PM, David Favor wrote: > A quick test of how fast a single file will serve is to do this. > >1) ssh into your machine (you must ssh in for this test for it to be > accurate) > >2) create a 150K file > net1# dd if=/dev/zero of=output.dat bs=150K count=1 >

Re: [users@httpd] How to set a custom DNS to Apache?

2014-07-22 Thread Tom Evans
On Sun, Jul 20, 2014 at 10:18 PM, Mark jensen wrote: > I have read about Authoriztion in Apache: > Require host example.org > Require host .net example.edu > > > This configuration will cause > Apache to perform a double reverse DNS lookup on the client IP > address, regardless of the

Re: [users@httpd] What causes Apache “Request body read timeout” errors?

2014-06-23 Thread Tom Evans
On Sat, Jun 21, 2014 at 7:13 PM, Vladimir Kornea wrote: > The server is Apache/2.2.22 (Debian) and the browser is Firefox 30.0, > but this is a general question. It refers to lines like this in > /var/log/apache2/error.log: > > [Fri Jun 20 17:42:16 2014] [info] [client 67.174.61.70] Request body >

Re: [users@httpd] YOU BROKE MY CODE!

2014-05-21 Thread Tom Evans
On Sat, May 17, 2014 at 4:37 AM, Andy Canfield wrote: > Last week, if you went to http://www.andycanfield.com, you would see my web > site. Today, if you go there, you will see "Internal Server Error". Apache > broke it. > > We had four sites on that computer: > [1] http://210.213.49.151/ took you

Re: [users@httpd] Apache 2.4 - non adoption reasons??

2014-04-23 Thread Tom Evans
On Thu, Apr 10, 2014 at 6:43 PM, Joey J wrote: > Apache 2.4 has had a stable release out for over 2 years but is only used by > 2.5% of active Apache sites. Why is the adoption so low?? The Apache > foundation has been recommending upgrading to 2.4 for some time and looking > at the improvements

Re: [users@httpd] Fwd: apache hosting unknown sites !!!

2014-04-16 Thread Tom Evans
On Wed, Apr 16, 2014 at 1:24 PM, Mauricio Tavares > I guess I am more paranoid than many. :) The internet is noisy and full of terrors. If you put a server, particularly http server, on the internet and make it available, people will make all kinds of requests to it - not necessarily reque

Re: [users@httpd] Apache Version 2.4 MSI for Windows

2014-03-13 Thread Tom Evans
On Thu, Mar 13, 2014 at 11:41 AM, Savio Chrysostom wrote: > Hi, > > > > I would like to know if MSI is available for Apache 2.4. If yes, please send > me the link where I can download it. The apache project do not release binaries, only source code. Previously, project volunteers made unofficial

Re: [users@httpd] Preventing an open proxy with both a single SSL virtual host and a non-SSL virtual host

2014-02-18 Thread Tom Evans
On Tue, Feb 18, 2014 at 3:00 PM, Richard Mixon wrote: > Jonas/Yehuda, > > The example I chose was a bad one, just rushing to get the mail out I guess. > The vast majority of the requests have a return of 200, with a few 503. > Yes, your configuration is not right - you are configuring a reverse

Re: [users@httpd] Virtual Host Not Working

2014-02-12 Thread Tom Evans
On Mon, Feb 10, 2014 at 10:24 PM, Jim Borland wrote: > My server, which is located in the Amazon cloud, was just moved to a new > location with a new IP address. Nothing else was changed. However, the > Apache Virtual Host, which has worked flawlessly for several years, is > broken. Apache serve

Re: [users@httpd] RE: Having issues trying to use rewriterule,proxypass,proxyreversepass

2014-02-10 Thread Tom Evans
On Mon, Feb 10, 2014 at 4:39 PM, Riggen, Scott wrote: > Tom, > > I put port# in to indicate that we are using a different port than standard > on the inside network/server. > In this case it is an Oracle SOA server on port 7011. > I can assure you that none of my actual rules contains or begins w

Re: [users@httpd] RE: Having issues trying to use rewriterule,proxypass,proxyreversepass

2014-02-07 Thread Tom Evans
On Fri, Feb 7, 2014 at 11:04 PM, Riggen, Scott wrote: > Current configuration in my vhosts file. > > > > This is not in a location or directory block. It is in the normal > virtualhost block > > I want my first rewriterule setup so that a user can type in > https://myserver.mydomain.com/ and it w

[users@httpd] Generating a gzip response from multiple pre-gzipped files on disk

2014-02-06 Thread Tom Evans
Hi all At $JOB we have a web app that generates XML for another web app to use. Each complete XML document is a list of individual items, and each item is stored on disk, in gzip format to save space - the format is overly verbose, and compression is highly effective, and gzip is nicely transparen

Re: [users@httpd] Single vs Dual Reverse Proxy

2014-01-29 Thread Tom Evans
On Tue, Jan 28, 2014 at 6:57 PM, Charles W Buege wrote: > All - > > I've gotten Apache working with a single Reverse Proxy to both of my web > servers (much thanks go to Yehuda for your assistance!!), but I'm trying to > take this to a next step. > > Attached, you will find an image with my curren

Re: [users@httpd] Passing Authentication or REMOTE_USER from One Apache Server to Another

2014-01-23 Thread Tom Evans
On Wed, Jan 22, 2014 at 11:16 PM, Kevin Behr wrote: > Hi there, > > I have two separate web applications, each on a different Apache (2.2) > server. A user first authenticates on Server A (either by Basic HTTP or > LDAP) and gains access to the web application. At some point, the user has > the

Re: [users@httpd] Re: Apache fcgid suexec not deleting POSTed /tmp files

2013-12-12 Thread Tom Evans
On Thu, Dec 12, 2013 at 10:31 AM, Fester Zigterman Rustenburg wrote: > Hi, > > Sorry for posting HTML before. > Is any one here using mod_fcgid, who has any idea how POST files are handled > ? > > It seems that Ubuntu 12.04 (based on debian 6) does not have my problem > using Apache 2.2.22, and I

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-12-02 Thread Tom Evans
On Sat, Nov 30, 2013 at 12:51 PM, Eric Covener wrote: > On Sat, Nov 30, 2013 at 2:53 AM, Borden Rhodes wrote: >> Assuming that the above steps accurately represent the exchange >> between Ff and httpd, am I to understand that there's no way to tell >> httpd in a .htaccess file at step 3 that a re

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-27 Thread Tom Evans
On Wed, Nov 27, 2013 at 5:37 AM, Borden Rhodes wrote: > Good evening, > > I thought that I had worded my question clearly. Is there something > wrong with how I've asked my question or that I'm asking for something > very unusual? > > I'll do my best to give you all of the information you need: >

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-26 Thread Tom Evans
On Mon, Nov 25, 2013 at 12:47 AM, Borden Rhodes wrote: > Thank you for your response, Tom, > > You are correct in that I don't expect the server to alter the HTML > output. I want to tell the server to fetch a file at an arbitrary path > if it receives a request for an absolute URL. So, for exampl

Re: [users@httpd] Curious inability to mod_rewrite absolute paths

2013-11-20 Thread Tom Evans
On Tue, Nov 19, 2013 at 11:06 AM, Borden Rhodes wrote: > Good morning, list, > > After about 7 hours of struggling with this issue, I can't seem to > find out how to trace the cause of this issue: > > I am trying to rewrite absolute URLs using a .htaccess file on my > computer being served from lo

Re: [users@httpd] Where is source for Windows? (was Re: Binary windows 2.4.x distribution)

2013-11-14 Thread Tom Evans
On Thu, Nov 14, 2013 at 2:06 PM, STF wrote: > I'm not looking for some "IT adventure" if that's what you mean. I have a > job and I don't have spare time to "explore unknown territories" lol I > really want to use Apache httpd in windows at the latest version if > possible. So use apachelounge

Re: [users@httpd] Issues in compiling apache server on one machine and transfer to second

2013-11-12 Thread Tom Evans
On Tue, Nov 12, 2013 at 8:44 AM, swapnil vaidya wrote: > Hi All, > I have 2 linux machine. > I have compiled apache 2.4.6 on one of the linux machine with following > commands: > ./configure --prefix=/usr/apache--with-ssl=/usr/local/ssl --enable-ssl > --enable-modules="all" --enable-mods-shared="m

Re: [users@httpd] building a web farm

2013-11-01 Thread Tom Evans
On Thu, Oct 31, 2013 at 11:30 PM, trifo wrote: > Thanks for the replies. > > Well, I forget to mention that we run on AIX, not on Linux. And so it is. > The files MUST be consistent in any moment of time. There is a period of > time when a lot of pages are changing in every 5 minutes. The point r

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 3:06 PM, Chris Arnold wrote: >>First of all, is "/folder/", "/path/" or "/share/"? You seem to have >>used them all so far.. please be careful when anonymizing your config >>that you aren't removing information that is necessary to determine >>what is wrong > > This rea

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 2:20 PM, Chris Arnold wrote: > On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold > wrote: >> >> Apache/2.2.12 (Linux/SUSE). We have a web app that runs under tomcat >> (8080). We have apache using mod_proxy (80 and 443). According to the tomcat >> mailing list: > > >> >> What

Re: [users@httpd] reverse proxy, balancing and ssl client certificate authentication

2013-10-17 Thread Tom Evans
On Thu, Oct 17, 2013 at 12:52 PM, Jan Vávra wrote: > Hello, > I have an idea how to setup Apache for doing load balancer based on > mod_proxy and mod_balance modules. But in my case the backend server > requires ssl client certificate authentication and therefore the Apache > Server cannot termin

Re: [users@httpd] HTTP_REFERER and Access Control

2013-10-11 Thread Tom Evans
On Fri, Oct 11, 2013 at 5:33 PM, Tom Evans wrote: > RewriteCond %{HTTP_REFERER} ^applications.example.com$ > RewriteRule .* - [E=valid_referer:1] > > SetEnvIf Referer applications\.example\.com valid_referer=1 Doh! I thought I had removed the mod_rewrite way of setting the environm

Re: [users@httpd] HTTP_REFERER and Access Control

2013-10-11 Thread Tom Evans
On Fri, Oct 11, 2013 at 3:58 PM, Philippe Marcoussis wrote: > Hello, > > I am facing a problem, and i don't known how to solve it. > > I have two web sites working and available on the internet : > - applications.example.com > - secure.example.com > > I would like : > 1) to allow FULL access FROM

Re: [users@httpd] Question regarding ProxyPass and "!"

2013-09-26 Thread Tom Evans
On Thu, Sep 26, 2013 at 10:58 AM, Thomas Eckert wrote: > Using a config like this > > > BalancerMember http://backend.example.local status=-SE > > > ServerName frontend.example.local > SSLProxyEngine On > RequestHeader set X-Forwarded-Proto http > >

Re: [users@httpd] server-status page: meaning of "W" in multitier architecture

2013-09-03 Thread Tom Evans
On Tue, Sep 3, 2013 at 7:34 AM, Massimiliano De Ruosi wrote: > Now I understand, thank you. > > Any suggestion about profiling a request using mod_proxy as a reverse proxy? > Reading mod_proxy documentation I didn't find a useful solution (except > lowering Timeout/ProxyTimeout to get some informa

Re: [users@httpd] Rate limiting

2013-09-02 Thread Tom Evans
On Mon, Sep 2, 2013 at 2:17 PM, John Doe wrote: > From: Akash Jain > >> How can i rate limit no. Of requests per ip for a particular url to prevent >> DoS? > > https://www.google.fr/search?q=apache+rate+limit+per+ip > > if only it was that easy... > > DoS attacks use thousands of IPs. > That wo

Re: [users@httpd] upgrade to apache 2.4.4 and peformance issue

2013-08-02 Thread Tom Evans
On Fri, Aug 2, 2013 at 10:15 AM, S R wrote: > I upgraded from Apache 2.0.63 to 2.4.4 and changed the pages from using jsp > with modcaucho and resin to using modphp 5.4.16. I have seen a significant > reduction in page response times. Does anyone have any suggestions on what > would cause this?

Re: [users@httpd] Logs analyse

2013-08-01 Thread Tom Evans
On Thu, Aug 1, 2013 at 2:32 AM, Jerry K wrote: > looking at the home page of both products, the last Webalizer update was > April 2011. The last Awffull update was in 2008. > So? The piped logger that I use to rotate my logs was last updated in 2004, it doesn't make it any way not the best damne

Re: [users@httpd] "httpd" service timing-out

2013-07-19 Thread Tom Evans
On Thu, Jul 18, 2013 at 10:54 PM, Ajay Garg wrote: > Hi all. > > I have used httpd to good effect since many months (mainly using it > for uploading/downloading files via WebDAV) on a Fedora-18 ARM > machine, and it has always worked like a charm. > > Now, we are in the process of setting up a boo

Re: [users@httpd] File download transfer fails mod_proxy

2013-07-17 Thread Tom Evans
On Tue, Jul 16, 2013 at 4:43 PM, Smith, Mitchell wrote: > Hi, > > This issue still persists, I have checked the logs but see no errors. > > The access log (Format "%h %l %u %t \"%r\" %>s %b" ) logs > 172.19.203.9 - - [16/Jul/2013:16:14:04 +0100] "GET > /myTestAppL/ThirdpartyPDF/95008450_201212

Re: [users@httpd] Re: mod_status shows weird numbers in "Total Accesses"

2013-07-04 Thread Tom Evans
On Wed, Jul 3, 2013 at 7:00 AM, Asaf Dalet wrote: > As i previously mentioned, the apache is actually Oracle-HTTP-Server version > 10.1.3.4.0 > > Asaf > Hi Asaf It's very unlikely that you will be able to entice someone to look in to this very ancient version of Apache for a bug not relating to

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-26 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 Sorry, I didn't read your original post. Please upgrade Apache to 2.2.24 and re-test. Cheers Tom

Re: [users@httpd] Mod_proxy Slow After a Week

2013-06-24 Thread Tom Evans
On Mon, Jun 24, 2013 at 2:03 PM, Robert Gabriel wrote: > Hello all, > > We have: > > Apache 2.2.3 > CentOS 5.5 x86_64 > Splunk 5.0.2 > > I only know the basics but Apache has been serving us very well with the > below config > > and only after about a week did pages refresh very slowly, up to a mi

Re: [users@httpd] Proxy load balancer and (a)synchronous I/O

2013-06-18 Thread Tom Evans
On Tue, Jun 18, 2013 at 3:51 PM, marco.signor...@gmail.com wrote: > Hi users, > > I'm configuring the apache httpd server in front of a farm of cometd > servers. The clients interact with the cometd server through long polling > connections. > > Does the httpd server still use a thread-per-request

Re: [users@httpd] maximize Apache services

2013-06-10 Thread Tom Evans
On Mon, Jun 10, 2013 at 5:49 PM, Tom Evans wrote: > 1) run worker or event MPM instead of prefork And to do so on FreeBSD: # cd /usr/ports/www/apache22 # make WITH_MPM=worker clean all deinstall reinstall clean Cheers

Re: [users@httpd] maximize Apache services

2013-06-10 Thread Tom Evans
On Mon, Jun 10, 2013 at 3:33 PM, motty cruz wrote: > Hi Mike, > > Thanks for your replied; I'm using FreeBSD 9.1, here is the list of modules > > Loaded Modules: > core_module (static) > mpm_prefork_module (static) > http_module (static) > so_module (static) > authn_file_module (shared) > au

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 3:37 PM, Joydeep Bakshi wrote: > > > On 24-May-2013, at 6:46 PM, Tom Evans wrote: > >> On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi >> wrote: >>> It was level 5 and now I have set level 9. >>> From log it seems that the patte

Re: [users@httpd] .htaccess {QUERY_STRING} and issue with append a value

2013-05-24 Thread Tom Evans
On Fri, May 24, 2013 at 2:03 PM, Joydeep Bakshi wrote: > It was level 5 and now I have set level 9. > From log it seems that the pattern is blindly applied to every link rather > than matching the query_string > > applying pattern '^ALP33211$' to uri 'index.php' > applying pattern '^ALP33211$' to

Re: [users@httpd] Security using alias directive in a https vhost

2013-05-17 Thread Tom Evans
On Fri, May 17, 2013 at 7:26 AM, Roland Wegmann wrote: > Dear apache2 experts > > I run three name-based apache2 vhosts on an Ubuntu 12.04 LTS server. > I can reach all three vhosts from the internet using https and FQDN. > My CA is CACert and I adapted the original default-ssl (in sites-available

Re: [users@httpd] Program terminated with signal 7, Bus error.

2013-05-17 Thread Tom Evans
On Fri, May 17, 2013 at 8:37 AM, tseveendorj wrote: > Hello, > > Someone can help me who was faced this issue before. My apache2 server is > repeatedly logged 'Program terminated with signal 7, Bus error." message. > > I'm using Ubuntu 12.04.2 > Apache2.2.22 > PHP 5.3.10-1ubuntu3.6 > > And running

Re: Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-03 Thread Tom Evans
On Thu, May 2, 2013 at 6:46 PM, oneat wrote: > Do you have any other samples for cpp coding for httpd? I heard about codea, > but it seems a bit outdated. apxs doesn't really understand how to deal with C++ modules, to get this to work correctly I needed to write a Makefile: APXS=apxs APXS_CFLA

Re: Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 1:17 PM, oneat wrote: > On Thu, May 2, 2013 at 12:22 PM, oneat wrote: >> Hi. >> >> I'm writing my first module in c++ for apache and this is its code in >> mod_cpp.cpp file: >> >> module AP_MODULE_DECLARE_DATA cpp_module = >> { >>STANDARD20_MODULE_STUFF, >>NULL, >>

Re: [users@httpd] writing my first own module - can't determine bootstrap symbol name; undefined API module structure

2013-05-02 Thread Tom Evans
On Thu, May 2, 2013 at 12:22 PM, oneat wrote: > Hi. > > I'm writing my first module in c++ for apache and this is its code in > mod_cpp.cpp file: > > module AP_MODULE_DECLARE_DATA cpp_module = > { > STANDARD20_MODULE_STUFF, > NULL, > NULL, > NULL, > NULL, > NULL, > reg

Re: [users@httpd] odd 30 second timeout when using mod_proxy_fcgi and php-fpm

2013-04-29 Thread Tom Evans
On Fri, Apr 26, 2013 at 6:00 PM, Daniel Steen wrote: > Hi All! > > We are having an issue where, if a php script is waiting for more than 30 > seconds, apache will kill the connection to php-fpm with the following error: > > [Thu Apr 25 15:20:11.977250 2013] [proxy_fcgi:error] [pid 21763:tid > 1

Re: [users@httpd] apache 2.4 with MPM Event recommend config

2013-04-26 Thread Tom Evans
On Fri, Apr 26, 2013 at 3:41 PM, Mike Franon wrote: > Hi, > > I recently moved to apache 2.4.4 with php-fpm, mod_fastcgi, and MPM Event. > > I was curious what values do I need to change to optimize apache? > > I remember in 2.4 prefork I had to change several like MaxClients and > MaxRequestsPerC

Re: [users@httpd] Rewrite Rule

2013-04-25 Thread Tom Evans
On Thu, Apr 25, 2013 at 4:53 PM, Chris Arnold wrote: > On Apr 25, 2013, at 11:32 AM, "Tom Evans" wrote: > >> It looks like you are rewriting it to it's current location. This >> leads to a loop. >> >> Why are you using rewrite rules anyway? > >

Re: [users@httpd] Rewrite Rule

2013-04-25 Thread Tom Evans
On Thu, Apr 25, 2013 at 4:13 PM, Chris Arnold wrote: > > > From: "Chris Arnold" > To: users@httpd.apache.org > Sent: Wednesday, April 24, 2013 3:21:25 PM > Subject: Re: [users@httpd] Rewrite Rule > > > On Apr 24, 2013, at 2:00 PM, "Chris Arnold" wrote: > >> On Apr 23, 2013, at 8:39 PM, "Chris Arn

Re: [users@httpd] Apache 2 Mod_Chroot problem

2013-04-15 Thread Tom Evans
On Sun, Apr 14, 2013 at 7:09 PM, Karol Pomaski wrote: > Well, I have checked the log and I see this line: > > [Sun Apr 14 06:25:04 2013] [notice] Graceful restart requested, doing restart > apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error > on line 1 of /etc/apache2/mo

Re: [users@httpd] Strange Apache logs - very slow loading time

2013-04-12 Thread Tom Evans
On Sat, Apr 13, 2013 at 1:45 AM, Karol Pomaski wrote: > Well I have already blocked the proxy and disabled to mod_proxy module but > still the log appears > > > [Sat Apr 13 00:43:57 2013] [error] [client 198.136.28.2] File does not exist: > /var/www/shops/88/store/creative, referer: http://www.h

Re: [users@httpd] Strange Apache logs - very slow loading time

2013-04-12 Thread Tom Evans
On Sat, Apr 13, 2013 at 1:12 AM, Karol Pomaski wrote: > Hi All, > > I need a help. I believe something is wrong. I have recently found a strange > information on my apache error.log: > > [Sat Apr 13 00:08:32 2013] [error] (110)Connection timed out: proxy: HTTP: > attempt to connect to 107.6.106.10

Re: [users@httpd] file extensions for CGI

2013-04-03 Thread Tom Evans
On Wed, Apr 3, 2013 at 1:03 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > The execute bit is set. http://httpd.apache.org/docs/2.2/howto/cgi.html#nonscriptalias Because those options are not set, Apache refuses to execute the file. Remove the execute bit if it i

Re: [users@httpd] file extensions for CGI

2013-04-03 Thread Tom Evans
Is the file executable - ie "does it have it's exec bit set", not "is it a program". Cheers Tom On Wed, Apr 3, 2013 at 12:03 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > I am using RedHat 6.4 with Apache 2.2.15. I send a wget request to the > server for /cobb

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-03 Thread Tom Evans
On Tue, Apr 2, 2013 at 9:18 PM, Thibaut Lemaire wrote: > > Le 02/04/2013 18:45, Tom Evans a écrit : > >> Do you mean proxy - you want to connect to a different server, fetch >> that content over the network to this server, and then deliver it to >> the client? > &

Re: [users@httpd] Problem with wildcard subdomains and ProxyPass

2013-04-02 Thread Tom Evans
On Tue, Apr 2, 2013 at 5:18 PM, Thibaut Lemaire wrote: > Hi, > > I want to use Apache to proxy requests like domain.tld.MyDomain.tld to > domain.tld. > > I've tried this : > > > RewriteEngine on > RewriteCond %{HTTP_HOST}(.*).MyDomain.tld$ > RewriteRule (.*).MyDomain.tl

Re: [users@httpd] JkWorkerFile (mod_jk)

2013-03-28 Thread Tom Evans
On Thu, Mar 28, 2013 at 4:20 PM, Chris Arnold wrote: > Apache2.12.x on SLES11 SP2. > I am trying to get apache2 mod_jk working with apache to access a webapp. I > have loaded the mod_jk module and configured a virtual host and > workers.properties file like so: > > virtualhost: > > ServerNa

Re: [users@httpd] Apache time zone > daylight saving time > missing an hour of logs?

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 10:33 AM, Lester Caine wrote: > Tom Evans wrote: >> >> Don't run Apache in a locale with DST if you do not want local DST >> times in the logs. Use the C locale instead. > > > The only thing that is consistent is UTC, and by default that

Re: [users@httpd] Apache time zone > daylight saving time > missing an hour of logs?

2013-03-11 Thread Tom Evans
On Sun, Mar 10, 2013 at 11:29 PM, Geoff Millikan wrote: > The date and time shown in Apache logs comes from the time zone of the > server. If the server's time jumps forward an hour > (adjusting for daylight savings time) the time in the Apache log will jump > forward too. To the untrained eye

Re: [users@httpd] Access and Error Logs Being Created Before Reaching Maximum Size or Time

2013-03-08 Thread Tom Evans
On Fri, Mar 8, 2013 at 1:02 PM, Steve Penner wrote: > BRIEF BACKGROUND > From the Internet, users can access my web server using EITHER name > website1.dynalias.org OR website2.dyndns.blog.com (provided by DynDNS.com > dynamic DNS). The VHOSTS file sends them to different document routes > depend

Re: [users@httpd] Apache monitoring MPM

2013-03-05 Thread Tom Evans
On Tue, Mar 5, 2013 at 1:37 PM, vicky wrote: > Hi GUys, > > can you please suggest that for monitoring the number of threads/server > processes created via MPM worker do we have any tool or any status page ..? > > > Thanks > Vicky mod_status http://httpd.apache.org/docs/2.2/mod/mod_status.html

Re: [users@httpd] SSL session problem

2013-03-04 Thread Tom Evans
On Sun, Mar 3, 2013 at 10:36 PM, Jens-U. Mozdzen wrote: > Zitat von Jens-Uwe Mozdzen : >> >> Zitat von "Jens-U. Mozdzen" : >>> >>> Hi list, >>> >>> I could use a helping hand with a SSL problem. >> >> [...] > > > Anything I should do differently to get at least an ack from this list? Or > is there

Re: [users@httpd] Application exception from Apache 2.4.3 (with APR 1.4.6)

2013-02-28 Thread Tom Evans
On Wed, Feb 27, 2013 at 5:02 AM, Pravesh Rai wrote: > Hi, > > > > While doing continuous restart of 64 bit Windows server, sometimes we get > application exception with following details: You would be better off reporting this to dev@ Have you ruled out bad memory in the machine? Can you reprodu

Re: [users@httpd] Using PostgreSQL auth - user permissions

2013-02-28 Thread Tom Evans
On Thu, Feb 28, 2013 at 4:46 AM, D'Arcy J.M. Cain wrote: > On Thu, 28 Feb 2013 13:04:21 +1100 > Igor Cicimov wrote: >> > I have recently upgraded to Apache 2.4, suExec and dbd >> > authentication with PostgreSQL. This is on a system with multiple >> > users. Here is an example virtual host entr

Re: [users@httpd] Installation of webapp in a virtualhost subdomain

2013-02-28 Thread Tom Evans
On Thu, Feb 28, 2013 at 3:36 PM, Paulo J. Matos wrote: > Hello, > > I am trying to get openphoto installed in photos.matos-sorge.com, this is a > subdomain of matos-sorge.com, which I own. > > To implement the subdomains I have a virtual host that starts with: > RewriteEngine on > # Rewrite ev

Re: [users@httpd] mod_proxy error reading status line

2013-02-27 Thread Tom Evans
On Wed, Feb 27, 2013 at 2:59 PM, Mark Lybarger wrote: > We're using apache mod_proxy to proxy requests to jboss servers on > different hosts. We've noticed that we're getting sporadic http 502 > response codes. In the apache error file, I see LOTS of these errors: > > [Tue Feb 26 13:55:49 2013]

Re: [users@httpd] Disable custom modules for a specific directory in my web server

2013-02-14 Thread Tom Evans
On Thu, Feb 14, 2013 at 5:40 PM, Chris Villone wrote: > Hi all, > > I have an apache server running on an embedded device that serves webpages to > clients using a bunch of custom modules. > > I'm now trying to load some webpages from the device using > http://127.0.0.1/foo/blah.html > > These p

Re: [users@httpd] Re: "Official" apache win32 binaries for 2.2.23

2013-02-05 Thread Tom Evans
On Sat, Feb 2, 2013 at 9:24 AM, Michiel Beijen wrote: > Op 2 feb. 2013 02:16 schreef "Good Guy" het volgende: > I don't >> mind doing it but whenever I try do build it in VS2010, I always get errors >> and so I gave up. even VS 2012 is out now and it is a very good package to >> create fast bina

Re: [users@httpd] Changing the MPM

2013-02-05 Thread Tom Evans
On Sun, Feb 3, 2013 at 8:34 PM, yogesh hingmire wrote: > I recently bought a new Mac book pro, the apache server that comes inbuilt > is with a prefork option, here is below listing > > Yogeshs-MacBook-Pro:sbin yogesh$ httpd -l > Compiled in modules: > core.c > prefork.c > http_core.c > mo

Re: [users@httpd] Apache httpd graphical monitor ?

2013-01-18 Thread Tom Evans
On Thu, Jan 17, 2013 at 11:48 PM, Rose, John B wrote: > Is there a graphical monitoring tool for Apache httpd that is granular > enough you can determine if you need to change configuration settings, such > as you need to change values for MaxClients, MinSpareServers, > MaxRequestsPerChild, Start

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-11 Thread Tom Evans
On Fri, Jan 11, 2013 at 1:57 PM, Tom Frost wrote: > Hi > > Thank you all for your replies, very helpful and much appreciated. > > I understand your thoughts on the IfDefine Proxy, as you can guess this is > something which Epages put in itself, not anything that I put in or use. > > When I remove

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-10 Thread Tom Evans
On Thu, Jan 10, 2013 at 12:03 PM, Tom Frost wrote: > Hi Adam > > Thanks for your reply. > > Yes, I did c/p and then replace the domains with the placeholders. > > I too noticed that there wasnt any entry for url1.mydomain.com, and I have > been down the same process you advised of starting with on

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-09 Thread Tom Evans
On Tue, Jan 8, 2013 at 1:33 PM, Tom Frost wrote: > Hi Tom > > Dont think so, the different epages configs are included like this: > > Include /etc/httpd/conf.d/zzz-epages-*.conf > > And there is only one zzz-epages-httpd.conf > > Thanks > > Tom > And nothing else is doing something like "Include

Re: [users@httpd] VirtualHost configuration not working as expected with ePages solution

2013-01-07 Thread Tom Evans
On Mon, Jan 7, 2013 at 3:02 PM, Tom Frost wrote: > Hi > > Thanks for your reply Adam. > > The output requested is: > > VirtualHost configuration: > 127.0.0.1:443 localhost (/etc/httpd/conf.d/ssl.conf:81) > wildcard NameVirtualHosts and _default_ servers: > *:80 is a Name

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2013-01-02 Thread Tom Evans
On Sun, Dec 30, 2012 at 11:13 PM, Esmond Pitt wrote: > I haven't been told that at all actually. I have been trying to extract > precisely that information, from a lot of people who seem churlish in the > extreme at actually answering questions. This latest insult is entirely > typical. It's a sim

Re: [users@httpd] How to retrieve IP address of incoming packets in text file using httpd source code

2012-12-20 Thread Tom Evans
On Thu, Dec 20, 2012 at 4:20 PM, Bhavna Saini wrote: > Hi Eric, > > In the previous mail you mentioned that "webserver can't write to /file.txt > from a child process". I couldn't get it properly. Please give some more > details of it. Eric is saying that normally only root can write to the root

Re: [users@httpd] MPM module for windows

2012-12-20 Thread Tom Evans
On Thu, Dec 20, 2012 at 4:34 PM, Ben Johnson wrote: > > > On 12/19/2012 11:13 AM, techienote@gmail.com wrote: >> Hi, >> >> Recently I have installed apache 2.2 on windows 32 bit edition. I just want >> to understand which mpm module I should use for windows. >> >> As of now we are expecting 6

Re: [users@httpd] Compilation error in Apache 2.4.3

2012-12-13 Thread Tom Evans
On Mon, Dec 10, 2012 at 1:18 AM, John Iliffe wrote: > I am trying to install Apache 2.4.3 on a new Red Hat Linux 6.3 machine > running on X86_64 hardware. > > I installed OpenSSL version 1.0.1c and it seemed to install correctly. > basically, it was a default install except for the executable loca

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2012-12-13 Thread Tom Evans
On Tue, Dec 11, 2012 at 4:47 PM, Ben Johnson wrote: > The Apache Software Foundation does not provide Windows binaries. You > must compile the software from source (no simple matter on Windows) or > obtain binaries from a third party. Apache Lounge is the best known > source for such binaries: htt

Re: [users@httpd] mod_fcgid upload permission changes.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 2:26 PM, Toni Moreno wrote: > Hi Ben, Eric , I'm developing a centraliced IT-Administration platform.( > http://sourceforge.net/projects/itsat/ ) > … > I've tested your suggestion ( by adding a chmod while still root) but > doen't work: > > Hi Toni This isn't what Eric

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 11:43 AM, José Francisco Álvarez Aguilar wrote: > 2012/12/12 Tom Evans >> >> It "works" just fine, you are just not understanding what is necessary >> for it to work. >> >> VirtualHost uses the Host header supplied in the reques

Re: [users@httpd] Does Apache 'configure' command have a 'clean' option?

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 11:01 AM, Tom Evans wrote: > configure doesn't remember your options from a previous run, that is > what config.nice does. Where you accidentally running config.nice > instead of configure? Oh, and "make distclean" is a more vigorous cl

Re: [users@httpd] Does Apache 'configure' command have a 'clean' option?

2012-12-12 Thread Tom Evans
On Tue, Dec 11, 2012 at 8:46 PM, wrote: > Hi, > > I spent last night pulling my hair out because I was trying to build Apache, > but I was trying different 'configure' commands with different MPM > configurations, and it seemed like when I changed the parameters for > configure, it was using o

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-12 Thread Tom Evans
On Wed, Dec 12, 2012 at 9:30 AM, José Francisco Álvarez Aguilar wrote: > Yes, www1.example.com, www2.example.com and wwwsecure.example.com all > resolve to the same IP. > So, due to your explanation, I can't have different behaviour for this 3 > virtualhosts without using different certificates or

Re: [users@httpd] VirtualHosts on different ports and trying a non-response when asking to a non-allowed service.

2012-12-10 Thread Tom Evans
On Thu, Dec 6, 2012 at 7:59 PM, Pepe wrote: > I have an apache server with 3 virtual host (all DNS work already done): > http://www1.example.com --> listens on port 80 > http://www2.example.com --> listens on port 80 with required user > authentication > https://wwwsecure.example.com --> listens o

Re: [users@httpd] how to use ProxyPassReverse* with more complex a ProxyPassMatch

2012-12-10 Thread Tom Evans
On Sat, Dec 8, 2012 at 11:45 PM, Christoph Anton Mitterer wrote: > Hi. > > I'm using a reverse proxy set up with ProxyPassMatch as the space I map > to is rather complex and can't be mapped with a normal ProxyPass. > > > Now the problem is obviously that: > ProxyPassReverse > ProxyPassReverseCooki

Re: [users@httpd] Android device ID not show on access_log

2012-12-07 Thread Tom Evans
On Fri, Dec 7, 2012 at 7:28 AM, Chau Pham wrote: > it works fine for computer, laptop, and apple(iphone, ipad) device > however when I use Android then access_log in service side prints out: > > 172.16.33.124 - - [07/Dec/2012:13:29:37 +0900] "GET /data/playgirls-14.ts > HTTP/1.1" 200 2103156 "-" "

Re: [users@httpd] In what condition, can this log message be printed?

2012-12-06 Thread Tom Evans
On Thu, Dec 6, 2012 at 8:02 AM, Tianyin Xu wrote: > Hi, Eric, > > I'm sorry for the disturbing for this problem. > > I used GDB to trace the code, in the hope of understanding why httpd never > print that log message. > > Basically, that following code print out the log message: > > /* server/mpm/

  1   2   3   4   5   6   7   >