<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">My RT3 works great, but I have an apache config question regarding the default page.<br>I often want to connect into my RT via SSH. I do this by building an ssh port forward-- something like:<br><br>ssh -l joseph -L 10080:10.4.5.6:80 ip.of.external.system<br><br>Then if I http://127.0.0.1:10080 I would like to access RT. However, upon doing so, I get the default apache page. My apache config has:<br><br>===<br><VirtualHost 10.4.5.6><br> ServerName 10.4.5.6<br>
DocumentRoot /opt/rt3/share/html<br> AddDefaultCharset UTF-8<br><br>
PerlModule Apache::DBI<br> PerlRequire /opt/rt3/bin/webmux.pl<br><br>
<Location /><br> SetHandler perl-script<br>
PerlHandler RT::Mason<br> </Location><br></VirtualHost><br>===<br><br>I believe the problem is due to the ServerName 10.4.5.6.<br>For testing, if I make it this: ServerName 127.0.0.1:10080<br>RT is accessible through the port forward. But this config will break it for the internal people.<br><br>This web server doesn't need to serve any other content. Can I simply remove the VirtualHost tags and modify the config such that no matter how this web server is reached it will serve RT?<br><br>Thanks!<br><br><br>If life gives you lemons, keep them-- because hey.. free lemons.</td></tr></table><br>