Give help. Get help.

  • # December 24, 2012 at 5:11 am

    I have this folder for my app generated with [Yeoman]( “Yeoman”). So this is the folder tree

    – [name]
    – app/ (public)
    – test/ (public)
    – //other stuff

    I need to push all my files to pagoda box, but need to set the app folder to be the public. so when I visit _myapp.pagodabox.com_ I get the contents of the app folder.

    How do I do it?

    # May 14, 2015 at 1:46 pm

    This is more specific to Pagoda Box than CSS in general, but you can do it by setting your httpd_document_root in your Boxfile. Here’s an example:

      type: php
      httpd_document_root: app

    Your app directory will then become your “web root” and load when you go to your domain. Know however that you can only have one document root in a single web. So with this setting, the test directory won’t be accessible through your browser.

    If you needed that to be publicly accessible as well, you’d have to create a second web service and set its httpd_document_root to test.

    Here’s the link to their docs explaining the document root:
    Apache Settings in the Boxfile – Document Root

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.