Virtual hosts

i have come to the point of setting up the web interface but it isnt
working. any suggestions.
In the httpd.conf file located in /usr/local/apache/conf i have set up
what i consider to be correct.

Alias /rt2/ /usr/local/rt2/WebRT/html/ #DocumentRoot /usr/local/rt2/WebRT/html/ ServerName hostname.domain.com ServerPath / PerlModule Apache::DBI PerlFreshRestart On PerlRequire /usr/local/rt2/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason

does this look right to any of you cause i dont have a clue and i’m not
getting anything from my web browser.
is there anything else i need to do.

Oliver Parkhouse, MCSE, CCA
IT Support
ATG
+44 118 9565008
+44 7876 703036

  • Oliver Parkhouse wrote on 23 Oct 2001:

i have come to the point of setting up the web interface but it isnt
working. any suggestions.
In the httpd.conf file located in /usr/local/apache/conf i have set up
what i consider to be correct.

Alias /rt2/ /usr/local/rt2/WebRT/html/ #DocumentRoot /usr/local/rt2/WebRT/html/

You should set a document root that points somewhere at least.

ServerName hostname.domain.com
ServerPath /

^^^ Check the apache documentation. This means that you have paths to your
configuration files in /. So if you do: something like
“Customlog log/access_log”, the path to your log file is in /log/access_log.
I dont think this is what you wanted.

PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /usr/local/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason

does this look right to any of you cause i dont have a clue and i’m not
getting anything from my web browser.
is there anything else i need to do.

Everything else is correct.

Did you enable access to these dirs? You’ll want at least:

order deny,allow deny from all order deny,allow deny from all allow from my.ip.network/netmask

Adam

  • Oliver Parkhouse wrote on 23 Oct 2001:

cheers for that. i have implemented all those and even open up the access,
but to no avail.
I am sure it is something simple but cant think what.
Are there any other files that i need to touch? like the config.pm?
cheers

  • please define “isnt working”
  • show us the output from your access log and your error log when trying to
    access the page

Adam

any ideas about the virtual hosting problem?

|+ any ideas about the virtual hosting problem?

What “virtual hosting” problem?