Preamble: I hope people on this list will tolerate a question that,
while motivated by RoR, is not strictly about RoR. I’m trying to
let colleagues see a RoR site I’m developing, so I need to share the
pages. I’m an academic, and doing this experimentally, so commercial
hosting is not a possibility. I’d like to host the page on my desktop
machine, as I’ve been doing for years with (cough) PHP pages. It seems
that mongrel won’t let me share outside the box, and all the advice
suggests that I should be using apache2. I’ve followed along with quite
a few tutorials for installation and configuration, and things are
working fine locally. The problem is with sharing.
Problem: If I use the control-panel to turn web-sharing OFF, the system
uses apache-2, but it does NOT share pages to the outside world. If I
turn sharing ON, then it shares to the world, but it uses apache-1.
Question: Is there a trick to making the system share out apache-2
Details: I’ve created a startup item as described at
http://developer.apple.com/tools/subversionxcode.html. The system PATH
starts with /opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin. A
“ps aux” reveals that if web-sharing is turned OFF, then I get the
apache-2 versions of httpd, but that if it’s turned ON, I get these, but
also apache-1 versions. This is why I think what I need to do is to
trick the web-sharing part of the control panel.
PS: again, I’m sorry to be asking a question that is not strictly about
RoR. I’m hoping it will be tolerated here, since it’s my guess that
there are others in the same boat. Surely it will be good for RoR when
folks can share pages easily from local machines, as they can with
(again, cough) PHP.