[rt-users] Confusion About Adding the following virtualhost info into /etc/httpd/conf.d/rt3.conf
Stephen Hancock
sh.hancock at gmail.com
Mon Jan 10 14:32:46 EST 2005
We had this problem on one of our (many) installs. We had to
completely reinstall. It seems that mod_perl did not install properly
and was causing all sorts of problems. I guess it could have been
fixed but we just started over. Since this was a new install for us it
didn't impact anything. We are building a new server with bugzilla and
RT - RTFM only on it.
The bottom line here (I think) is that mod_perl is the problem.
On Mon, 10 Jan 2005 10:23:26 -0600, Allyn Baskerville <allynb at adsne.com> wrote:
> I'm now to the point where I need to create a virtual host for RT. The Install Guide says to put the following in
> /etc/httpd/conf.d/rt3.conf:
>
> ======================
> <VirtualHost your.ip.address>
> ServerName your.rt.server.hostname
> DocumentRoot /usr/local/rt3/share/html
> AddDefaultCharset UTF-8
>
> # these four lines apply to Apache2+mod_perl2 only: {{{
> PerlSetVar MasonArgsMethod CGI
> PerlModule Apache2 Apache::compat
> RewriteEngine On
> RewriteRule ^(.*)/$ $1/index.html
> # }}}
>
> PerlModule Apache::DBI
> PerlRequire /usr/local/rt3/bin/webmux.pl
>
> <Location />
> SetHandler perl-script
> PerlHandler RT::Mason
> </Location>
>
> </VirtualHost>
> ============================
> How is apache going to see this? I tried to put this info into my apache config, but I couldn't start apache because of the
> following error:
>
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not included in the server configuration.
>
> I'm confused as to how the virtual host is supposed to be set up. Thanks in advance. Allyn
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
>
>
More information about the rt-users
mailing list