Thanx! I got it working using mainly what you suggested. Here's how I got it working (in case anyone else is trying to accomplish this):
[1] I enabled mod_write with: sudo a2enmod rewrite
[2] Created the folder "webapp" in server document root (/var/www)
[3] Made the following changes to /etc/apache2/sites-enabled/000-default:
- Changed "AllowOverride None" to "AllowOverride all" for the document root folder:
Code:
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
- Added the following entry:
Code:
<Directory /var/www/webapp>
Options FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
</Directory>
[4] Created the file .htaccess in the webapp folder (/var/www/webapp/.htaccess) with the following content:
Code:
RewriteEngine On
RewriteRule ^(.*)$ http://hostname.dyndns.org:65123/webapp
[5] The ran <sudo /etc/init.d/apache2 force-reload> when I was done.