mardi 16 octobre 2018

How to setup the right config in two nested symfony applications?

I have two symfony application sf1 and sf3 (sf3 inside sf1) .i start with SF1 because the entry points are in sf1 (DocumentRoot "${PORTALROOT}/web" ) and sf1 need a database already configured to be loaded. home page .

I created a Bundle inside sf3 (localhost/setup)setup for the installation of the application and the setting up of the database ... the problem is i can t load the page localhost/setup because we don t have a database yet.

here is my vhost.conf

Listen 8000

Define PORTALROOT "C:/workspace/portal/openbeeportal"

DocumentRoot "${PORTALROOT}/web"

<Directory "${PORTALROOT}/web/">
    AllowOverride All
    Options -Includes -ExecCGI

    <Files autosign.php>
        AuthName "Intranet"
        AuthType SSPI
        SSPIAuth On
        SSPIAuthoritative On
        SSPIOfferBasic Off
        SSPIPerRequestAuth On
        SSPIOmitDomain Off
        require valid-user
    </Files>

    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order Allow,Deny
        Allow from All
    </IfModule>***vhost***
</Directory>




Aucun commentaire:

Enregistrer un commentaire