[EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread Agnello George
HI I have atleast 20 virtual host on my Apache ( 2.2.8 ) server and am having a difficulty in deleting the logs after it reaches a certain limit. my vhost directive look something like this : VirtualHost 192.168.0.244:80 ServerAdmin [EMAIL PROTECTED] ServerName

[EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-05 Thread Vinay Purohit
Hi Is it mandatory to have first virtual server block as main server when we configure name based virtual server on apache2.2.8 ? Creation of virtual servers: While creating virtual servers on apache 2.2.8 we have to include a virtual host block for each virtual server we want to create and

Re: [EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-05 Thread matt . farey
The first v.h. block is important in that any request for a host (servername) that is not found in any other vh block defaults to the first block. So on my servers in the top most block all requests are rewritten to a please check the url page. Sent from my BlackBerry® wireless device

RE: [EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-05 Thread Vinay Purohit
thanks matt Is it mandatory or not to have first vh as main server ? If we do not put first vh as main server how can I acess a main server resources. \Vinay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 12:29 PM To:

Re: [EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-05 Thread André Warnier
Hi. I believe the problem may be one of understanding, not one of configuration. If you have a configuration with VirtualHost's, there is not really a main server. All VirtualHost's are created equal. The configuration commands and parameters that are outside of a VirtualHost section act as

[EMAIL PROTECTED] RewriteEngine directive

2008-06-05 Thread Malka Cymbalista
If I want to put Rewrite directives into specific Directory sections, do I have to put the RewriteEngine directive into each of the sections or can I put it somewhere else in the configuration file where I will not have to repeat it in each directory section. Thanks for any help. -- Malka

[EMAIL PROTECTED] SSL not working. Please help

2008-06-05 Thread BipinDas-BlueLabs
Hi everybody I do have a webserver running on Fedora4 with Apache 2.2.6. I had setup an htaccess for the webroot to prevent the outside access. Because its in a development stage. Its working fine. Now I need to setup a self signed certificate for the Server (SSL). I had created and

[EMAIL PROTECTED] Apache concurrency info

2008-06-05 Thread Arnab Ganguly
Hi All, How do I get the concurrency level information of the Apache.Like at any particular sec how many requests are being handled by the server.The server status page shows the Idle threads available and free.Can you help me on this.What is the additional information we can get if we enable

Re: [EMAIL PROTECTED] mod_auth_mysql questions

2008-06-05 Thread Chris Cohen
On Wednesday 04 June 2008 01:22:19 Res wrote: On Tue, 3 Jun 2008, Chris Cohen wrote: ~# ldd /usr/local/apache/bin/httpd | grep libmysqlclient_r libmysqlclient_r.so.15 = /usr/lib/mysql/libmysqlclient_r.so.15 (0xb7d7f000) This command doesn't report anything. So no mysql support

Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread Ben Ricker
Rotatelogs, as far as I know, does not delete logs. It merely rotates them. If you want to delete for size, you could do some fancy work with 'ls', cut out the size, compare it to a specific number you want, and then delete it if it is over that size. That seems kludgy though. What I do is

Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread André Warnier
Or you could change your log rotation system altogether, and use logrotate if your OS has it. The general idea is : you dom't use rotatelogs, you write the logs normally to a file. With cron, you regularly run logrotate, as often as you want. It has a configuration file that tells it which

[EMAIL PROTECTED] Apache crashes at exit when mod_ldap is enabled. Please help

2008-06-05 Thread Rs K
Hello All,   I am lookng for some help. I use apache well and I am currently enabled mod_ldap.exe I observed that at apache shutdown, it is crashing. I figured out that that the address of cache-nodes of the parents process is changed at the time of exit. I think it is changed by the child

Re: [EMAIL PROTECTED] RewriteEngine directive

2008-06-05 Thread Krist van Besien
On Thu, Jun 5, 2008 at 11:09 AM, Malka Cymbalista [EMAIL PROTECTED] wrote: If I want to put Rewrite directives into specific Directory sections, do I have to put the RewriteEngine directive into each of the sections or can I put it somewhere else in the configuration file where I will not

Re: [EMAIL PROTECTED] RewriteMap question

2008-06-05 Thread Krist van Besien
On Wed, Jun 4, 2008 at 7:32 PM, Josh Trutwin [EMAIL PROTECTED] wrote: 1. if you update a dbm map file do you need to reload anything or will the apache rewrite module pull in the changes on the fly? If you change the dbm map it is reloaded. No need to restart apache. 2. I see a script on the

Re: [EMAIL PROTECTED] RewriteEngine directive

2008-06-05 Thread Malka Cymbalista
Thanks for your reply. I actually read the documentation which is where I learned that I can put Rewrite directives in the directory section. My question is if there is any way to get around putting RewriteEngine on in each directory section. I have RewriteEngine on in the config file

Re: [EMAIL PROTECTED] SSL not working. Please help

2008-06-05 Thread Krist van Besien
On Thu, Jun 5, 2008 at 11:09 AM, BipinDas-BlueLabs [EMAIL PROTECTED] wrote: [Thu Jun 05 02:28:12 2008] [error] Init: Unable to read pass phrase [Hint: key introduced or changed before restart?] The private key of your webserver appears to be protected by a pass phrase. You need to either

Re: [EMAIL PROTECTED] RewriteEngine directive

2008-06-05 Thread Krist van Besien
On Thu, Jun 5, 2008 at 3:40 PM, Malka Cymbalista [EMAIL PROTECTED] wrote: Thanks for your reply. I actually read the documentation which is where I learned that I can put Rewrite directives in the directory section. My question is if there is any way to get around putting RewriteEngine on

Re: [EMAIL PROTECTED] Diffeerent Apache Daemon on RHEL5.1

2008-06-05 Thread Krist van Besien
On Wed, Jun 4, 2008 at 4:45 PM, André Warnier [EMAIL PROTECTED] wrote: Eric Covener wrote: Copying binaries doesn't seem to make a lot of sense. Hi. You're right, on the face of it it does not seem to make a lot of sense. You should be able easily to run 2 instances of Apache from the

Re: [EMAIL PROTECTED] Authenticating with MySQL using login AND location?

2008-06-05 Thread Nick Owen
On Thu, Jun 5, 2008 at 5:43 AM, Marcin Lewandowski [EMAIL PROTECTED] wrote: Hi, is there any way to authenticate with MySQL but passing to the MySQL not only username but also location of request? I want to authetnticate dynamically against different locations only by putting some records to

Re: [EMAIL PROTECTED] Diffeerent Apache Daemon on RHEL5.1

2008-06-05 Thread André Warnier
Krist van Besien wrote: On Wed, Jun 4, 2008 at 4:45 PM, André Warnier [EMAIL PROTECTED] wrote: Eric Covener wrote: Copying binaries doesn't seem to make a lot of sense. Hi. You're right, on the face of it it does not seem to make a lot of sense. You should be able easily to run 2

Re: [EMAIL PROTECTED] Apache Virtual Server Configuration

2008-06-05 Thread Dragon
Vinay Purohit wrote: Hi Is it mandatory to have first virtual server block as main server when we configure name based virtual server on apache2.2.8 ? Creation of virtual servers: While creating virtual servers on apache 2.2.8 we have to include a virtual host block for each virtual

[EMAIL PROTECTED] htaccess, apache, tomcat

2008-06-05 Thread D'Ausilio, John
I have a number of tomcat apps, all of which route through a single apache instance (2.2). I also use rewrite rules at the top level in httpd.conf to do some simple rewriting (http://foo-http://tomcat-server/bar, foo being one of a number of DNS aliases to the apache box). Once in a while I need

[EMAIL PROTECTED] SSL error building 2.2.8

2008-06-05 Thread Gene LeDuc
Hi All, I'm not sure whether this list is the best one for asking about build issues. If not, please point me to the one I should ask this question on. I'm upgrading several packages on a Solaris 9 server. The first ones I did were openssl-0.9.8h (from 0.9.8d) and openssh-5.0p1. Since

Re: [EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-05 Thread Agnello George
On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Or you could change your log rotation system altogether, and use logrotate if your OS has it. The general idea is : you dom't use rotatelogs, you write the logs normally to a file. With cron, you regularly run logrotate, as often as you want.

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread Mohit Anchlia
On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get real physical IP of the machine but the IP of something that's in between like router, is there a way to get the real IP so that we don't end up

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread Dragon
Mohit Anchlia wrote: On 6/4/08, Dragon mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get real physical IP of the machine but the IP of something that's in between like router, is there a way to get

[EMAIL PROTECTED] Address translation

2008-06-05 Thread Ed Curtis
I've seen several sites that contain numerals for urls (i.e. www.cnn.com/23482/) and it points to a page. I have recently ran into a situation where a client wants to use id numbers in a URL. What I would like to do is have that point to a php script that takes that id and builds a page from a

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread André Warnier
Mohit Anchlia wrote: On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get real physical IP of the machine but the IP of something that's in between like router, is there a way to get the real IP so that we

Re: [EMAIL PROTECTED] Address translation

2008-06-05 Thread m
Ed Curtis pisze: I've seen several sites that contain numerals for urls (i.e. www.cnn.com/23482/) and it points to a page. I have recently ran into a situation where a client wants to use id numbers in a URL. What I would like to do is have that point to a php script that takes that id and

[EMAIL PROTECTED] How to apache not wait for completion of background job

2008-06-05 Thread JAIN, ABHAY K, ATTSI
I have a shell cgi script. It invokes another shell script via rsh in background (rsh -n machine command ) on another machine. Idea is to start something which takes long and quit. It seems that Apache 2.2.8 waits before returning output message to browser till the background job is finished on

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread Mohit Anchlia
On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get real physical IP of the machine but the IP of something that's in between

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread André Warnier
Mohit Anchlia wrote: On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get real physical IP of the machine but the IP of

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread Mohit Anchlia
On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was sometimes we don't get

Re: [EMAIL PROTECTED] Block IP

2008-06-05 Thread André Warnier
Mohit Anchlia wrote: On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/5/08, André Warnier [EMAIL PROTECTED] wrote: Mohit Anchlia wrote: On 6/4/08, Dragon [EMAIL PROTECTED] wrote: André Warnier wrote: Mohit Anchlia wrote: 2. Another question I had was

[EMAIL PROTECTED] It's amazing, apache make Tomcat performance decrease dramatically.

2008-06-05 Thread Zufeng Huang
Hi, all apache2.2.4+mod_jk+tomcat5.5.15 I tried apache ab as the tool to do a benchmark. But the result is amazing. Test steps: 1, Using a jsp as the target ONE. 1.1, ab ¨Cn 25000 ¨Cc 1000 URL_via_apache Concurrency Level: 1000 Time taken for tests: 410.105255

Re: [EMAIL PROTECTED] SSL not working. Please help

2008-06-05 Thread BipinDas-BlueLabs
Krist, Thanks for your update. But I had already removed the Passphrase, but still not working. And the SSLport 443 is listening in the server. while I calling https,browser went hangup. At the same time I can access Port 80. Thanks BipinDas Krist van Besien wrote: On Thu, Jun 5, 2008 at