Re: [us...@httpd] Apache mod_jk redundancy

2010-10-18 Thread Tom Evans
On Mon, Oct 18, 2010 at 10:57 AM, Renato Oliveira wrote: > Guys, > > I thank you for all your help in advance. > > I have a bit of problem. > > We have a setup which is as follows: > >        * Apache + mod_jk setup as a load balancer for 2 jboss servers. >        * As you can see we have redundan

Re: [us...@httpd] tool for viewing http headers send by browser

2010-10-19 Thread Tom Evans
On Tue, Oct 19, 2010 at 4:40 PM, Harald Falkenberg wrote: > Hi, > > does somebody know how to view all detailed http headers send by a browser > via apache server itself or another tool? For firefox I found an add-on. But > I need something which I can run out-side a browser and what is not > rest

Re: [us...@httpd] Re: possible to add multiple locations for the document root

2010-10-21 Thread Tom Evans
On Thu, Oct 21, 2010 at 12:34 PM, e-letter wrote: > I tried to use the command 'Alias', to try and use the program > phppgadmin which was extracted to /path/to/phppgadmin: > > DocumentRoot "/var/www/html" > Alias /localhost/target /usr/local/phppgadmin/phppgadmin Alias refers to the path in the U

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-28 Thread Tom Evans
On Thu, Oct 28, 2010 at 12:54 AM, Mohit Anchlia wrote: > It looks like ErrorDocument changes the behaviour globally. What I > need to do is return Http code 200 with customized message which > clients can parse and display cleanly on the browser. > You want it to fail and return 200? Seems counte

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-28 Thread Tom Evans
That has well known solutions doesn't it? Pad your page to more than 512 bytes, and Robert is the brother of your mother. Cheers Tom On Thu, Oct 28, 2010 at 3:48 PM, Joost de Heer wrote: > On Thu, October 28, 2010 16:24, Tom Evans wrote: > >> Why do you care what the status co

Re: [us...@httpd] Limiting Request Body suggestion

2010-10-29 Thread Tom Evans
On Thu, Oct 28, 2010 at 4:41 PM, William A. Rowe Jr. wrote: > On 10/28/2010 10:17 AM, Tom Evans wrote: >> That has well known solutions doesn't it? Pad your page to more than >> 512 bytes, and Robert is the brother of your mother. > > I don't know that 512 will do

Re: [us...@httpd] MaxRequestsPerChild for worker mpm

2010-11-02 Thread Tom Evans
On Tue, Nov 2, 2010 at 1:10 PM, alin vasile wrote: > sorry, my bad here. we are using the worker mpm. > Your original message said you were using prefork. httpd -l to confirm please. - The official User-To-User support forum of

Re: [us...@httpd] SSL redirect ?

2010-11-04 Thread Tom Evans
On Thu, Nov 4, 2010 at 10:56 AM, Brent Clark wrote: > Hiya > > I got an interesting request from a client and I was hoping to bounce this > off you guys. > >

Re: [us...@httpd] Certain Pages being served are erroring...

2010-11-05 Thread Tom Evans
On Fri, Nov 5, 2010 at 1:43 PM, Scott Shippee wrote: > I maintain a series of web sites for the fraternal organizations I belong to > and recently we published a set of web pages to out server for one of the > sites and we are getting: > > > > Parse error: syntax error, unexpected T_STRING in > /h

Re: [us...@httpd] dynamic mpm-itk

2010-11-10 Thread Tom Evans
On Wed, Nov 10, 2010 at 4:02 PM, James Devine wrote: > vhost per user isn't something I would be able to do, what about a > module that runs prior to itk if thats possible to preset the uid > Not without significant hacking. From mpm-itk homepage: """ apache2-mpm-itk (just mpm-itk for short) is

Re: [us...@httpd] RewriteRule : How to retain Apache Host in the url

2010-11-12 Thread Tom Evans
On Fri, Nov 12, 2010 at 10:16 AM, Sai A wrote: > More specifically, look at the > ProxyPass and ProxyPassReverse directives that are present in mod_proxy. > > There is another directive called PreserveProxyHost that > you'll have to set to on and the URL won't change in the address bar (HTTP > hea

Re: [us...@httpd] Network domain

2010-11-12 Thread Tom Evans
On Fri, Nov 12, 2010 at 5:02 PM, Cheer Jiao wrote: > Hello, > > I am trying to install Apache 2.2.17 server in to my own Laptop PC. I was > asked to enter the network domain. However, the default network domail was > already set as westell.com and my server's full DNS name was also set the > defau

Re: [users@httpd] Apache failing to start after upgrade.

2010-11-12 Thread Tom Evans
On Fri, Nov 12, 2010 at 4:45 PM, Justin Pasher wrote: > - Original Message - >> >> From: Eric Kingston >> Date: Fri, 12 Nov 2010 08:55:07 -0700 >> Subject: [us...@httpd] Apache failing to start after upgrade. >> To: users@httpd.apache.org >> >> >> Hi, >> >> I'm hoping someone here can hel

Re: [us...@httpd] Location and sublocation?

2010-11-25 Thread Tom Evans
On Thu, Nov 25, 2010 at 2:39 PM, Jakov Sosic wrote: > Hi. > > I have a following config: > > >   Order allow,deny >   Allow from all >   AuthType basic >   AuthName "Password Required" >   AuthUserFile /etc/httpd/htpasswd >   Require valid-user > > > Now, I want to allow access to location /some

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-08 Thread Tom Evans
On Wed, Dec 8, 2010 at 11:13 AM, wrote: > > Just to make it clear: > What I perceived as a .. quirky behaviour of apache was that it did _not_ > throw an error when https://not-ssl-configured-domain.xx is requested. > How to run several https domains with one IP was not my challenge. > > / Bernd

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-08 Thread Tom Evans
On Wed, Dec 8, 2010 at 12:21 PM, wrote: > Hello, > > On 08.12.2010 12:48, Tom Evans wrote: >> >> Until the incoming request has been received and decrypted, apache has >> no clue that the domain requested was 'not-ssl-configured-domain.xx'. >> That

Re: [us...@httpd] Alias-ed directory appears on multiple virtual hosts

2010-12-08 Thread Tom Evans
On Wed, Dec 8, 2010 at 12:55 PM, wrote: > Hello, > > On 08.12.2010 13:45, Tom Evans wrote: >>> >>> .. but at this point apache knows that there is something wrong with the >>> request or the configuration, and should throw an error instead of >>> ser

Re: [us...@httpd] Apache2 | One Virtualhost for 80 AND 443

2010-12-20 Thread Tom Evans
On Sat, Dec 18, 2010 at 11:23 PM, J. Greenlees wrote: > Eric Covener wrote: >> On Fri, Dec 17, 2010 at 9:50 AM, King Holger (CI/AFP2) >> wrote: >>> Hi Apache2 group, >>> >>> is there a possibility to use JUST one VirtualHost for accessing it via HTTP >>> and HTTPS. >> >> No. >> > not even if it i

Re: [us...@httpd] Issue with mod_proxy ProxyPass balancer and web sockets

2010-12-21 Thread Tom Evans
On Tue, Dec 21, 2010 at 2:17 PM, Oscar Cassetti wrote: > Do you think that would be too hard to extend mod_proxy_http in order > to support them? > Or would it be more sensible to look at some other module or > application that support websocktes? > Wikipedia says* this about websockets and proxi

[users@httpd] mod_ssl, client certificates and r->username

2011-01-21 Thread Tom Evans
Hi all Apache/2.2.17 (FreeBSD) I'm trying to use client certificates to authenticate my few users. I created a self-signed CA, server certificates and user certificates, and installed them in the appropriate places. I then created a vhost: ServerName rc.ketbun.com SSLEngine on SSLCe

Re: [users@httpd] mod_ssl, client certificates and r->username

2011-01-21 Thread Tom Evans
On Fri, Jan 21, 2011 at 11:07 AM, Martin Kuba wrote: > Hi Tom, > > the normal access log does not contain SSL information. If you want it, > create a special log using the directive CustomLog, i.e. > > > CustomLog "|/usr/bin/cronolog /var/log/apache2/%Y/%m/%d/ssl_request.log" > "%v:%p %h %l %u %t

Re: [users@httpd] mod_ssl, client certificates and r->username

2011-01-21 Thread Tom Evans
On Fri, Jan 21, 2011 at 11:18 AM, Martin Kuba wrote: > Then I think that what you are looking for is the SSLUserName directive > http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslusername > > Cheers > > Martin Doh, how did I miss that one?! Thanks so much Martin! Cheers Tom

Re: [users@httpd] Name-based SSL virtual hosts

2011-01-24 Thread Tom Evans
On Mon, Jan 24, 2011 at 9:13 AM, Martin Kuba wrote: > Hi Wolfgang, > > there is a chicken-and-egg problem with name-based virtual hosts > and SSL. The SSL connection is established *before* HTTP communication, > so the SSL server does not know what Host: HTTP header will be sent > in the moment it

Re: [users@httpd] Allow & Deny Access to Directories

2011-01-26 Thread Tom Evans
2011/1/26 Juan Jesús Cremades Monserrat : > Hi, > I have a Server (server1) with the next directories: > > /var/www/html/dir1 > /var/www/html/dir2 > /var/www/html/dir3 > /var/www/html/dir4 > > And I want redirect an external URL across a Proxy (proxy1) to 'dir1' > I tried this meaning in the "httpd

Re: [users@httpd] compression on hard disks

2011-01-31 Thread Tom Evans
On Mon, Jan 31, 2011 at 12:06 PM, Rich Bowen wrote: > File compression and decompression happens within your operating system, and > Apache doesn't care. That is, it requests the file from the OS and the OS > hands it over. Apache has no concern or interest in how that file is stored > on, or r

Re: [users@httpd] Incompatibilities between mod_remoteip and the server-info & server-status handlers?

2011-01-31 Thread Tom Evans
On Mon, Jan 31, 2011 at 12:50 PM, J.Lance Wilkinson wrote: > I've got a set of identical webservers, all Apache 2.2.6, with > configurations > such that authorized IP addresses are allowed access to locations handled by > the server-info and server-status handlers. > > These work fine when visitin

Re: [users@httpd] Browser, Apache and caching...

2011-02-02 Thread Tom Evans
On Wed, Feb 2, 2011 at 5:06 PM, Tony Anecito wrote: > Hi All, > > I am wondering for the browser cache to work does the expires headers in the > apache config file have to be setup? Or by default when the page request from > the browser hits apache does it look at the file modified time stamp for

Re: [users@httpd] Performance tunning and tools

2011-02-03 Thread Tom Evans
On Thu, Feb 3, 2011 at 9:57 AM, Petr Hracek wrote: > Dear users, > > sorry for bother you with that issue. > Are there any tools how to measure performance of the apache 2.2? > Apache 2.2 is running under Linux operating system. > > I would like to present that new configuration of apache 2.2 has

Re: [users@httpd] Performance tunning and tools

2011-02-03 Thread Tom Evans
2011/2/3 Igor Galić : > - "Tom Evans" wrote: >> Check out ab[1], flood[2], siege[3] > > tsung, jmeter, etc.. > I didn't know tsung, that looks very cool. Something to read over lunch... Cheers Tom -

Re: [users@httpd] Event MPM in httpd 2.2.x

2011-02-04 Thread Tom Evans
On Thu, Feb 3, 2011 at 11:42 PM, David Dabbs wrote: > Hello. > > I’m considering changing over to the event MPM, but as of 2.1.17 it is still > marked with an “Experimental” warning in the MPM docs. > > Does anyone know why the experimental warning was dropped in the 2.3 (trunk) > documentation? >

Re: [users@httpd] reverse proxy error

2011-02-04 Thread Tom Evans
On Fri, Feb 4, 2011 at 11:23 PM, Jeff Poling wrote: > We are using apache as a reverse proxy in front of a number of > applications.  In particular, it is in front of Peoplesoft Campus Solutions > and other Peoplesoft applications.  SSL is used on the reverse proxy for > those applications.  There

Re: [users@httpd] SSL offload and load balancing with Apache2's mod_proxy and mod_balancer for Weblogic, Tomcat and Apache2

2011-02-07 Thread Tom Evans
On Sun, Feb 6, 2011 at 1:25 PM, Margus Pärt wrote: > Hello! > > > I had an idea, how to SSL offload and Load balance with Apache2 a bit > differently, and I implemented it also. > > Basically there 2 Apache instances running on the same machine with > different configurations, one for SSL offload,

Re: [users@httpd] mod_auth_cas for windows

2011-02-07 Thread Tom Evans
On Mon, Feb 7, 2011 at 10:40 AM, K J.Sreekumar wrote: > Hello, Don't keep sending the same message to the mailing list; if people know, they will respond, sending it multiple times within a short space of time is just rude. > Anyone has a compiled mod_auth_cas.so/dll for windows 32/64 ? It woul

Re: [users@httpd] SSL offload and load balancing with Apache2's mod_proxy and mod_balancer for Weblogic, Tomcat and Apache2

2011-02-07 Thread Tom Evans
On Mon, Feb 7, 2011 at 12:00 PM, Margus Pärt wrote: > Hello! > > Thank you for your response! Glad to hear that I am not the only, who has > thought that this solution would make life easier. > > Taking Apache-Event into use in our case is not an option, as > Apache2-mpm-itk is used (proccesses ru

Re: [users@httpd] incoming IP connect

2011-02-08 Thread Tom Evans
On Tue, Feb 8, 2011 at 12:02 PM, Alain Roger wrote: > Hi, > > i have a host (windows 7) on wihich i have web server with apache/PHP/MySQL. > for now this computer has IP 192.168.1.2 (for example). > on the other hand i have a linux (Fedora 14) computer with IP 192.168.1.50 > (for example) which sh

Re: [users@httpd] incoming IP connect

2011-02-08 Thread Tom Evans
On Tue, Feb 8, 2011 at 12:21 PM, Mike Brown wrote: > On Tue, Feb 08, 2011 at 12:11:26PM +0000, Tom Evans wrote: >> Apache doesn't control how packets get routed to your computer, it >> only controls what it does when they arrive. If you listen on *:80 or >> 192.168.1.2:

Re: [users@httpd] incoming IP connect

2011-02-08 Thread Tom Evans
On Tue, Feb 8, 2011 at 12:36 PM, Mike Brown wrote: > On Tue, Feb 08, 2011 at 12:29:00PM +0000, Tom Evans wrote: >> *:80 means "listen on on all addresses on all interfaces THIS BOX >> has", not "respond to every IP address in the world". Furthermore, how >&g

Re: [users@httpd] incoming IP connect

2011-02-08 Thread Tom Evans
On Tue, Feb 8, 2011 at 4:41 PM, Mike Brown wrote: > On Tue, Feb 08, 2011 at 02:00:24PM +0000, Tom Evans wrote: >> > Then the ethernet ports on both computers >> > would "see" IP traffic meant for each other. >> >> No. > > Ah, but that is indeed

Re: [users@httpd] How to apply worker MPM

2011-02-09 Thread Tom Evans
On Wed, Feb 9, 2011 at 8:25 AM, vishesh kumar wrote: > Dear all >    I am not newbie in Apache.  I am using Apache Server on Centos 5.5. I > need to remove prefork MPM  and apply worker MPM in place of that, Do i need > to recompile Apache ? > Thanks & Regards > vishesh kumar > Yes, or install a

[users@httpd] Re: SetHandler mod_ruby Apache 2.2.17 Windows

2011-02-09 Thread Tom Evans
On Wed, Feb 9, 2011 at 2:59 PM, Zeno Davatz wrote: > Dear Tom > > Thank you for your reply. > > Yes, it seems so, as my index.rbx is not being loaded AFAICT. > > According to my understanding the above setup should work, but it does > not work as the page is not served but I just get the following

[users@httpd] Re: SetHandler mod_ruby Apache 2.2.17 Windows

2011-02-09 Thread Tom Evans
On Wed, Feb 9, 2011 at 4:07 PM, Zeno Davatz wrote: > Dear Tom > > On Wed, Feb 9, 2011 at 4:12 PM, Tom Evans wrote: > >> (why are we talking on dev@ btw, this seems clearly a users@ >> discussion. If/when you reply, please drop dev@) > > It seems a dev issue becaus

Re: [users@httpd] Re: SetHandler mod_ruby Apache 2.2.17 Windows

2011-02-09 Thread Tom Evans
On Wed, Feb 9, 2011 at 4:54 PM, Zeno Davatz wrote: > Dear Tom > > Thanks for the reply. > I'm not a windows guy. I've just noticed that one of your directories starts 'C:\Users\..'. Doesn't windows do something crazy with 'user' folders? Can you move your docroot outside of this and see if it mak

Re: [users@httpd] Different vhosts.conf between Apache 2.2.17 for Windows and Apache for Linux 2.2.14-rc1 - issue 25435?

2011-02-11 Thread Tom Evans
On Fri, Feb 11, 2011 at 7:17 AM, Zeno Davatz wrote: > What has to happen that this becomes an ASF project? My goal is that > mod_ruby becomes a standard Apache library. > I am in no way affiliated to the ASF, but I would say that the chances are slim at the very least. Other notable language plug

Re: [users@httpd] Incredible amount of memory allocated by Apache?

2011-02-15 Thread Tom Evans
On Tue, Feb 15, 2011 at 12:38 PM, Tony Mobily wrote: > Hi, > > I am very confused by some output in my server. I am hoping my good > karma for running an online magazine about free software will help me > get some advice, instead of being laughed as... > Top is giving me this: > op - 04:28:17 up 4

Re: [users@httpd] Reverse Proxy - retry parameter in Apache/2.2.3.

2011-02-15 Thread Tom Evans
On Tue, Feb 15, 2011 at 12:33 PM, Szász Csaba wrote: > Hello All, > We have a problem with one reverse proxy. The problem is that there is only > one Tomcat backend server but sometimes the connection between the Apache & > Tomcat gets broken (we are still investogate the cause) To decrease the >

Re: [users@httpd] error in apache error logs malformed header from script. Bad header=Application MS-CGI cannot open: stccgi.exe

2011-02-15 Thread Tom Evans
On Tue, Feb 15, 2011 at 4:17 PM, Amol Puglia wrote: > > Hello Team, > > I am getting following error messages in apache error logs. > > kindly help how to get out of this error. > > malformed header from script. Bad header=Application MS-CGI cannot open: > stccgi.exe > Your CGI is returning data

Re: [users@httpd] database expires and kills website

2011-02-15 Thread Tom Evans
On Tue, Feb 15, 2011 at 4:38 PM, Norman Fournier wrote: > Krist > > Hello, > I thought it was all part and parcel of the Apache configuration. The > relevant part of the .db file looks like this: > $ORIGIN . > $TTL 14400    ; 4 hours > e4edmonton.com        IN SOA >    ns1.normanfournier.com. post

Re: [users@httpd] Incredible amount of memory allocated by Apache?

2011-02-16 Thread Tom Evans
On Wed, Feb 16, 2011 at 11:28 AM, Tony Mobily wrote: > Hi, > > The real question then is: how come another server running Symfony gives me: > >  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND > 20010 apache    16   0 69008  33m  25m S  1.8  0.9   0:18.35 httpd > 20161 apache  

Re: [users@httpd] ResinConfigServer and CauchoHost

2011-02-17 Thread Tom Evans
On Thu, Feb 17, 2011 at 4:54 PM, Vivek Thite-Patil wrote: > Hi , > > i have installed Apache2.2.8 on  Solaris 10 . In  httpd.conf i had set - >              ResinConfigServer 203.165.30.40 28064 > > but i was not able to access the UI deployed in resin. Response was 503. > > but when i replaced Re

Re: [users@httpd] Password protect all but one directory

2011-02-23 Thread Tom Evans
On Wed, Feb 23, 2011 at 5:40 PM, Jon Drukman wrote: > I want to password protect my entire site, except for one URL (which is needed > for a load balancer health check).  I've done this: > > >  AuthType Digest >  AuthName "password protected" >  AuthUserFile /srv/passwd.digest >  Require valid-us

Re: [users@httpd] Newbie

2011-02-24 Thread Tom Evans
On Thu, Feb 24, 2011 at 5:01 PM, Matt Guise wrote: > Please forgive if I am sending this to the wrong place. > > I am a newbie and I am trying to reinstall my apache server. > > Please let me know if I sent this to the wrong place and I will no longer > bother you.  Please direct me to the right p

Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 9:30 AM, David Hubbard wrote: > That unfortunately is all there is with regard to this error: > > sh: /which: No such file or directory > > no timestamp, pid, etc. > > David > Then it isn't being emitted by apache, but by a CGI script. Examine your cgi scripts. Cheers Tom

Re: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:39 PM, Ian Stradling wrote: > No, unfortunately it doesn’t.  When a visitor first goes to the website, it > stays in HTTP.  As soon as a visitor clicks on one of the HTTPS links, the > rewrite rules will force HTTPS for the rest of the time that the visitor is > on the

Re: [users@httpd] Apache module suitable for SSL passthrough

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:12 PM, yasser arafat wrote: > Hello all, > > My JBoss app server has mutual SSL authentication setup (We do some > processing based on the client certificate). > > I need to have a web server in front of JBoss. Which is the best apache > module that can do an SSL passthrou

Re: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:45 PM, Ian Stradling wrote: > I apologize, I should have specified that I did use the set of rules that > Eugene had adjusted. > > The result was the same as the rules I had been using previously. > > I appreciate the assistance. > I wasn't trying to be snarky, the diffe

Re: [users@httpd] suspicious proxy(?) URLs in logs

2011-03-14 Thread Tom Evans
On Mon, Mar 14, 2011 at 9:49 AM, Rob De Langhe wrote: > haven't got a single reply (yet) There have been multiple replies to the mailing list, explaining what happened and why. Cheers Tom - The official User-To-User support fo

Re: [users@httpd] Load balancing proxy pass and reverse proxy pass

2011-03-14 Thread Tom Evans
On Mon, Mar 14, 2011 at 2:59 PM, aparna aryan wrote: > Hello, > > Our application is running with a apache webserver and 2 instances of > weblogic server. > > localhost1- weblogic > localhost2 - weblogic > > Now we are trying to replace localhost2 with tomcat and do clustering. > > The following c

Re: [users@httpd] Apache22 Logs rotation configuration

2011-03-16 Thread Tom Evans
On Wed, Mar 16, 2011 at 9:09 PM, motty.cruz wrote: > Hello, > > I want to configure Apache22 under FreeBSD 8.1 to write a different log > starting at mid-night and rename the old log-date > > Can you give any ideas on how to do so? The safes possible method. I had > google but a little hesitant, I

Re: [users@httpd] single SSL proxy to multiple non-SSL name-based hosts

2011-03-18 Thread Tom Evans
On Fri, Mar 18, 2011 at 2:40 PM, Alex Duckers wrote: > Hi All - I imagine this is fairly common, but I've had trouble making it work. > I'm on RHEL 5.4, with Apache/2.2.3. > > I've got two sites to deal with, sitea.company.com and siteb.company.com. > I've set up DNS for each of these to resolve t

Re: [users@httpd] Problem with Files and Auth?

2011-05-13 Thread Tom Evans
On Thu, May 12, 2011 at 6:45 PM, Knute Johnson wrote: > I'm trying to use the Files directive to force auth for the index.html file > and I'm getting the following error message if I don't specify the file name > in the request.  If I do it works fine. > > Authorization Required > > This server co

Re: [users@httpd] Problem with Files and Auth?

2011-05-16 Thread Tom Evans
On Fri, May 13, 2011 at 3:57 PM, Knute Johnson wrote: > Log when requesting http:/localhost/ > > 127.0.0.1 - - [13/May/2011:07:53:54 -0700] "GET / HTTP/1.1" 401 618 "-" > "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110422 > Ubuntu/10.10 (maverick) Firefox/3.6.17" > 127.0.0.1 - -

Re: [users@httpd] Problem with Files and Auth?

2011-05-16 Thread Tom Evans
On Fri, May 13, 2011 at 3:57 PM, Knute Johnson wrote: > >        ServerAdmin webmaster@localhost > >        DocumentRoot /var/www >         >                Options FollowSymLinks >                AllowOverride None >         >         >                Options Indexes FollowSymLinks MultiViews >

Re: [users@httpd] mod_proxy and .htaccess

2011-05-17 Thread Tom Evans
On Tue, May 17, 2011 at 12:16 PM, --[ UxBoD ]-- wrote: > Hi, > I have been experimenting with Apache running on port 80 and then proxying > to a second instance on 8080; the second instance being chrooted. All is > working great except .htaccess due to it being processed by the second httpd > inst

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Tom Evans
On Thu, Jun 2, 2011 at 2:40 PM, Geoff Millikan wrote: > In order to have a "catch all" vhost that redirects all hostnames to another > vhost we must capture everything with a ServerAlias. > There's no other way. Incorrect. The first vhost is ALWAYS used when no vhost with a matching host name is

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Tom Evans
On Thu, Jun 2, 2011 at 5:13 PM, Geoff Millikan wrote: >> Incorrect. The first vhost is ALWAYS used when no vhost with a >> matching host name is found - it is the catch all vhost, by >> definition. > > Yes, I totally agree.  But, the first vhost cannot be used to *redirect > requests to another v

Re: [users@httpd] IfModule mod_expires.so

2011-06-06 Thread Tom Evans
On Mon, Jun 6, 2011 at 1:52 AM, DW wrote: > > > Why does this code never works properly on my server?  i.e. it freezes > my server and no pages are rendered. > > is looking for a module file name or module name. In this case, it would be either 'mod_expires.c' or 'expires_module'. Cheers Tom

Re: [users@httpd] limit lower size for mod_deflate

2011-06-08 Thread Tom Evans
On Wed, Jun 8, 2011 at 11:58 AM, Steve Hanselman wrote: > Thanks for that, I thought mod_gzip was discontinued since 1.3, I’d > obviously misread that, I’ll give it a try. > You didn't misread, mod_gzip is for 1.3. Furthermore, mod_gzip buffers the response before compressing (iirc), and that dir

Re: [users@httpd] problems with reverse proxy!

2011-06-09 Thread Tom Evans
On Thu, Jun 9, 2011 at 3:47 PM, Steve Brereton wrote: > Hi there. > > We're having problems with a reverse proxy that runs from a windows 2003 > /iis server to a w2k8/iis (dmz to internal server). > Its running on Apache 2.2.3 using the following module setup Try adding this: SetEnv proxy-nokeep

Re: [users@httpd] Wildcard SSL Certificate Traffic Segregation

2011-06-17 Thread Tom Evans
On Fri, Jun 17, 2011 at 2:51 PM, Gulati, Sushant wrote: > First of all I really appreciate all the help I’ve received from this > mailing list. > > > > We have a setup with a Wildcard SSL certificate for *.mydomain.com. There is > a Tomcat server running in the background integrated with Apache th

Re: [users@httpd] SSLVerifyClient within

2011-06-29 Thread Tom Evans
On Wed, Jun 29, 2011 at 9:45 AM, Jose Jerez wrote: > Hello folks, > > I'm having trouble with the apache configuration in one of my virtual hosts > and I'm starting to wonder if what I'm trying is a supported configuration. > > I'm setting up an SSL vhost with a directive, so that when a > reques

Re: [users@httpd] Filter IP on logs

2011-06-29 Thread Tom Evans
On Wed, Jun 29, 2011 at 10:09 AM, Josu Lazkano wrote: > Hello list, this is my first mail on the list. > > > > I am configuring Apache server with some vhost, I configured the logs on > each vhost this way: > > > > ErrorLog /var/www/domain1/log/error.log > > LogLevel warn > > CustomLog /var/www/do

Re: [users@httpd] Modifying headers according to response code

2011-07-01 Thread Tom Evans
On Thu, Jun 30, 2011 at 5:58 PM, Michael Stevens wrote: >> What is generating the different responses? > > We use the Spring Security authentication framework on Tomcat using an APR > connector behind Apache. > > Protected resources are handled like this for an unauthenticated user: > > GET /some

Re: [users@httpd] mod_authnz_ldap Non Authorized users

2011-07-04 Thread Tom Evans
On Sat, Jul 2, 2011 at 8:45 PM, Tim wrote: > > Yes. Its the Browser username and prompt that appears. > You misunderstood Eric. What you are seeing is the browser prompting for authentication 3 times. Most (all?) browsers will do this when they receive a 401 response, and only on the third failed

Re: [users@httpd] What version shall I use for learning PHP?

2011-07-07 Thread Tom Evans
On Thu, Jul 7, 2011 at 4:04 PM, Varuna Seneviratna wrote: > Hello >       I am using Ubuntu 11.04 as my OS.The available versions of > Apache2 for Ubuntu are listed below > apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model > apache2-mpm-worker - Apache HTTP Server - high sp

Re: [users@httpd] Resource interpreted as .... but transferred with MIME type text/html

2011-07-14 Thread Tom Evans
On Thu, Jul 14, 2011 at 10:45 AM, Dirk Verleysen wrote: > I'm new to Apache and I'm having a problem deploying on a Windows Server. > > I'm getting the above error message (in Chrome) but the look of the site is > without images or stylesheet. Also the Javascripts aren't working. > > The Apache se

Re: [users@httpd] MysSQL Connection Fails on Apache2 Start

2011-07-27 Thread Tom Evans
On Wed, Jul 27, 2011 at 4:05 PM, Tom Browder wrote: > I am trying to use a MySQL database for Digest password management on > my remote server.  I have my httpd.conf file settings here: > > # mod_dbd configuration > DBDriver mysql > # MySQL params: > #   host, port, user, pass, dbname, sock, flags

Re: [users@httpd] ?????? ??????? ?? files in /tmp

2011-08-01 Thread Tom Evans
On Mon, Aug 1, 2011 at 12:27 PM, vishesh kumar wrote: > Hi Members > > I am getting ?? ??? .doc and ?? ??? .xls files in > /tmp parition. The owner of all these files are www . I am running apache on > centos . Does it indicate any security breach ? > > Vishesh Kumar Not n

Re: [users@httpd] ?????? ??????? ?? files in /tmp

2011-08-02 Thread Tom Evans
On Mon, Aug 1, 2011 at 3:13 PM, Nick Kew wrote: > On Mon, 1 Aug 2011 12:39:44 +0100 > Tom Evans wrote: > >> On Mon, Aug 1, 2011 at 12:27 PM, vishesh kumar >> wrote: >> > Hi Members >> > >> > I am getting ?? ??? .doc and ?? ???

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Tom Evans
On Thu, Aug 4, 2011 at 2:14 AM, Jeff Poling wrote: > Thanks.  For whatever reason, an apachectl stop and an apachectl start > corrected the issue- the balancer-manager now reflects the config in the > config file > mod_proxy_balancer is dangerous to use when doing graceful restarts. The state o

Re: [users@httpd] Load Balancing question

2011-08-04 Thread Tom Evans
On Thu, Aug 4, 2011 at 3:43 PM, Jim Jagielski wrote: > You will note that the balancer in 2.3/2.4 resolves this issue. > > BTW, the idea that mod_proxy_balancer is "broken" only means that > it does not do what you expect, which is restore all local mods > made via balancer_manager, but this was n

Re: [users@httpd] using mod auth_mysql with apache for authentication

2011-08-09 Thread Tom Evans
On Tue, Aug 9, 2011 at 4:42 AM, Rajeev Prasad wrote: > Hello, > > currently i have  mod auth_mysql configured and running as plaintext > password: > > Apache/2.2.16 (Ubuntu) > MySQL client version: 5.1.49 > > 1. how can i generate crypt_des passwords to store in database? > 2. how can i get a user

Re: [users@httpd] using mod auth_mysql with apache for authentication

2011-08-09 Thread Tom Evans
On Tue, Aug 9, 2011 at 12:13 PM, Tom Browder wrote: > On Tue, Aug 9, 2011 at 05:07, Tom Evans wrote: >> On Tue, Aug 9, 2011 at 4:42 AM, Rajeev Prasad wrote: > ... >>> currently i have  mod auth_mysql configured and running as plaintext >>> password: > ... &g

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 2:27 PM, Richard Taubo wrote: > Hi! > > I originally set my virtual host up like this in my httpd.conf file: > > > > Question 1) > Are there any problems running a): >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > Rather than b): >        RewriteRule ^(.*)

Re: [users@httpd] KeepAlive setting under heavy load

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 3:09 PM, Pratte, Gil wrote: > I have read conflicting reports regarding the KeepAlive setting. Under load > the website has hundreds to thousands of users logged in at any given time. > I am in the process of tuning it for performance under load. > > My question is: Should

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 4:56 PM, Richard Taubo wrote: > Thanks! > > So to be 110% clear, since this is kind of important to get right :-) > > 1) So either this – leave off the / from the end of the rewritten URL: >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > > 2) Or this – not c

Re: [users@httpd] "Reading Request" large number of times slowing Apache 2.0 server

2011-08-19 Thread Tom Evans
On Thu, Aug 18, 2011 at 3:15 PM, Rose, John B wrote: > We are getting a really large number of “Reading Request” showing up in our > Apache server status output. The server slowed to a crawl . We related it to > access to a site on our network and disabled access but we are not sure why > it would

Re: [users@httpd] Password access except localhost

2011-08-30 Thread Tom Evans
On Tue, Aug 30, 2011 at 4:05 PM, Josu Lazkano wrote: > Hello, I have a Apache2 server on a Debian Squeeze, I have password > protected website, but I need to access to the web without user/pass > just from localhost. > > This is my site configuration: > > VirtualHost *:80> >        ServerAdmin mym

Re: [users@httpd] Howto run Apache web server on Linux read-only root file system

2011-08-31 Thread Tom Evans
On Wed, Aug 31, 2011 at 2:56 PM, Monika Kistler wrote: > Hi all, > > I'm running the Apache web server 2.2.17 on an openSUSE 11.4 system. > > Out of security reasons I need to have the root file system mounted read-only. > /var is mounted read/write on a separate partition, thus the log files do n

Re: [users@httpd] Is it possible to have a central balancer-manager for multilpe vhosts?

2011-09-02 Thread Tom Evans
On Fri, Sep 2, 2011 at 10:56 AM, plot.lost wrote: > Hi, > > I have several virtual hosts defined on a single apache instance, all of > which use a a reverse proxy (proxypass) to talk to different back-end > servers. Each proxypass uses a balancer: reference, with the proxy balancer > entries havin

Re: [users@httpd] UserDir + Alias = suexec not being invoked

2011-09-02 Thread Tom Evans
On Fri, Sep 2, 2011 at 2:56 PM, Zachary Palmer wrote: > As an update, I have yet to find a solution to this nagging problem.  Does > anyone have any suggestions or am I stuck trying to write my own patch for > UserDir? > > Thanks, > > Zach > I don't think this is a problem with mod_userdir. mod_u

Re: [users@httpd] Reverse-Proxy und Redirect

2011-09-14 Thread Tom Evans
On Tue, Sep 13, 2011 at 2:25 PM, wrote: > Hello to all, > > I'm trying to set up a APACHE Reverse-Proxy > > I've created a vhost with following directives: > > > … > ProxyRequests Off > > > ProxyPass http://intern.de/app1 >            ProxyPassReverse http://extern.de ^^^ this should be ProxyPa

Re: [users@httpd] Reverse-Proxy und Redirect

2011-09-14 Thread Tom Evans
On Wed, Sep 14, 2011 at 12:00 PM, wrote: > Hello, > > yes you are right, I've already corrected this: > > ... > > ProxyPreserveHost On > > >        ProxyPass https://intern.de/app1 >        ProxyPassReverse https://intern.de/app1 >   > > > But it doesn't work. > > If I call http://extern.de/onli

Re: [users@httpd] Help with setting up proxy

2011-09-14 Thread Tom Evans
On Wed, Sep 14, 2011 at 2:38 PM, Mark Wiltshire wrote: > Hi everyone, > I need a little assistance setting up a Reverse Proxy on Apache 2.0.59 > Situation > -- > I have a server 172.16.0.141 which hosts our website. > This website sources Adverts from another server 172.16.2.150 > I wa

Re: [users@httpd] Proxy all but one location

2011-09-19 Thread Tom Evans
On Mon, Sep 19, 2011 at 3:44 PM, congo thomas wrote: > Hello experts, > > I have this application (geowebcache its called), running in tomcat. I use > Apache2 to proxy all http requests into the geowebcache. However I have > come across this boundry where my knowledge of apache configuration > rea

Re: [users@httpd] mod_rewrite?

2011-09-22 Thread Tom Evans
On Thu, Sep 22, 2011 at 9:34 AM, topinambour wrote: > Someone has an idea abot what to do > thanks in advance > > Turn on the rewrite log, make some requests which you think should be rewritten, look at the rewrite log and work out why it wasn't. Cheers Tom ---

Re: [users@httpd] mod_rewrite?

2011-09-23 Thread Tom Evans
On Thu, Sep 22, 2011 at 9:23 PM, topinambour wrote: > good evening > it seems that i do not have rewrite.log in /usr/local/var . > An missing configuration after compiling httpd2.2.20? perhaps > And in /var nothing too. > Which is why I said 'turn on the rewrite log' instead of 'go look at t

Re: [users@httpd] Antw.: [users@httpd] Re: mod_proxy SSL forward proxy

2011-09-23 Thread Tom Evans
On Fri, Sep 23, 2011 at 6:40 AM, wrote: > On 09/22/2011 02:12, Eric Covener wrote: >> On Wed, Sep 21, 2011 at 6:32 PM, mortee  wrote: >>> >>> Any ideas about this topic? >> >> Can't do it. > > Why is it sooo really impossible? It can recognise a plain HTTP request > attempt on the SSL port, and i

Re: [users@httpd] Apache freezes after running for 2 days.

2011-09-27 Thread Tom Evans
On Mon, Sep 26, 2011 at 10:35 PM, Abhi Auradkar wrote: > Hi All, > > I have been running the apache server to load test a application. > The apache 2.2.20 is running on CentOS 5.6 > -bash-3.2$ uname -a > Linux hdm102 2.6.18-238.19.1.el5.centos.plus #1 SMP Mon Jul 18 10:05:09 EDT > 2011 x86_64 x86_

Re: [users@httpd] mod_cache is caching content with Cache-Control: private response headers

2011-10-05 Thread Tom Evans
On Wed, Oct 5, 2011 at 2:16 PM, Brendon Anderson wrote: > I am setting the Cache-Control: private header in a response on a > certain url, but mod_cache is still caching this url. > > Response Headers as indicated by Firefox (Chrome reports similar results): > > Response Headers > Date    Wed, 05

Re: [users@httpd] Cat request + query for rewrite?

2011-10-06 Thread Tom Evans
On Thu, Oct 6, 2011 at 5:21 PM, Nick Tkach wrote: > Is there some way to make a RewriteRule concat together two > back-references?  What I want to do is take the REQUEST_URI and the > QUERY_STRING of a request and use the two together as a key into a > map. > > So if I have a request like this: >

<    1   2   3   4   5   6   7   >