Sample apache2 config files anywhere?

Apache 2 has more than httpd.conf

Eg:

Mod_perl.conf
Vhosts/rt.conf
mod_perl-startup.pl
etc…

If I just create a virtual hosts file as suggested, I get:

Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a module not
included in the server configuration

I can get apache to start by moving things to other files, eg in
mod_perl.conf, put

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat

SetHandler perl-script PerlHandler RT::Mason

and apache will start, however I always get broken install page saying I am
almost there…

Please is there any page out there that will actually tell me how to
configure apache for this, without just giving one virtual hosts listing
that doesn’t work (as in manual)?

I have a dedicated server for this running SuSE 9.1 in order to install /
modify anything that RT requires - however just want a docu with “If you are
using apache2, do this…”

Thanks

Dave

winmail.dat (4.14 KB)

Hi,

I had the same problems and find this link:

http://lists.bestpractical.com/pipermail/rt-users/2004-June.txt.gz

When you search for “error-rt”, there are a sample virtual host config.

Best Regards,

TinaAm Dienstag, 17. August 2004 20:38 schrieb David Moore:

Apache 2 has more than httpd.conf

Eg:

Mod_perl.conf
Vhosts/rt.conf
mod_perl-startup.pl
etc…

If I just create a virtual hosts file as suggested, I get:

Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a module
not included in the server configuration

I can get apache to start by moving things to other files, eg in
mod_perl.conf, put

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

PerlSetVar MasonArgsMethod CGI
PerlModule Apache2 Apache::compat

SetHandler perl-script PerlHandler RT::Mason

and apache will start, however I always get broken install page saying I am
almost there…

Please is there any page out there that will actually tell me how to
configure apache for this, without just giving one virtual hosts listing
that doesn’t work (as in manual)?

I have a dedicated server for this running SuSE 9.1 in order to install /
modify anything that RT requires - however just want a docu with “If you
are using apache2, do this…”

Thanks

Dave