[users@httpd] how to configure ProxyPass for tomcat for app which generates url at root /

2011-02-23 Thread James Godrej
I basically have 2 applications http://sakai.openitup.in http://olat.openitup.in we wanted both of these to be accessible as http://research.openitup.in/sakai http://research.openitup.in/olat and a website http://reserach.openitup.in which is separate from both of these but what I found was if I

Re: [users@httpd] how to set auto redirection in apache with tomcat

2011-02-23 Thread James Godrej
Hi Igor I had tried that ProxyPass / ajp://192.168.1.20:8009/olat but that had not worked. Let me know if I understood you correctly. From: Igor Cicimov To: users@httpd.apache.org Sent: Thu, 24 February, 2011 12:37:29 PM Subject: Re: [users@httpd] how to set au

Re: [users@httpd] how to set auto redirection in apache with tomcat

2011-02-23 Thread Igor Cicimov
If you read carefuly my email you will notice that its different from what you tried and thats why it didnt work. Sent from my phone On Feb 24, 2011 4:55 PM, "James Godrej" wrote: Hi Igor, thanks for message I had tried.I just came across a trick which did the job. I had hat I did to get it wo

[users@httpd] using Apache as a front end to AOLServer ProxyPass issues

2011-02-23 Thread James Godrej
Here is a site you can check http://openacs.openitup.in which is working perfectly.The internal machine on LAN hosts an application known as OpenACS (which runs on AOLServer) http://openacs.org/xowiki/ubuntu now the machine which faces internet is having Apache. I have configured Apache reverse pr

Re: [users@httpd] problem in using AOLServer and Apache on same machine at different ports

2011-02-23 Thread James Godrej
- Original Message From: James Godrej To: users@httpd.apache.org Sent: Wed, 23 February, 2011 2:27:44 PM Subject: [users@httpd] problem in using AOLServer and Apache on same machine at different ports I am using a Ubuntu virtual machine.Where I installed OpenACS which depends upon A

Re: [users@httpd] how to set auto redirection in apache with tomcat

2011-02-23 Thread James Godrej
Hi Igor, thanks for message I had tried.I just came across a trick which did the job. I had hat I did to get it working was deleted /var/lib/tomcat6/webapps/ROOT and renamed my application /var/lib/tomcat6/webapps/olat to /var/lib/tomcat6/webapps/ROOT and removed the olat.war from /var/

[users@httpd] Re: Managing Apache configuration with Augeas

2011-02-23 Thread DW
Windows binaries are not included so not good for windows users. Can't test it right now until at the weekend when I have the compiler handy! Francis Giraldeau wrote: Hi, Augeas is a very precise configuration management tool, now able to manage Apache httpd configuration files. With i

[users@httpd] Managing Apache configuration with Augeas

2011-02-23 Thread Francis Giraldeau
Hi, Augeas is a very precise configuration management tool, now able to manage Apache httpd configuration files. With it, you can load the httpd configuration within a tree structure, query it with XPath expressions and modifications in the tree are reflected by minimal changes to the configurati

[users@httpd] a few "esi:include" in a .php file?

2011-02-23 Thread Dennis
Hi, guys, The "ESI Language Specification 1.0" (http://www.w3.org/TR/esi-lang) says "ESI Processor implementations may limit the number of includes used in a single ESI resource."I am using apache 2.2.Can I use a few "" in one .php file? Thanks.Dennis

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Jeff Trawick
On Wed, Feb 23, 2011 at 6:53 PM, Ursa Polaris wrote: >   This is the first I've heard of mod_cgid, so no we're not using it. > Apparently it IS in our mods-available folder and ready to use though. > I'm using Prefork mode which is the default for Ubuntu's stable Apache > package. Is that a thread

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Ursa Polaris
This is the first I've heard of mod_cgid, so no we're not using it. Apparently it IS in our mods-available folder and ready to use though. I'm using Prefork mode which is the default for Ubuntu's stable Apache package. Is that a threaded MPM that should make use of mod_cgid? Also, do you thin

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Jeff Trawick
On Wed, Feb 23, 2011 at 5:23 PM, Ursa Polaris wrote: >   Hopefully that helps give more details and insight as well. I'm > totally at a loss with this issue, but it's really bothering myself > and my users something fierce. =/ I'm hoping not to be forced to move > to nginx, but the lack of suppor

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Ursa Polaris
We have tested using a remote browser with a user sitting at a browser to repro the issue (hours of hitting the enter key, holy cow), and we have also used scripts that make LWP POST requests on the same netblock, as well as running the LWP POST from localhost - all versions saw about a 1% occur

Re: [users@httpd] how to set auto redirection in apache with tomcat

2011-02-23 Thread Igor Cicimov
Does this work? ProxyPass / ajp://192.168.1.19:8009/olat ProxyPassReverse / ajp://192.168.1.19:8009/olat Also not sure if "ProxyPreserveHost On" has eny meaning in case of reverse proxy but not sure and don't have time now to double check :) Maybe someone else can confirm ... On

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Jeff Trawick
On Wed, Feb 23, 2011 at 4:01 PM, Ursa Polaris wrote: >   I guess I forgot to mention that we have verified using WireShark > that Chrome, Firefox and IE are all correctly sending the POST data > over the network in these cases. It's not a browser issue. that's great info (note that you have to be

[users@httpd] how to set auto redirection in apache with tomcat

2011-02-23 Thread James Godrej
I have a site http://social.openitup.in right now what you are seeing is a default Tomcat6 page. I am using mod_ajp as a front end and Apache vhost configuration for same is ServerName social.openitup.in ServerAdmin webmaster@localhost ProxyRequests off

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Ursa Polaris
I guess I forgot to mention that we have verified using WireShark that Chrome, Firefox and IE are all correctly sending the POST data over the network in these cases. It's not a browser issue. On Wed, Feb 23, 2011 at 11:30 AM, Jeff Trawick wrote: > On Wed, Feb 23, 2011 at 1:51 PM, Eric Covener

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Jeff Trawick
On Wed, Feb 23, 2011 at 1:51 PM, Eric Covener wrote: > On Wed, Feb 23, 2011 at 1:18 PM, Ursa Polaris wrote: >>   So I have had my Apache 2.2 server randomly dropping POST data (all >> or nothing, it doesn't just drop bits or pieces) > > Doesn't IE sometimes forget to send the POST data when it re

Re: [users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Eric Covener
On Wed, Feb 23, 2011 at 1:18 PM, Ursa Polaris wrote: >   So I have had my Apache 2.2 server randomly dropping POST data (all > or nothing, it doesn't just drop bits or pieces) Doesn't IE sometimes forget to send the POST data when it re-connects after an error? --

[users@httpd] Apache Randomly Dropping POST Data

2011-02-23 Thread Ursa Polaris
So I have had my Apache 2.2 server randomly dropping POST data (all or nothing, it doesn't just drop bits or pieces) to Perl-CGI scripts for well over a year now on production servers. So far we've put up with it because it only seems to happen about 1% of the time, however as our sites are grow

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

[users@httpd] Password protect all but one directory

2011-02-23 Thread Jon Drukman
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-user Satisfy any Allow from all It doesn't work. Requ

Re: [users@httpd] problem in using AOLServer and Apache on same machine at different ports

2011-02-23 Thread Francois Gingras
On Wed, Feb 23, 2011 at 3:57 AM, James Godrej wrote: > I am using a Ubuntu virtual machine.Where I installed OpenACS which > depends upon AOLServer. > To do so I had first shutdown Apache on this machine. > Then following instructions given here > > http://openacs.org/xowiki/ubuntu > > Step 1) >  

[users@httpd] problem in using AOLServer and Apache on same machine at different ports

2011-02-23 Thread James Godrej
I am using a Ubuntu virtual machine.Where I installed OpenACS which depends upon AOLServer. To do so I had first shutdown Apache on this machine. Then following instructions given here http://openacs.org/xowiki/ubuntu Step 1) aptitude install postgresql Step 2) aptitude install openacs I had