[rt-devel] rt-mailgate in RT2 vs RT3

Odhiambo Washington wash at wananchi.biz
Fri Feb 14 12:24:13 EST 2003


* Jesse Vincent <jesse at bestpractical.com> [20030214 19:26]: wrote:
> > 
> > beastie# mv message.txt messagefile.txt
> > beastie# ./rt-mailgate --queue cs --action correspond --url https://rt3.wananchi.com/ < messagefile.txt
> > An Error Occurred
> > =================
> > 
> > 501 Protocol scheme 'https' is not supported
> 
> 
> Actually, I believe that would be your lib-www-perl not being built with
> ssl support. But I'll point our tech writer at this bit when she's next
> ready for installation guide details.


More feedback. I have (I believe) met the condition above, building modperl1
with ssl support. Actually I am not quite certain about it ;)
My rt3 is running under fastcgi. When I attempt to run with modperl my
httpd core dumps.

I used the script below to build this stuff, so maybe someone can spot an error in
my script??

<cut>
#!/bin/sh

APACHE="apache_1.3.27"
MOD_PERL="mod_perl-1.27"
MOD_SSL="mod_ssl-2.8.12-1.3.27"
SSL_BASE="/usr/local"

PACKAGES="$APACHE $MOD_PERL $MOD_SSL"

for package in $PACKAGES; do

if [ -d $package ]; then
echo removing $package
rm -rf $package
fi
if [ -f $package.tar.bz2 ]; then
tar xfvy $package.tar.bz2
else
tar xfvz $package.tar.gz
fi

done

cd $MOD_SSL
./configure --with-apache=../$APACHE --with-ssl=/usr --enable-shared=ssl --with-mm=/usr/local
cd ../$MOD_PERL
perl Makefile.PL DO_HTTPD=1 USE_APACI=1 APACHE_PREFIX=/usr/local EVERYTHING=1 SSL_BASE=/usr/local \
                 APACI_ARGS='--server-uid=www, --server-gid=www, --enable-module=so --enable-module=most, \ 
                 --enable-shared=max --disable-shared=perl, --enable-module=perl, --enable-module=ssl, \
                 --enable-module=rewrite, --with-layout=../FreeBSD.layout:FreeBSD, --without-confadjust'
make test; cd ../$APACHE; make certificate TYPE=custom
mv /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.OLD
cd ../mod_perl-1.27; make install

</cut>



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington, wash at wananchi.com	. WANANCHI ONLINE LTD (Nairobi, KE)  |
http://ns2.wananchi.com/~wash/		. 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223			. # 10286, 00100 NAIROBI             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
						 --from a /. post



More information about the Rt-devel mailing list