[EMAIL PROTECTED] Question?

2007-05-26 Thread Red al tubor

Hello All,
we are going to establish a e-service through the web to serve approximately
1000 hits a minute...
What is the best solution for us to use 2x HTTP servers and a HA solution???
The e-service web use php...

Regards,
RN


[EMAIL PROTECTED] Redirect clients

2007-05-26 Thread Red al tubor

hello,
Any idea about how can we redirect all the clients after a specified time or
load on the cpu... to another site

Through apache...

Regards,
Redouane


Re: [EMAIL PROTECTED] RE:Oracle Application Server 10g HTTPD???

2007-05-26 Thread Red al tubor

Hi
and if i have three servers with Apache , how we can serve error page.

Regards
redoua


On 5/23/07, Stephen <[EMAIL PROTECTED]> wrote:


*Red al tubor < [EMAIL PROTECTED]>* wrote:

If I want to let the client see my error page when the clients past the
server MaxClients setting,what can I do?


If the server can serve an error page, it could probably handle the
request.

For a single Apache instance, I don't think that there is anything that
you can do.

Stephen



Re: [EMAIL PROTECTED] Question?

2007-05-26 Thread Jaqui Greenlees

--- Red al tubor <[EMAIL PROTECTED]> wrote:

> Hello All,
> we are going to establish a e-service through the
> web to serve approximately
> 1000 hits a minute...
> What is the best solution for us to use 2x HTTP
> servers and a HA solution???
> The e-service web use php...
> 
> Regards,
> RN
> 

Apache httpd server is the most scalable and secure
server, and using the 2.2 series of it is the newest
versions available, with the most features.
I personally would not consider using any other web
server, the Apache Software Foundation's httpd server
is just to capable and customizable for any other
option to be viable.

for any other technologies needed by your web
application, you should look at the documentation of
those technologies available on the websites of the
providers, this list is for assistance with the httpd
server, not general internet technologies.

Jaqui



Jeff Henager: "If the average user can put a CD in and boot the system and 
follow the prompts, he can install and use Linux. If he can't do that simple 
task, he doesn't need to be around technology."


Website: http://jaqui-greenlees.net


  Ask a question on any topic and get answers from real people. Go to 
Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

-
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] Re: Question?

2007-05-26 Thread Red al tubor

Thanks for your help..

But i am also wondering when i use for Examples Red Hat Cluster suite to
perform High Availability and Load balancing solution is there any
configuration needed to be configured for the Apache service...

Regards
Redouane N.

On 5/26/07, Red al tubor <[EMAIL PROTECTED]> wrote:


Hello All,
we are going to establish a e-service through the web to serve
approximately 1000 hits a minute...
What is the best solution for us to use 2x HTTP servers and a HA
solution???
The e-service web use php...

Regards,
RN



[EMAIL PROTECTED] RE: Apache web server efficiency go down with increasing uptime.

2007-05-26 Thread kalaj

Thanks for your reply :)


Boyle Owen wrote:
> 
>> -Original Message-
>> From: kalaj [mailto:[EMAIL PROTECTED] 
>> Sent: Tuesday, May 22, 2007 6:17 PM
>> To: users@httpd.apache.org
>> Subject: [EMAIL PROTECTED] Apache web server efficiency go down 
>> with increasing uptime.
>> 
>> 
>> I use Apache 2.2.4,MySQL 5.0 and PHP 5.2.2 run on Debian VPS system,
>> I noticed that my web server efficiency go down with a web server
>> increasing uptime,for example,when I restart the web server that will
>> cut down the WordPress php page produce time half.
>> Any idea with this?
> 
> Memory leaks would be the usual suspect in a case like this - more
> likely from PHP than from apache (this is not a common problem on
> servers where apache is running alone...)
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Apache-web-server-efficiency-go-down-wit
> h-increasing-uptime.-tf3797420.html#a10741507
>> Sent from the Apache HTTP Server - Users mailing list archive 
>> at Nabble.com.
>> 
>> 
>> -
>> 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]
>>
>  
>  
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you receive this message in error, please notify the sender urgently and
> then immediately delete the message and any copies of it from your system.
> Please also immediately destroy any hardcopies of the message. You must
> not, directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient. The sender's
> company reserves the right to monitor all e-mail communications through
> their networks. Any views expressed in this message are those of the
> individual sender, except where the message states otherwise and the
> sender is authorised to state them to be the views of the sender's
> company.
> 
> -
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Apache-web-server-efficiency-go-down-with-increasing-uptime.-tf3797420.html#a10815800
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-
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] RE: Apache web server efficiency go down with increasing uptime.

2007-05-26 Thread spacemarc

2007/5/26, kalaj <[EMAIL PROTECTED]>:


Thanks for your reply :)


Boyle Owen wrote:
>
>> -Original Message-
>> From: kalaj [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, May 22, 2007 6:17 PM
>> To: users@httpd.apache.org
>> Subject: [EMAIL PROTECTED] Apache web server efficiency go down
>> with increasing uptime.
>>
>>
>> I use Apache 2.2.4,MySQL 5.0 and PHP 5.2.2 run on Debian VPS system,
>> I noticed that my web server efficiency go down with a web server
>> increasing uptime,for example,when I restart the web server that will
>> cut down the WordPress php page produce time half.
>> Any idea with this?
>
> Memory leaks would be the usual suspect in a case like this - more
> likely from PHP than from apache (this is not a common problem on
> servers where apache is running alone...)
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>> --
>> View this message in context:
>> http://www.nabble.com/Apache-web-server-efficiency-go-down-wit
> h-increasing-uptime.-tf3797420.html#a10741507
>> Sent from the Apache HTTP Server - Users mailing list archive
>> at Nabble.com.
>>
>>
>> -
>> 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]
>>
>
>
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission. If
> you receive this message in error, please notify the sender urgently and
> then immediately delete the message and any copies of it from your system.
> Please also immediately destroy any hardcopies of the message. You must
> not, directly or indirectly, use, disclose, distribute, print, or copy any
> part of this message if you are not the intended recipient. The sender's
> company reserves the right to monitor all e-mail communications through
> their networks. Any views expressed in this message are those of the
> individual sender, except where the message states otherwise and the
> sender is authorised to state them to be the views of the sender's
> company.
>
> -
> 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]
>
>
>

--
View this message in context: 
http://www.nabble.com/Apache-web-server-efficiency-go-down-with-increasing-uptime.-tf3797420.html#a10815800
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-
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]





--
Scripts: http://www.spacemarc.it

-
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] Redirect clients

2007-05-26 Thread Don Russell

Red al tubor wrote:

hello,
Any idea about how can we redirect all the clients after a specified 
time or load on the cpu... to another site


Through apache...


Create the necessary config paragraph in a separate file in 
/etc/httpd/conf.d via a cron job and restart httpd (by the same cron job).


Depends on your tolerance of Apache "down time" while httpd restarts...

Since you imply that there are other servers, that shouldn't be a problem.

cpu load sounds like you want basic "load balancing" techniques...

-
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] Redirect clients

2007-05-26 Thread justin wright
thru mod_proxy_balancer you can do load balancing.


- Original Message 
From: Don Russell <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Saturday, May 26, 2007 11:01:56 AM
Subject: Re: [EMAIL PROTECTED] Redirect clients


Red al tubor wrote:
> hello,
> Any idea about how can we redirect all the clients after a specified 
> time or load on the cpu... to another site
>
> Through apache...

Create the necessary config paragraph in a separate file in 
/etc/httpd/conf.d via a cron job and restart httpd (by the same cron job).

Depends on your tolerance of Apache "down time" while httpd restarts...

Since you imply that there are other servers, that shouldn't be a problem.

cpu load sounds like you want basic "load balancing" techniques...

-
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]


   
Got
 a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 

-
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 input filter

2007-05-26 Thread Martin Høgedal
I am currently writing a Thesis with the pupose of constructing a security
module for the Apache Webserver based on information send by client
requests. To do this i need to acquire POST data when a POST request is
made, but still preserving the POST data for the content generator. I
decided to implement an input filter to carry out this task. Now the filter
is doing what is is suppose to do, but it does it at the wrong time. I seems
the filter is activated after the content generator (as an output filter)
and not before. So i tried constructing a simple input filter that in
reality does do anything. But it is still running as an outputfilter.
I made this simple input filter but the problem remains:


int do_nothing_input_filter(ap_filter_t *f, apr_bucket_brigade *bb,
ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes){
  request_rec *r = f->r;
  int rv;
  rv= ap_get_brigade(f->next,bb,mode,block,readbytes);
  return rv;
}

static void RegisterHooks(apr_pool_t *p){
 ap_register_input_filter("do_nothing", do_nothing_input_filter, NULL,
AP_FTYPE_RESOURCE) ;
}



module AP_MODULE_DECLARE_DATA do_nothing_module = 
  {
    STANDARD20_MODULE_STUFF,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    RegisterHooks
};
}

(You might recognise the do_nothing_input_filter from Nick Kew’s Book).

Activating the module through httpd.conf:

SetInputFilter "do_nothing"

Writing to the log in the input filter and from the the PHP Content
generator shows that the content generator is activated before the input
filter. So how do you make an actual input filter?

Im using Apache 2.2.2 if this helps anyone.

I know this is probably a simple question for most of you but it seems tough
for me though.

This is my first try at mailinglists so hopefully I haven’t done anything
wrong.

Thank you fo your input.

Martin.




-
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] Redirect clients

2007-05-26 Thread Red al tubor

Hello

Yeah that is what i need..."load balancing" techniques... if u have any good
documents to read..
anyway i was wondering about what shall i edit inside /etc/httpd/conf.d
like this i will redirect the clients to another site???
can u give me more information
Regards,
RN


On 5/26/07, Don Russell <[EMAIL PROTECTED]> wrote:


Red al tubor wrote:
> hello,
> Any idea about how can we redirect all the clients after a specified
> time or load on the cpu... to another site
>
> Through apache...

Create the necessary config paragraph in a separate file in
/etc/httpd/conf.d via a cron job and restart httpd (by the same cron job).

Depends on your tolerance of Apache "down time" while httpd restarts...

Since you imply that there are other servers, that shouldn't be a problem.

cpu load sounds like you want basic "load balancing" techniques...

-
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] Problem with htaccess (/year/month/day/)

2007-05-26 Thread Joshua Slive

On 5/25/07, thomas Armstrong <[EMAIL PROTECTED]> wrote:

 I'm trying to make my website works with http://www.domain.com/2007/05/25/foo
to server http://www.domain.com/redirect.php

With Apache 2.2, my .htaccess:

RewriteEngine On
RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+)/(.*) /redirect.php [QSA,L]
RewriteRule ^([0-9]+)/([0-9]+) /redirect.php [QSA,L]


If I type:
- http://www.mydomain.com/2007/05, it works
- http://www.mydomain.com/2007/05/25/foo, I get a 404 error message.

What am I doing wrong?


Not using the RewriteLog to debug your mod_rewrite config.

Things go much easier in general if you put your mod_rewrite config in
httpd.conf rather than .htaccess. If you don't have access to
httpd.conf, then you should setup a test server on another machine to
debug your rewrite stuff.

(I don't see anything obviously wrong with your RewriteRules, but the
RewriteLog will tell you what is really going on.)

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]