RE: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Boyle Owen
From: Hank [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 1:43 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite Hello All, I've t

[EMAIL PROTECTED] Apache Not Releasing Memory 2.2.0 using Moodle

2008-04-21 Thread Terence Le Grange
Dear All, I have installed Moodle version 1.8 and am facing problems whereby the server resources are bring consumed within seconds. Each page request through http is consuming between 20 and 35 MB RAM. The server works well for loads of approximately 20 users but at 25 or 30 it just crashes and I

[EMAIL PROTECTED] How to turn off xml parser on linux apache

2008-04-21 Thread Mika Tapio Tuhkanen
Hi I can't open/read xml-file that is on linux apache server. Xml is valid (checked) and it can be opened with windows apache. I found that the solution could be to turn off xml parser but I can't seem to find where or what config file modify. I need xml file to create flash charts on web pages

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 1:42 AM, Hank <[EMAIL PROTECTED]> wrote: > I have found several ways to non-silently redirect http://domainA.com to > http://basedomain/siteA, but that's not good enough. It needs to be a > silent re-direct. As someone else allready pointed out: There is no such thing as

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 8:57 AM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > hi again, > > I am using apache as a reverse proxy to a tomcat server running ssl. In > httpd.conf: > > SSLProxyEngine On > SSLProxyCACertificatePath /usr/local/apache2/conf/ssl > RewriteRule ^/(abc.*) https://backend

[EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Mohammed Salih
Hi All, How can I add a header, if it is not set by the application. I want to add Cache-Control header to all http responses, if it is not set by the back-end application like PHP or application server like tomcat. I tried a combination of SetEnvIf and Header, but SetEnvIf is only fused for req

RE: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Jeremy Jones
Hi, Something like this in httpd.conf works for me: Header append "Cache-Control" "public" Header append "Cache-Control" "private" so without the LocationMatch it could handle everything I think. Jeremy -Or

Re: [EMAIL PROTECTED] Apache Not Releasing Memory 2.2.0 using Moodle

2008-04-21 Thread Arnab Ganguly
Hi All, Can you tell me what is the output you get when you run the free -m command.Also when the process is idle it won't release the memory back.I guess it will be put in the Swap space of OS.top -p pid won't be coming down. Also I see from the configuration file both perfork and worker is being

AW: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread christian.folini
Hey Salih, You should use mod_headers. http://httpd.apache.org/docs/2.2/mod/mod_headers.html Cheers, Christian -Ursprüngliche Nachricht- Von: Mohammed Salih [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. April 2008 14:09 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Adding a

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Melanie Pfefer
Hi Krist, Tomcat sends session ids in cookies to the user. The developers haven’t set any domain values. They are just using tomcat as is. Everything works as expected when using the webapp directly on the tomcat server. Before editing httpd.conf, on the tomcat side: how to set the correct c

[EMAIL PROTECTED] mod_rewrite: PATH_INFO gets injected with each Rule

2008-04-21 Thread Aleksander Budzynowski
Hi, The behaviour I'm seeing resemebles the bug described here: http://archive.apache.org/gnats/7879 Reportedly it was fixed in 2.0.30.However, testing under both 2.2.3 and 2.0.61 I get the same sort of problem. Essentially, PATH_INFO is appended to the end of the URI before each RewriteRule is p

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 2:21 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Before editing httpd.conf, on the tomcat side: how to set the correct > cookiedomain in the webapp? How to set this in the webapp I can't know, as I'm not a webapp specialist. But I have to deal with similar problems y

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Mohammed Salih
Thank you all for your reply. Yes I am using Header to set the Cache-Control header. and it is doing it job. but some times the application might have already set this header. So I want to avoid setting it again using the Header module. Thanks again in advance. On Mon, Apr 21, 2008 at 4:18 PM, J

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen <[EMAIL PROTECTED]> wrote: >-- > understand you correctly, you have registered domainA and domainB and the > domain names point to your server's IP in DNS. You want to map domainA to > ../siteA and domainB to ../siteB. You

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Melanie Pfefer
hi Krist, In LiveHTTPHeaders: Set-Cookie: JSESSIONID=2637CA3EADF9422597DF276AE1846E55; Path=/abc; Secure So I guess this means that the session is "secure". and from what you have said, the brwoser cannot send this cookie over http. If the above reasoning is true, what are the alternatives? t

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 10:04 AM, Hank <[EMAIL PROTECTED]> wrote: > n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen <[EMAIL PROTECTED]> wrote: > > > understand you correctly, you have registered domainA and domainB and the > domain names point to your server's IP in DNS. You want to map domainA to > .

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 9:38 AM, Mohammed Salih <[EMAIL PROTECTED]> wrote: > Thank you all for your reply. > > Yes I am using Header to set the Cache-Control header. and it is doing > it job. but some times the application might have already set this > header. So I want to avoid setting it again

Re: [EMAIL PROTECTED] How to turn off xml parser on linux apache

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 7:12 AM, Mika Tapio Tuhkanen <[EMAIL PROTECTED]> wrote: > I can't open/read xml-file that is on linux apache server. Xml is valid > (checked) and it can be opened with windows apache. I found that the > solution could be to turn off xml parser but I can't seem to find where

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 12:12 AM, Parag Dhanuka <[EMAIL PROTECTED]> wrote: > Please help someone... The problem is happening every 3 hrs on a live server > :( I have writen some script to handle this but cannot really sleep till > this is fix > > Besides I also tried connecting locally to t

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 10:34 AM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008 at 9:38 AM, Mohammed Salih <[EMAIL PROTECTED]> wrote: > > Thank you all for your reply. > > > > Yes I am using Header to set the Cache-Control header. and it is doing > > it job. but some times th

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
If the content is living on the same server as domainA.com (which it apparently is in this case), then you don't want to proxy. There is no need to create an additional HTTP request. You just instruct apache to grab the file directly. So you want something like > > RewriteCond %{HTTP_HOST} ^dom

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Parag Dhanuka
THis however happens after I get tonnes of [client 66.249.85.88] proxy: error reading status line from remote server What can this error mean as tomcat logs are not showing any errors whatsoever :( On Mon, Apr 21, 2008 at 8:08 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka <[EMAIL PROTECTED]> wrote: > THis however happens after I get tonnes of > > [client 66.249.85.88] proxy: error reading status line from remote server > > What can this error mean as tomcat logs are not showing any errors > whatsoever :( That's probab

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Parag Dhanuka
Ok will start stress test on tomcat its just tht I have low CPU and mem usage showing <10% but still thanks for the reply have been in a mess :( On Mon, Apr 21, 2008 at 8:58 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: > On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka <[EMAIL PROTECTED

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 4:16 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > hi Krist, > > > In LiveHTTPHeaders: > > Set-Cookie: JSESSIONID=2637CA3EADF9422597DF276AE1846E55; Path=/abc; Secure > > So I guess this means that the session is "secure". and from what you have > said, the brwoser cann

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Melanie Pfefer
or should I install ssl on apache? this way, the secure cookie will go to ssl channel also. Will it solve the problem? thx --- On Mon, 21/4/08, Krist van Besien <[EMAIL PROTECTED]> wrote: > From: Krist van Besien <[EMAIL PROTECTED]> > Subject: Re: [EMAIL PROTECTED] apache does not preserve user

[EMAIL PROTECTED] Apache 2.2.8 mod_ssl Vulnerability Notification Assistance

2008-04-21 Thread Mark A Christofferson
Hello, I have asked this question previously on both the FreeBSD Mailing List and the mod_ssl mailing list, but didn't receive a response. I am currently running the Apache 2.2.8 port on the FreeBSD 6.3 platform with mod_ssl enabled. I received the following vulnerability scan results from

Re: [EMAIL PROTECTED] Apache 2.2.8 mod_ssl Vulnerability Notification Assistance

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 1:02 PM, Mark A Christofferson <[EMAIL PROTECTED]> wrote: > I am currently running the Apache 2.2.8 port on the FreeBSD 6.3 platform > with mod_ssl enabled. I received the following vulnerability scan results > from my organization: > > > > Vulnerability: mod_ssl Off-By-

Re: [EMAIL PROTECTED] apache does not preserve user session of tomcat

2008-04-21 Thread Krist van Besien
On Mon, Apr 21, 2008 at 6:26 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > or should I install ssl on apache? this way, the secure cookie will go to ssl > channel also. Will it solve the problem? Ofcourse you can configure your apache server to use ssl. This will probably solve your problem. Bu

[EMAIL PROTECTED] Log question

2008-04-21 Thread j k
I'm trying to track down the source of some mysql requests coming from apache. Output from our server is blocked by the firewall and I can see from the firewall logs that every couple of hours Apache is trying to connect to port 3306 (mysql) on a remote server. I have LogLevel set at warn and don'

[EMAIL PROTECTED] Redirection issue in a SSL virtual hose

2008-04-21 Thread John Bourke
Hi, I have some applications which are running under Tomcat, in a directory called "www". The Applications are called "Admin" and "Customer". I use Apache to redirect and proxy into Tomcat. I want to access my application using several URLS http://www.company

[EMAIL PROTECTED] Relative images and css lost after Rewrite

2008-04-21 Thread Weldon Sams
Hi, I have a question related to losing my styling and images after performing a Rewrite if anyone has some spare time. Here below is my scenario. --- I have a script located at, http://www.example.com/~user/scripts/list.php This script accepts a query string of the format, sort=foo&gn=ABC&dn

[EMAIL PROTECTED] mod_python on httpd 1.3.33

2008-04-21 Thread kalin m
hi all... i'm having problems when trying to load mod_pyton on 1.3.33 # apachectl start Syntax error on line 219 of /httpd/conf/httpd.conf: Cannot load /httpd/libexec/mod_python.so into server: /httpd/libexec/mod_python.so: Undefined symbol "pthread_self" any ideas? thanks... --

RE: [EMAIL PROTECTED] Apache Not Releasing Memory 2.2.0 using Moodle

2008-04-21 Thread Terence Le Grange
Hi, Here is the output from "free -m" total used free sharedbuffers cached Mem: 492485 6 0 97156 -/+ buffers/cache:232259 Swap: 1498 19 1479 What happens is that the pr

RE: [EMAIL PROTECTED] Relative images and css lost after Rewrite

2008-04-21 Thread Boyle Owen
> -Original Message- > From: Weldon Sams [mailto:[EMAIL PROTECTED] > Sent: Monday, April 21, 2008 10:27 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Relative images and css lost after Rewrite > > Hi, I have a question related to losing my styling and images after > perform