Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Alias missing #3

Open
zebby76 opened this issue Mar 19, 2020 · 1 comment
Open

Apache Alias missing #3

zebby76 opened this issue Mar 19, 2020 · 1 comment
Assignees

Comments

@zebby76
Copy link
Contributor

zebby76 commented Mar 19, 2020

Il manque un alias par environnement

Exemple :
Alias "/bundles/emsch_assets/" "${ROOT}"
DEVIENT
Alias "/bundles/status_bcss_acc_v1_preview" "${ROOT}"

@theus77
Copy link
Member

theus77 commented Mar 19, 2020

In fact those lines are missing to configure the vhost (apache example):

    if ! [ -z ${ALIAS+x} ]; then
        if ! [ -z ${ENVIRONMENT_ALIAS+x} ]; then
            echo "An environment alias and an alias are defined!"

            cat >> /etc/apache2/conf.d/vhost.conf << EOL
            Alias $ALIAS/bundles/emsch_assets /opt/src/public/bundles/$ENVIRONMENT_ALIAS
EOL
        fi

@zebby76 zebby76 self-assigned this Mar 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants