Re: wwwdb and RedHat 6.1

---------

About this list Date view Thread view Subject view Author view

Klaus Reger (K.Reger@gmx.de)
Mon, 7 Aug 2000 14:39:01 +0200


Am Mon, 07 Aug 2000, schrieb Mike Hammonds zum Thema Re: wwwdb and RedHat 6.1:

>what is the proper steps to confirm that apache no about mod_perl?

On my distribution by example does exist a little Script like this:

--- 8< cut here ------ 8< cut here ------ 8< cut here ------ 8< cut here ---

#!/usr/bin/perl
# your httpd.conf should have something like this:

# Alias /perl/ /real/path/to/perl-scripts/
# <Location /perl>
# SetHandler perl-script
# PerlHandler Apache::Registry
# PerlSendHeader On
# Options +ExecCGI
# </Location>

print "Content-type: text/html\n\n";
print "<b>Date: ", scalar localtime, "</b><br>\n";
print "%ENV: <br>\n", map { "$_ = $ENV{$_} <br>\n" } keys %ENV;

--- 8< cut here ------ 8< cut here ------ 8< cut here ------ 8< cut here ---
When i run it it gives:

Date: Mon Aug 7 14:38:50 2000
%ENV:
SERVER_SOFTWARE = Apache/1.3.12 (Unix) (SuSE/Linux) mod_fastcgi/2.2.2 DAV/0.9.14 mod_perl/1.21 PHP/3.0.15
GATEWAY_INTERFACE = CGI/1.1
.....

where you can see the mod-perl version

CU Klaus

>>I am trying to install wwwdb on Redhat 6.1, Apache-1.3.9-4, mod_perl-1.21-2 and Perl version 5.00503-6. When ever I restart apache I get this error
>>
>>Syntax error on line 352 of /etc/httpd/conf/httpd.conf.
>>Invalid command 'PerlTransHandler', perhaps mis-spelled or defined by a module not included in the server configuration.
>>
>>What module is the error referring to and what is the correct syntax for RedHat?
>
>Hi Mike,
>
>normally this happens only, when mod_perl is not recognised by your apache.
>Please check this.

-- 
smail:	Klaus Reger, Gartenstr. 1, 79341 Kenzingen
mailto:	K.Reger@gmx.de
www(P):	http://www.reger-clan.de
www(G):	http://linux.twc.de/WWWdb
fon:	+49 7644 913500
fax:	+49 7644 913505
mobil:	+49 177 2125122


About this list Date view Thread view Subject view Author view

[ more infos at http://linux.twc.de/WWWdb ]

---------

This archive was generated by hypermail 2.0b3 on Mon Aug 07 2000 - 16:33:56 CEST

archive maintainance: stefan@space.twc.de