[rt-users] virtual host problem (not accessable from internal network)
Brett George
bgeorge at deqx.com
Mon Mar 14 16:28:14 EST 2005
Hi,
I have recently installed request tracker 3.0.12 from debian sarge. I am
accessing the debian machine remotely from my windows machine. The windows
machine is on my home network and the debian machine is on the work network.
The debian machine is running a webserver that is only accessable from the
internal network. I have configured the apache virtual host as follows:
<VirtualHost 192.168.100.30>
ServerName penguin
Alias /rt "/usr/share/request-tracker3/html"
PerlModule Apache:DBI
PerlRequire /usr/share/request-tracker3/libexec/webmux.pl
Include "/etc/request-tracker3/apache-modperl.conf"
<Directory /usr/share/request-tracker3/html>
AllowOverride All
Options ExecCGI FollowSymLinks
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<Location /rt>
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
the RT_SiteConfig.pm file has the following:
Set($WebPath , "/rt");
Set($WebBaseURL , "http://penguin");
NOTE: penguin is the name of the debian machine. Its IP address on the work
network is 192.168.100.30
If I log into the work network and portforward port 80 to my debian machine,
I can access the webpage from my home network by going to
http://localhost/rt/ in IE.
However, if I log into the debian machine directly as root and access the
command line, then type "lynx localhost/rt" (or "lynx 192.168.100.30/rt" or
"lynx penguin/rt"), I receive the 404 not found error. All my other webpages
(such as localhost/index.html) are accessable using both methods of web
access.
Have I configured something incorrectly here?
Any informaion you can provide would be appreciated.
Thanks,
Brett.
More information about the rt-users
mailing list