[EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Vinay Purohit
HI,
 
Can I have LoadModule directive inside the virtual server block in
httpd.conf  i.e
 


DocumentRoot "C:/vhost"
ServerName RuntimeTest1.apple.com
LoadModule setenvif_module modules/myapp.so
#ErrorLog logs/error.log
#CustomLog CustomLog logs/access.log common
 

 
So that it works only for RuntimeTest1.entrust.com's request and NOT for
other virtual servers.
 
\Vinay
 


Re: [EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Sascha Kersken

Hello,



HI,
 
Can I have LoadModule directive inside the virtual server block in 
httpd.conf  i.e
 



DocumentRoot "C:/vhost"
ServerName RuntimeTest1.apple.com
*LoadModule setenvif_module modules/myapp.so*
#ErrorLog logs/error.log
#CustomLog CustomLog logs/access.log common
 



No, you can't:
http://httpd.apache.org/docs/2.2/mod/mod_so.html#loadmodule
says "Server config".
But usually you can configure what a module does or does not in each 
context using the module's own configuration directives.



Regards
Sascha


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Vinay Purohit
 hi,
Where do I do module specific settings ? Actually myapp.so(in example
below) is a filter which redirects request to other custm build
application. I would like to redirect all the request of
RuntimeTest1.apple.com to custom application while other virtual host
,configured name based virtual host , RuntimeTest2.apple.com should work
normally i.e. should not be redirected to my custom app. 

\Vinay

-Original Message-
From: Sascha Kersken [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 2:11 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] LoadModule directive

Hello,


> HI,
>  
> Can I have LoadModule directive inside the virtual server block in 
> httpd.conf  i.e
>  
> 
> 
> DocumentRoot "C:/vhost"
> ServerName RuntimeTest1.apple.com
> *LoadModule setenvif_module modules/myapp.so*
> #ErrorLog logs/error.log
> #CustomLog CustomLog logs/access.log common
>  
> 

No, you can't:
http://httpd.apache.org/docs/2.2/mod/mod_so.html#loadmodule
says "Server config".
But usually you can configure what a module does or does not in each
context using the module's own configuration directives.


Regards
Sascha


-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Sascha Kersken

Hey,



 hi,
Where do I do module specific settings ? Actually myapp.so(in example
below) is a filter which redirects request to other custm build
application. I would like to redirect all the request of
RuntimeTest1.apple.com to custom application while other virtual host
,configured name based virtual host , RuntimeTest2.apple.com should work
normally i.e. should not be redirected to my custom app. 


\Vinay


If this myapp.so is a module you wrote yourself, you need to add a VHost 
scope directive to switch the module's functionality on/off per Virtual 
Host (most likely, the default would be that the module does nothing at 
all and works only if it finds a "MyModulesFunction on"-style direcive). 
If it's a third-party module you downloaded somewhere, refer to its 
documentation.


One more side note: In your configuration, you load the module using

*LoadModule setenvif_module modules/myapp.so*

But setenvif_module is the official name of an Apache standard module, 
so you should definitely use another module name.



Regards
Sascha


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread thomas Armstrong
Hi.

I've got Apache 2.2 with PHP running on my Linux box to serve dynamic pages.

I was told that Apache 2.2 allows to create a secondary process which
doesn't use PHP to serve images or static files without installing a
secondary Apcache webserver or lighttpd.

Is it possible? How can I configure my Apache? Thank you very much.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread Davide Bianchi

thomas Armstrong wrote:

I was told that Apache 2.2 allows to create a secondary process which
doesn't use PHP to serve images or static files without installing a
secondary Apcache webserver or lighttpd.


Sure, make a copy of the httpd.conf file, remove everything that refers 
PHP (the LoadModule basically), then run a secondary Apache using that 
config file. You'll have to use a different port of course and redirect 
images and the like to the secondary apache.


But... why?

Davide

--
Ever noticed how fast Windows runs?  Neither did I!

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread thomas Armstrong
>  Sure, make a copy of the httpd.conf file, remove everything that refers
>  PHP (the LoadModule basically), then run a secondary Apache using that
>  config file. You'll have to use a different port of course and redirect
>  images and the like to the secondary apache.
>
>  But... why?

Thank you very much for your answer.

AFAIK, when Apache answers a petition of dynamic content, it requires
10-20 MB. If you request for an image, then this 20MB process is
serving static content inefficiently,  which could be served just by a
1MB process.

So I want to run another Apache with less memory requirements to serve
these static contents.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
Hello!
After configuring proxy_html_module, I used ProxyPass
as per
http://www.apachetutor.org/admin/reverseproxies:

ProxyPass /gqaf-web/ http://backend:8080/gqaf-web/

So that http://proxy/gqaf-web/gqaf:soi:PAR:TRE:001
redirects to
http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:001
without changing the initial URL. That worked fine.

However, the end user soon notified me that he wants
http://proxy/gqaf:soi:PAR:TRE:001 to be redirected
to
http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:001

So how to tell apache that whenever it sees
http://proxy/TRExx it redirects to
http://backend:8080/gqaf-web/ TRExx?

If I use again RewriteRule

RewriteRule ^/(.*TRE.*)
http://backend:8080/gqaf-web/$1 [R=301,L]

This works well but the URL changes to
http://backend:8080/gqaf-web/ TRExx in the
browser

RewriteRule ^/(.*TRE.*)
http://backend:8080/gqaf-web/$1 [P,L] does not work
either because the browser searches for the files in
the proxy htdocs instead of the backend webapps so it
displays File not Found

Any idea?
Thanks.


--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On Sat, Mar 29, 2008 at 6:41 AM, Melanie Pfefer
> <[EMAIL PROTECTED]> wrote:
> > Hello again,
> >
> >  I read the document and I did not get the
> correlation
> >  with my case.
> >
> >  you said
> >
> > > the case. You can check that simply by looking
> at
> >  > the source code of
> >  > the content sent back to your browser and see
> if it
> >  > makes sense in the
> >  > context of the current URL.
> >  >
> >
> >  All I can say is that if I use [R=301,L], the
> rewrite
> >  works perfectly.
> >
> >  If I use [P,L], the forwarding does not work: 2
> frames
> >  are indeed displayed but the pages are not. These
> 2
> >  pages are jsp and they are not displayed because
> they
> >  are fetched in apache while they should be
> fetched
> >  from the tomcat webapps. Is this what you meant
> by
> >  "broken links"?
> >
> >  Can you please also clarify what you want me to
> check?
> 
> I'll try to be more explicit.
> 
> Say that http://backend/ has a page called
> index.html. In that page,
> there is an embedded frame that is referenced as
> /frame1.html. When
> you do a redirect, the browser makes a request for
> http://backend/index.html and sees the frame link
> and requests it as
> http://backend/frame1.html.
> 
> If you do a proxy, the client requests
> http://proxy/backend/index.html
> and the proxy then requests
> http://backend/index.html. What it send
> back to the client still references /frame1.html,
> and the client
> resolves that relative to the URL that IT requested.
> Therefore it
> sends a new request for http://proxy/frame1.html.
> Obviously this URL
> doesn't exist (it should be
> http://proxy/backend/frame1.html) and
> therefore the frameset doesn't display properly.
> 
> If this is indeed the problem (and you verify that
> simply by looking
> at the content that is sent back and understanding
> how the browser
> resolves relative references), then it can be fixed
> with proper
> configuration of mod_proxy_html as explained in that
> article.
> 
> Joshua.
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  ___ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread christian.folini
Hi Thomas,

A typical setup for your environment would be to set an apache  reverse proxy 
in front and
handle the dynamic content on a dedicated backend server. You can put your 
static
files on your reverse proxy or serve them via another backend server.
The important part is to split dynamic and static content, just like you intend 
to do.

Putting all static content on the same physical machine, but on a different 
Apache
running on a different port sounds like a lousy setup to me. Consider clients
trying to access your service but their firewall blocks outgoing requests to 
anything
but port 80 and 443.

regs,

Christian

-Ursprüngliche Nachricht-
Von: thomas Armstrong [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 31. März 2008 12:46
An: users@httpd.apache.org
Betreff: Re: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to 
serve images


>  Sure, make a copy of the httpd.conf file, remove everything that 
> refers  PHP (the LoadModule basically), then run a secondary Apache 
> using that  config file. You'll have to use a different port of course 
> and redirect  images and the like to the secondary apache.
>
>  But... why?

Thank you very much for your answer.

AFAIK, when Apache answers a petition of dynamic content, it requires 10-20 MB. 
If you request for an image, then this 20MB process is serving static content 
inefficiently,  which could be served just by a 1MB process.

So I want to run another Apache with less memory requirements to serve these 
static contents.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Vinay Purohit
Hi,
Thanks !! 
I wrote myapp.so. Are you asking to change the implementation of
myapp.so in such a way so that it reads some instruction in virtual host
directive and take action upon. i.e 

I have following module in global part of httpd.conf

LoadModule my_module "C:\Program Files\Apple/bin/MyApp.so"

And I have fowwing two virtual host block (name based configuration)


   DocumentRoot "C:/vhost1"
   ServerName apple1.sun.com

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#


 DocumentRoot "C:/vhost"
 ServerName apple2.sun.com
my_module on

With above configuration I want every request
http://apple2.sun.com/anything,html to be redirected to back-end while
http://apple1.sun.com/anything.html should be given access directly.

Do I need to read "my_module on" and act upon ? I am not sure how to use
"MyModulesFunction on"-style direcive you pointed in last email ? Please
explain? It would be great if you have any example :-)

\Vinay

-Original Message-
From: Sascha Kersken [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 31, 2008 3:20 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] LoadModule directive

Hey,


>  hi,
> Where do I do module specific settings ? Actually myapp.so(in example
> below) is a filter which redirects request to other custm build 
> application. I would like to redirect all the request of 
> RuntimeTest1.apple.com to custom application while other virtual host 
> ,configured name based virtual host , RuntimeTest2.apple.com should 
> work normally i.e. should not be redirected to my custom app.
> 
> \Vinay

If this myapp.so is a module you wrote yourself, you need to add a VHost
scope directive to switch the module's functionality on/off per Virtual
Host (most likely, the default would be that the module does nothing at
all and works only if it finds a "MyModulesFunction on"-style direcive).

If it's a third-party module you downloaded somewhere, refer to its
documentation.

One more side note: In your configuration, you load the module using

*LoadModule setenvif_module modules/myapp.so*

But setenvif_module is the official name of an Apache standard module,
so you should definitely use another module name.


Regards
Sascha


-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Logging Denied Referrers

2008-03-31 Thread Joshua Slive
On Sun, Mar 30, 2008 at 8:32 PM, Grant Peel <[EMAIL PROTECTED]> wrote:
> Joshua,
>
>  So, cand these be combined into one container somehow?
>
>
>  
>   Order Allow,Deny
>   Allow from all
>   Deny from env=block_bad_bots
>  
>
>  
> Options Indexes Includes FollowSymLinks
> # FollowSymLinks MultiViews
> AllowOverride Options All
> Order allow,deny
> Allow from all
>
> 

Just delete the "Order allow,deny" and "Allow from all" from the
second section. They will negate the effect of the first section if
they are left there.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] LoadModule directive

2008-03-31 Thread Sascha Kersken

Hey,



Hi,
Thanks !! 


never mind :).


I wrote myapp.so. Are you asking to change the implementation of
myapp.so in such a way so that it reads some instruction in virtual host
directive and take action upon. i.e 


I have following module in global part of httpd.conf

LoadModule my_module "C:\Program Files\Apple/bin/MyApp.so"

And I have fowwing two virtual host block (name based configuration)


   DocumentRoot "C:/vhost1"
   ServerName apple1.sun.com

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#


 DocumentRoot "C:/vhost"
 ServerName apple2.sun.com
my_module on

With above configuration I want every request
http://apple2.sun.com/anything,html to be redirected to back-end while
http://apple1.sun.com/anything.html should be given access directly.

Do I need to read "my_module on" and act upon ? I am not sure how to use
"MyModulesFunction on"-style direcive you pointed in last email ? Please
explain? It would be great if you have any example :-)


Yes, all your conclusions are right.
Feel free to read the following (English) tutorial I wrote for my 
(German) Apache textbook:


http://buecher.lingoworld.de/apache2/mod_daytime_en.html

In this tutorial, I explain how to write a module for the TCP daytime 
service; it reads a Virtual-Host-based configuration directive with on 
and off (or simply absent) values.



Regards
Sascha


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Logging Denied Referrers

2008-03-31 Thread Grant Peel


- Original Message - 
From: "Joshua Slive" <[EMAIL PROTECTED]>

To: ; "Grant Peel" <[EMAIL PROTECTED]>
Sent: Monday, March 31, 2008 7:47 AM
Subject: Re: [EMAIL PROTECTED] Logging Denied Referrers



On Sun, Mar 30, 2008 at 8:32 PM, Grant Peel <[EMAIL PROTECTED]> wrote:

Joshua,

 So, cand these be combined into one container somehow?


 
  Order Allow,Deny
  Allow from all
  Deny from env=block_bad_bots
 

 
Options Indexes Includes FollowSymLinks
# FollowSymLinks MultiViews
AllowOverride Options All
Order allow,deny
Allow from all




Just delete the "Order allow,deny" and "Allow from all" from the
second section. They will negate the effect of the first section if
they are left there.

Joshua.



Thanks Josh, that seems to be working.

Just for my own amusement, could they be combined like this (since I am 
realy only worried about the virtual hosts document roots only),



   Options Indexes Includes FollowSymLinks
   AllowOverride Options All
   Order Allow,Deny
   Allow from all
   Deny from env=block_bad_bots


-Grant 



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] 502 Proxy Error and cookies

2008-03-31 Thread Norman Khine

Hello,
I am trying to resolve a 502 Proxy Error. Currently I am redeveloping 
http://expert.travel and the new site will be http://uk.expert.travel


When you access the first site http://expert.travel and then you access 
the second site you get the 502 Proxy Error:


--
Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server
--

The first site is running on zope and has the following rewrite rule:

  ServerName expert.travel
  ServerAlias www.expert.travel
  
RewriteEngine On
#DenyHosts Rules
RewriteMaphosts-deny  txt:/home/XXX/apache/hosts.deny
RewriteCond   ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond   ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND [OR]
RewriteCond   ${hosts-deny:%{HTTP:true-client-ip}|NOT-FOUND} 
!=NOT-FOUND

RewriteRule   ^/.*  -  [F]
#Zope Rules
RewriteRule ^/(.*) 
http://expert.travel:PORT/VirtualHostBase/http/expert.travel:80/shops/shop1/VirtualHostRoot/$1 
[L,P]

  
  #Logs
  ErrorLog /var/log/apache2/uktravellist_error.log
  CustomLog /var/log/apache2/uktravellist_access.log combined
  RewriteLog /var/log/apache2/uktravellist_rewrite_log
  RewriteLogLevel 2

   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all




# AND THE NEW ENTRY for UK.EXPERT.TRAVEL:


   ServerName uk.expert.travel
   ServerAlias fr.expert.travel
  
 RewriteEngine On
 #DenyHosts Rules
 RewriteMaphosts-deny  txt:/home/XXX/hosts.deny
 RewriteCond   ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
 RewriteCond   ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND [OR]
 RewriteCond   ${hosts-deny:%{HTTP:true-client-ip}|NOT-FOUND} 
!=NOT-FOUND

 RewriteRule   ^/.*  -  [F]
 RewriteRule ^/(.*) http://localhost:PORT/expert/$1 [P]
 RequestHeader set X-Base-Path expert/
  
   RewriteLogLevel 9
   RewriteLog /tmp/uk_expert_rewrite.log
   ErrorLog   /tmp/uk_expert_error.log




If I then go and clear the cookies from the browser, I can then access 
the http://uk.expert.travel without a problem.


Any suggestions.

Many thanks

Norman

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] 502 Proxy Error and cookies

2008-03-31 Thread Krist van Besien
On Mon, Mar 31, 2008 at 1:44 PM, Norman Khine <[EMAIL PROTECTED]> wrote:

>  If I then go and clear the cookies from the browser, I can then access
>  the http://uk.expert.travel without a problem.

I doubt this is an apache problem. When you go to expert.travel you
receive some cookies, with as cookie domain .expert.travel. So when
you then go to uk.expert.travel these cookies get sent along with your
request. Have a look what your back end server does with these
cookies.
(These cookies appear to come from google analytics. Maybe if you
disabled that you problem would go away)

Krist

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] 502 Proxy Error and cookies

2008-03-31 Thread Norman Khine

Thank you Krist, that was the problem.

Norman

Krist van Besien wrote:

On Mon, Mar 31, 2008 at 1:44 PM, Norman Khine <[EMAIL PROTECTED]> wrote:


 If I then go and clear the cookies from the browser, I can then access
 the http://uk.expert.travel without a problem.


I doubt this is an apache problem. When you go to expert.travel you
receive some cookies, with as cookie domain .expert.travel. So when
you then go to uk.expert.travel these cookies get sent along with your
request. Have a look what your back end server does with these
cookies.
(These cookies appear to come from google analytics. Maybe if you
disabled that you problem would go away)

Krist






-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Name-based virtual hosting with SSL

2008-03-31 Thread Matthew A. Bockol
You might want to investigate using a wildcard cert, then name-based virtual 
hosting can work with SSL. This requires that your hosts all be from the same 
domain ( x.foo.com, y.foo.com etc. )

Similarly, mod_gnutls ( http://www.outoforder.cc/projects/apache/mod_gnutls ) 
permits Name-based virtual hosts with SSL using Server Name Indication (SNI). I 
don't know that I'd want to run it on a production site yet and SNI isn't 
supported on all browsers.

Matt


- Original Message -
From: "Joshua Slive" <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Sunday, March 30, 2008 9:39:39 AM GMT -06:00 US/Canada Central
Subject: Re: [EMAIL PROTECTED] Name-based virtual hosting with SSL

On Sun, Mar 30, 2008 at 3:36 AM, Vinay Purohit <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  Why Name-based virtual hosting cannot be used with SSL secure servers ?

Because in order to choose the correct certificate to negotiate the
secure connection, the server must know what name to use. But the name
in the request is only available after the secure connection has been
negotiated.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: [EMAIL PROTECTED] Apache Password authentication issues

2008-03-31 Thread Sailesh Krishnamurthy
any ideas, how to force apache 1.3 to use the .htaccess file and not use the
authentication module?

-- Forwarded message --
From: Sailesh Krishnamurthy <[EMAIL PROTECTED]>
Date: Fri, Mar 28, 2008 at 5:06 PM
Subject: Re: [EMAIL PROTECTED] Apache Password authentication issues
To: users@httpd.apache.org


actually,  I found out what the problem was? now wondering how to rectify
it.

see our apache web server also uses a custom authentication module and the
earlier LoadModule config overrides the AllowOverride ALL directive that is
set  in the Directory entry.

Any ideas how to get around this?


On Fri, Mar 28, 2008 at 4:23 PM, Eric Covener <[EMAIL PROTECTED]> wrote:

> On Thu, Mar 27, 2008 at 3:52 PM, Sailesh Krishnamurthy
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> >
> > We tried setting up password authentication on one of the directories in
> our
> > apache virtualhost using a .htaccess file . we now notice that
> > the password authentication is working only for some users and not
> others.
>
> Which ones?
>
> From a thread this week:
>
> Perhaps:
> http://httpd.apache.org/docs/2.2/mod/mod_authz_groupfile.html#authzgroupfileauthoritative
>
> --
> Eric Covener
> [EMAIL PROTECTED]
>
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>   "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [EMAIL PROTECTED] Logging Denied Referrers

2008-03-31 Thread Joshua Slive
On Mon, Mar 31, 2008 at 8:21 AM, Grant Peel <[EMAIL PROTECTED]> wrote:

>  Just for my own amusement, could they be combined like this (since I am
>  realy only worried about the virtual hosts document roots only),
>
>
>  
> Options Indexes Includes FollowSymLinks
> AllowOverride Options All
>
>
> Order Allow,Deny
> Allow from all
> Deny from env=block_bad_bots
>  

Yes, that would have the same effect.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Joshua Slive
On Mon, Mar 31, 2008 at 7:08 AM, Melanie Pfefer
<[EMAIL PROTECTED]> wrote:
> Hello!
>  After configuring proxy_html_module, I used ProxyPass
>  as per
>  http://www.apachetutor.org/admin/reverseproxies:

>  RewriteRule ^/(.*TRE.*)
>  http://backend:8080/gqaf-web/$1 [P,L] does not work
>  either because the browser searches for the files in
>  the proxy htdocs instead of the backend webapps so it
>  displays File not Found

This is where you need to properly configure mod_proxy_html as per the
section "Fixing HTML Links" in the above referenced document. I'm not
a mod_proxy_html expert, so I can't give you the details off the top
of my head. But if you are worried about using RewriteRule instead of
ProxyPass, I don't believe that is a problem. All the other directives
should work the same.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
Hello Josh,

Do you know if we can write this:

RewriteRule ^/(.*TRE.*)
http://backend:8080/gqaf-web/$1 [P,L]

using ProxyPass directive?

Actually, ProxyPass worked well when I used it
ProxyPass /gqaf-web/ http://backend:8080/gqaf-web/

I need to do use it also such as:

ProxyPass /(.*TRE.*) http://backend:8080/gqaf-web/

The wildcards seems not accepted in ProxyPass.

Thanks in advance for your support

--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 31, 2008 at 7:08 AM, Melanie Pfefer
> <[EMAIL PROTECTED]> wrote:
> > Hello!
> >  After configuring proxy_html_module, I used
> ProxyPass
> >  as per
> >  http://www.apachetutor.org/admin/reverseproxies:
> 
> >  RewriteRule ^/(.*TRE.*)
> >  http://backend:8080/gqaf-web/$1 [P,L] does not
> work
> >  either because the browser searches for the files
> in
> >  the proxy htdocs instead of the backend webapps
> so it
> >  displays File not Found
> 
> This is where you need to properly configure
> mod_proxy_html as per the
> section "Fixing HTML Links" in the above referenced
> document. I'm not
> a mod_proxy_html expert, so I can't give you the
> details off the top
> of my head. But if you are worried about using
> RewriteRule instead of
> ProxyPass, I don't believe that is a problem. All
> the other directives
> should work the same.
> 
> Joshua.
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  ___ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Joshua Slive
On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer
<[EMAIL PROTECTED]> wrote:
> Hello Josh,
>
>  Do you know if we can write this:
>
>
>  RewriteRule ^/(.*TRE.*)
>  http://backend:8080/gqaf-web/$1 [P,L]
>
>  using ProxyPass directive?
>
>  Actually, ProxyPass worked well when I used it
>  ProxyPass /gqaf-web/ http://backend:8080/gqaf-web/
>
>  I need to do use it also such as:
>
>  ProxyPass /(.*TRE.*) http://backend:8080/gqaf-web/
>
>  The wildcards seems not accepted in ProxyPass.
>
>  Thanks in advance for your support

You don't need to use ProxyPass. You can combine RewriteRule with the
approprite mod_proxy_html directives.

Honestly, I feel like I'm talking around in circles with you. I
thought you already understood that your problem is caused by changing
the path from proxy to origin server and has nothing to do with
RewriteRule versus ProxyPass.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
:)

I am just wondering how to define a wildcard in
mod_proxy_html.

In http://www.apachetutor.org/admin/reverseproxies,
they give an example on /app1/ and that worked for me
if want to redirect /gqaf-web/.

Now I have wildcards: Everything that have :TRE: to be
redirected to backend:/gqaf-web/ followed by that
string xxx:TRE:xxx

I will read the mod_proxy_html doc...

thx




--- Joshua Slive <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer
> <[EMAIL PROTECTED]> wrote:
> > Hello Josh,
> >
> >  Do you know if we can write this:
> >
> >
> >  RewriteRule ^/(.*TRE.*)
> >  http://backend:8080/gqaf-web/$1 [P,L]
> >
> >  using ProxyPass directive?
> >
> >  Actually, ProxyPass worked well when I used it
> >  ProxyPass /gqaf-web/
> http://backend:8080/gqaf-web/
> >
> >  I need to do use it also such as:
> >
> >  ProxyPass /(.*TRE.*)
> http://backend:8080/gqaf-web/
> >
> >  The wildcards seems not accepted in ProxyPass.
> >
> >  Thanks in advance for your support
> 
> You don't need to use ProxyPass. You can combine
> RewriteRule with the
> approprite mod_proxy_html directives.
> 
> Honestly, I feel like I'm talking around in circles
> with you. I
> thought you already understood that your problem is
> caused by changing
> the path from proxy to origin server and has nothing
> to do with
> RewriteRule versus ProxyPass.
> 
> Joshua.
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  ___ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Is it possible to keep a module running after closing a connection?

2008-03-31 Thread Brown Chris-CCB034
I'm looking at a situation where we'd want to close a connection (for
example the message size is too large) but we'd like to keep the thread
active so that we can perform some other steps before releasing the
thread.  Is this possible?  I've been looking through the apache header
files and nothing stands out to me as a method that would immediately
close the connection without releasing the thread.
 
Any help is greatly appreciated.
 
Thanks,
Chris


Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
I used this

SetOutputFilter  proxy-html
ProxyHTMLURLMap /(.*)TRE(.*)$
http://backend:8080/gqaf-web/$1

and
ProxyHTMLExtended On
ProxyHTMLURLMap url\(http://proxy/(.*)TRE(.*)\)
url(http://backend:8080/gqaf-web/$1) Rihe

No luck :(


--- Melanie Pfefer <[EMAIL PROTECTED]> wrote:

> :)
> 
> I am just wondering how to define a wildcard in
> mod_proxy_html.
> 
> In http://www.apachetutor.org/admin/reverseproxies,
> they give an example on /app1/ and that worked for
> me
> if want to redirect /gqaf-web/.
> 
> Now I have wildcards: Everything that have :TRE: to
> be
> redirected to backend:/gqaf-web/ followed by that
> string xxx:TRE:xxx
> 
> I will read the mod_proxy_html doc...
> 
> thx
> 
> 
> 
> 
> --- Joshua Slive <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer
> > <[EMAIL PROTECTED]> wrote:
> > > Hello Josh,
> > >
> > >  Do you know if we can write this:
> > >
> > >
> > >  RewriteRule ^/(.*TRE.*)
> > >  http://backend:8080/gqaf-web/$1 [P,L]
> > >
> > >  using ProxyPass directive?
> > >
> > >  Actually, ProxyPass worked well when I used it
> > >  ProxyPass /gqaf-web/
> > http://backend:8080/gqaf-web/
> > >
> > >  I need to do use it also such as:
> > >
> > >  ProxyPass /(.*TRE.*)
> > http://backend:8080/gqaf-web/
> > >
> > >  The wildcards seems not accepted in ProxyPass.
> > >
> > >  Thanks in advance for your support
> > 
> > You don't need to use ProxyPass. You can combine
> > RewriteRule with the
> > approprite mod_proxy_html directives.
> > 
> > Honestly, I feel like I'm talking around in
> circles
> > with you. I
> > thought you already understood that your problem
> is
> > caused by changing
> > the path from proxy to origin server and has
> nothing
> > to do with
> > RewriteRule versus ProxyPass.
> > 
> > Joshua.
> > 
> >
>
-
> > The official User-To-User support forum of the
> > Apache HTTP Server Project.
> > See http://httpd.apache.org/userslist.html>
> for
> > more info.
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> >"   from the digest:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>  
>
___
> 
> Yahoo! For Good helps you make a difference  
> 
> http://uk.promotions.yahoo.com/forgood/
> 
>
-
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>"   from the digest:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



  ___ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Is it possible to keep a module running after closing a connection?

2008-03-31 Thread Scott Gifford
"Brown Chris-CCB034" <[EMAIL PROTECTED]> writes:

> I'm looking at a situation where we'd want to close a connection (for example
> the message size is too large) but we'd like to keep the thread active so that
> we can perform some other steps before releasing the thread.  Is this 
> possible?
>   I've been looking through the apache header files and nothing stands out to
> me as a method that would immediately close the connection without releasing
> the thread.

In the process model, you just fork() twice and continue your work in
the grandchild process.  Not sure with the threaded model, but
probably you could just create another thread to do your work, and set
it up to not require joining.

Scott.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Apache 2.2.3 - Delayed response

2008-03-31 Thread Clayton Dillard




All,
    Thank you for taking the time to review my question.

After a fresh boot (or a reboot) our Apache server returns pages very
quickly to the client browser.  We are running SugarCRM and the
response time is usually around .29 seconds.  This high performance
lasts for some unpredictable period of time.  Then we start seeing page
response times of around 1.3 to 2.5 seconds.

The odd thing is that I've run tcpdump on the web server while making a
request for a URL from a client, when we see the performance drop.  As
soon as the client requests the URL, tcpdump shows the connections but
the Apache server does not receive/return the request for about 2
seconds after that.  For clarification, it takes about 2 seconds after
seeing the connection in tcpdump before I see the server writing to the
access_log.

We have another CentOS VM running the same version of httpd and this
box does not have this problem.  One difference is that on the
non-problematic box, php was compiled by hand whereas on the
problematic server it was installed via yum from the CentOS repos. 
Another difference is that I've configured httpd to log to syslog on
the problematic server and not on the non-problematic server.

Environment:
CentOS 5.1 - XenServer VM
Linux rdusugarweb1.rpstechnology.com 2.6.18-53.1.14.el5xen #1 SMP Wed
Mar 5 12:39:19 EST 2008 i686 i686 i386 GNU/Linux

Serving up PHP and other files off of NFS mount.

Server version: Apache/2.2.3
Server built:   Jan 15 2008 20:33:30
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM: Prefork
  threaded: no
    forked: yes (variable process count)
Server compiled with
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/httpd"
 -D SUEXEC_BIN="/usr/sbin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="logs/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"


PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10) 

#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See  for detailed
information.
# In particular, see
# 
# for a discussion of each configuration directive.
#
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are
unsure
# consult the online docs. You have been warned.  
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server
process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default'
server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for
Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/etc/httpd" will be interpreted by the
# server as "/etc/httpd/logs/foo.log".
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# Don't give away too much information about all the subcomponents
# we are running.  Comment out this line if you don't mind remote sites
# finding out what major optional modules you are running
ServerTokens OS

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at
);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
ServerRoot "/etc/httpd"

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile run/httpd.pid

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 120

#
# KeepAlive: Whether or not to allow persistent connect

[EMAIL PROTECTED] need 'high traffic' config

2008-03-31 Thread James Mandy

Hi all, new here,

I administer a bunch of servers for a client who runs a very busy web  
site that serve's js, php and images. (what a cocktail!)


He's serving 300Gig of data a day, and over 30 mil hits a day to this  
data which is mainly the images, some flash.. static content


The server has plenty of cpu, 4Gig ram, RAID, etc. It's fast. During  
busy periods, requests are taking a long time. checking the server I  
see it's not under much load and there's usually always still 2Gig of  
memory free on the machine. I suspect that clients are 'waiting' for  
access to apache when the machine is getting a lot of hits. I'm  
thinking my configuration is just wrong.


I'm wondering if there's anyone here who runs a high-traffic server  
like ours who might have some experience in tweaking apache for this  
kind of work? I'd love to chat with you. We are even willing to pay  
for someone to help us dial this baby in if need be.


I'm happy to discuss the finer details of our infrastructure with  
someone that would be willing to help us. Here's a little look at some  
of our httpd.conf:


Timeout 20

KeepAlive Off  (turning this on seems to make things crawl)


StartServers 8
MinSpareServers 15
MaxSpareServers 20
ServerLimit  500
MaxClients   500
MaxRequestsPerChild 1


Also getting a lot of this in /var/log/messages: (all the time)

Mar 29 11:05:57 sls-hc16p2 kernel: possible SYN flooding on port 80.  
Sending cookies.
Mar 29 11:05:57 sls-hc16p2 kernel: TCPv6: dropping request, synflood  
is possible


Thanks! James

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Apache 2.2.3 - Delayed response

2008-03-31 Thread Issac Goldstand



Clayton Dillard wrote:

All,
Thank you for taking the time to review my question.

After a fresh boot (or a reboot) our Apache server returns pages very 
quickly to the client browser.  We are running SugarCRM and the response 
time is usually around .29 seconds.  This high performance lasts for 
some unpredictable period of time.  Then we start seeing page response 
times of around 1.3 to 2.5 seconds.




Not to overstate the obvious, but before you start exploring software 
bottlenecks, are you sure there's no hardware bottleneck?  Swapping, for 
example, is pretty nasty to everyone running on the machine...


  Issac

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]