LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Apache2.2 ab with ssl

Posted 08-24-2009 at 04:54 AM by zhjim

For all of you who wonder why ab (a.k.a apachebenchmark) gives an error like this
Code:
SSL not compiled in; no https support
I finally found out how to enable ssl support in ab.

Here are two minimal configuration options for the httpd-2.2.13 from apache.org.

With working ssl-ab
Quote:
./configure --with-ssl --enable-ssl --with-mpm=prefork --prefix=/home/ase/non/install --with-mods-shared=most
Without working ssl-ab
Quote:
./configure --with-ssl
...
Member
Posted in Uncategorized
Views 300 Comments 0 zhjim is offline Edit Tags
Old

Perl Skript to change the heading of an sql dump

Posted 08-11-2009 at 05:19 AM by zhjim

Needed to have a programm that would allow me to change the headers of a sql dump.
This is the first draft and far from perfect but does the job.
PHP Code:
#!/usr/bin/perl
use strict;

use 
Fcntl;
my $line;
my $go 10;
my $start;
my $end;

if ( $
#ARGV + 1 != 1 ) {
        
print 'Usage:  trial.pl  new_db_name' "\n";
        exit -
1;
}

my $db $ARGV[0];

open
...
Member
Posted in Uncategorized
Views 186 Comments 0 zhjim is offline Edit Tags


All times are GMT -5. The time now is 12:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration