On Sat, Aug 20, 2016 at 3:49 PM, Craig Russell <[email protected]> wrote:
> The installation of passenger went just fine, but there was no final 
> instruction to copy the passenger config file to apache2/other.

The instructions are there, just not as clear as I would like.  That's
why I provided the alternate instructions.  Since you included a log,
I'll show you where the instructions are.

> I manually did
> sudo bash -c 'passenger-install-apache2-module --snippet > 
> /etc/apache2/other/passenger.conf’
>
> It did change the behavior a bit. It allowed me to see the whimsy home page 
> on my local machine.

passenger should not be involved in the display of static content.
Perhaps something was cached, perhaps a restart was needed.  In any
cae, glad to see you are past this.

> Sounds like the instructions have changed a bit from “copy this information 
> to apache2/other” to “ your Apache configuration file, and add these lines:"
>
> Maybe the log of installation can help shed some light?
>
> Welcome to the Phusion Passenger Apache 2 module installer, v5.0.30.

[snip]

>
> --------------------------------------------
> Almost there!
>
> Please edit your Apache configuration file, and add these lines:
>
>    LoadModule passenger_module 
> /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30/buildout/apache2/mod_passenger.so
>    <IfModule mod_passenger.c>
>      PassengerRoot /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.0.30
>      PassengerDefaultRuby /usr/local/Cellar/ruby/2.3.1/bin/ruby
>    </IfModule>
>
> After you restart Apache, you are ready to deploy any number of web
> applications on Apache, with a minimum amount of configuration!
>
> Press ENTER when you are done editing.

Those are the instructions.  "your Apache configuration file" isn't as
clear as I would like.  You could have put it directly in
/etc/apache2/httpd.conf, or in a separate file that is included.  I
prefer a separate file.

> --------------------------------------------
>
> Validating installation...
>
>  * Checking whether this Passenger install is in PATH... ✓
>  * Checking whether there are no other Passenger installations... ✓
>  * Checking whether Apache is installed... ✓
>  * Checking whether the Passenger module is correctly configured in Apache... 
> ✓
>
> Everything looks good. :-)

Indeed!

> Craig L Russell
> Architect
> [email protected]
> P.S. A good JDO? O, Gasp!

- Sam Ruby

Reply via email to