Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-08-29 Thread Agnello George
On 8/28/08, Tan, Liao <[EMAIL PROTECTED]> wrote: > Folks, > Pls gimme some direction on how to start apache (already with the https > certificate installed)automatically,that means, without informing manually > the passwords, phrase? > Here is a little documention i had worked out ( just check i

Re: [EMAIL PROTECTED] Load Increases due to Apache

2008-08-29 Thread Agnello George
On 8/29/08, Gaurav Pruthi <[EMAIL PROTECTED]> wrote: > > Dear Friends, > > I am facing very strange problem. I have a LAMP server. It has around 400 > of websites hosted on it. Since last one month the server load increases > suddenly. When checked using top command, i saw apache process consuming

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-13 Thread Agnello George
On 8/13/08, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > > Agnello George pisze: > >> I would like to rotate logs every 20MB AND at the start of the month >>> irrespective of the log size. >>> >>> Is it possible? >>> >> >> yes

Re: [EMAIL PROTECTED] rotatelogs based on size and time?

2008-08-12 Thread Agnello George
On 8/13/08, Zbigniew Szalbot <[EMAIL PROTECTED]> wrote: > Hello, > > I fear it it not possible but I'll ask the experts anyway. Is it possible to > rotate apache logs based on size and time? > > I would like to rotate logs every 20MB AND at the start of the month > irrespective of the log size. >

Re: [EMAIL PROTECTED] V 2.2.9: configure: WARNING: Unrecognized options: --enable-mod etc

2008-07-28 Thread Agnello George
On 7/28/08, Ron Savage <[EMAIL PROTECTED]> wrote: > > Hi Davide > > On Mon, 2008-07-28 at 10:24 +0200, Davide Bianchi wrote: > > Ron Savage wrote: > > > I tried the command I used with V 2.2.8, with variations, but can't get > > > configure to work. I could not see this problem in the archives. > >

[EMAIL PROTECTED] apache: query on mod_shapvh

2008-06-26 Thread Agnello George
hi i was just searching for a module to Apache virtual hosting into a DB ( MySQL preferred ) . and i came across this website. I have major difficult in installing this module on to my already existing Apache ( 2.2.8 ) server. I followed the following tutorial to install LAMP ( http://linux-v

Re: [EMAIL PROTECTED] seperate vhost files for each domain

2008-06-26 Thread Agnello George
On 6/26/08, Res <[EMAIL PROTECTED]> wrote: > On Wed, 25 Jun 2008, John Hicks wrote: > > > Remember that Apache only reads its configuration once, when it is started > up, so the additional processing is minimal. > > > > But what would be the impact, like reading one 20K httpd.conf and one 300K > vh

[EMAIL PROTECTED] seperate vhost files for each domain

2008-06-25 Thread Agnello George
Hi I would just like to know if it would be a good good option to have separate vhost fies for each domain, this would make editing the files ( through shell scripts much easier ). But my only concern here is would Apache be overloaded by reading multiple vhost files to illustrate i would like to h

Re: [EMAIL PROTECTED] editing httpd.conf file through shell script

2008-06-20 Thread Agnello George
On 6/18/08, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > > You can use head and tail commands in shell to do what you want to do. You > could do something like: > > x=`grep -n "DocumentRoot /websites/vodafone/web" httpd.conf` # gets the line > number > cat httpd.conf|head -$x > tmp.conf > echo "Add

[EMAIL PROTECTED] editing httpd.conf file through shell script

2008-06-18 Thread Agnello George
hi i am trying to edit my httpd.comf file through a shell script .. (( actually I trying to set up a control panel )) my httpd.conf host directives for many domains , the file is something like this : ##START###rodney.com### http://192.168.0.244/>> Server

Re: [EMAIL PROTECTED] mod_ssl: creating self signed certificate on apache for multiple domains

2008-06-12 Thread Agnello George
> The openssl command will always prompt you for a password. The trick is > to *remove* the password afterward by passing the cert through openssl > again. I believe the command is like this: > > openssl rsa -in server.crt -out server-nopasswd.crt > > I'm working from memory here, so check this pag

Re: [EMAIL PROTECTED] mod_ssl: creating self signed certificate on apache for multiple domains

2008-06-12 Thread Agnello George
> > Try re-creating your keys, but this time without entering a passkey. > Otherwise you'll have to enter it each time you start Apache. how is that done i use the following command to create the certificate cd /usr/local/apache2/conf/ openssl req -new -x509 -days 30 -keyout server.key -out ser

[EMAIL PROTECTED] mod_ssl: creating self signed certificate on apache for multiple domains

2008-06-12 Thread Agnello George
Hi I am trying to implement ssl on my Apache server for multiple domains . I have created a self -signed certificate using the following command . ( For domain agnello.com ) openssl req -new -x509 -days 30 -keyout /usr/local/apache2/conf/domains_ssl/agnello.com/server.key -out /usr/local/apac

Re: [EMAIL PROTECTED] Statistics

2008-06-10 Thread Agnello George
On 6/10/08, Malka Cymbalista <[EMAIL PROTECTED]> wrote: > We are using awstats: http://awstats.sourceforge.net/ and are pleased with it. > -- > i have set up awstats for virtaul domains ... i guess this link will help you out a lot !! ... http://linux-vashi.blogspot.com/2008/06/installing-awstats-

[EMAIL PROTECTED] add mine type in virtul host

2008-06-06 Thread Agnello George
hi I have tried to search google on how to add mimetype in a vhost directive. but of no avail!! Can any one help me with this. -- Regards Agnello Dsouza www.linux-vashi.blogspot.com

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

[EMAIL PROTECTED] log roatation / delete for virtual domains

2008-06-04 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 : ServerAdmin [EMAIL PROTECTED] ServerName agnello.sys.qualiproj.qualispace.com ServerAlias www.agnello.sy