[rt-users] virtual hosts
Adam R Prato
arp-rt2 at metachar.net
Tue Oct 23 11:16:17 EDT 2001
* 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.
>
>
> <VirtualHost ip.address>
> 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
> </Location>
> </VirtualHost>
>
> 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:
<Directory />
order deny,allow
deny from all
</Directory>
<Directory /usr/local/rt2>
order deny,allow
deny from all
allow from my.ip.network/netmask
</Directory>
Adam
More information about the rt-users
mailing list