If you have experience in this area and can lend a hand, please read the rest of this article for the details on what I'm trying to accomplish.
[see the notes for some helpful tips]
OK, here's my setup: DSL line with one static IP (let's say it's 10.0.0.1, even though that's an internal number ... just for ease of typing), no domain name established, Linksys router serving as the firewall and router which is configured via an HTTP server running on port 80, internal network of three machines all established with 192.168.1.x IP numbers. The Mac OS X box is 192.168.1.100, the router is 192.168.1.1. My ISP blocks ports under 1024 to prevent local servers on normal ports.
My objective: To host two separate sites using the one IP number and the OS X box. Site #1 is an internal development site (the dev site for osxhints, actually), hosted on port 80, and residing in the default webserver file location (/Library/WebServer/Documents). I don't want this site accessible to the outside world at all (and it won't be by default, since the ISP blocks port 80 activity). Site #2 is our family's site, accessible (via .htaccess password restrictions) to the outside world, which I'd like to run on port 8080. It's stored in /foo/bar/familysite. My router can forward the 8080 port, so that part is no problem.
What I'd like to be able to do is reach the internal site by using the default "127.0.0.1/" localhost IP, and I need to be able to view the public site on my machine as well (either with 127.0.0.1:8080, or through the public address 10.0.0.1:8080). So the question is how to I modify apache.conf to make this work? I'm not sure what to do about "ServerName" since my box doesn't have one. Here's what I tried in apache.conf:
MAIN SECTION:
I left as is, including the "Port 80", "ServerRoot /Library/WebServer/Documents", and "ServerName myxmachine" (the name of my OS X box, internally) lines.
VIRTUAL HOST SECTION:
I tried the following:
Listen 80I'm sure I'm doing something wrong; I couldn't make this work in any of the methods I tried (I tried using 127. addresses, I tried listening on IP:portnum, etc).
Listen 8080
<VirtualHost 10.0.0.1:8080>
DocumentRoot /foo/bar/familysite
</VirtualHost>
Can anyone walk me through what I might be missing?
-rob.

