No documentation of Apache's PassengerAppType node
228 views
Skip to first unread message
Stefan Eriksson
unread,
May 28, 2014, 9:22:58 AM5/28/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phusion-...@googlegroups.com
When I try to use this option in my Apache2 vhost to force it to use node env it doesnt work. I get a directory tree which list all my files instead of processing them. If I remove the option:
If you set PassengerStartupFile, you *must* also set PassengerAppType,
otherwise Passenger doesn't know what kind of app it is and ignores
the directory. In your example above, you commented out
PassengerStartupFile.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Thanks for the answer but the thing is, it only works if I comment PassengerAppType node out. If I remove # from above vhost it doesnt load passenger it goes to show all files in the dir.
On Thu, May 29, 2014 at 7:00 PM, Stefan Eriksson <serik...@gmail.com> wrote:
> Thanks for the answer but the thing is, it only works if I comment
> PassengerAppType node out. If I remove # from above vhost it doesnt load
> passenger it goes to show all files in the dir.
>
> Would be great to have an apache2 example alongside nginx here:
> https://github.com/phusion/passenger/wiki/Free-style-Node.js-structure >
> I cant get it to work with the above:
>
> PassengerEnabled on
> PassengerAppType node
> PassengerStartupFile index.js
>
> Goes to:
>
> Index of /
> Name Last modified Size Description
>
> Den torsdagen den 29:e maj 2014 kl. 17:48:24 UTC+2 skrev Hongli Lai:
>>