Skip to content

Multiple instances (production, development, test) on same server #375

@mcjon3z

Description

@mcjon3z

Due to the way that the application names apache config files and file hosting directories based upon campaign ID, it is not possible to host both a development and a production environment simultaneously on the same server without one environment mangling the other. Duplicate ID numbers issued in sequence will affect the other instance to the extent that a change made on one environment happens to have the same ID number present in the other environment. Even if you use separate PF instances running out of separate directories, the apache config files still get mangled because of the store location.

One possible solution would be to change the location of the apache config files to reside in the PF directory and to add that directory as an include in the main apache config file as is done with sites-enabled. This would also keep from having to grant access to www-data to the sites-enabled directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions