Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Make a copy of the "web" directory into the "public_html" folder on each domain (assuming you are running Apache on Linux)</p> <p>This "web" directory contains the front controllers of your site (app.php and app_dev.php), locate them and edit them on your favorite text editor. Locate this lines:</p> <pre><code>require_once __DIR__.'/../app/bootstrap.php.cache'; require_once __DIR__.'/../app/AppKernel.php'; </code></pre> <p>and change the route to the actual relative path where your core is located. It could be something like this:</p> <pre><code>require_once __DIR__.'/../the_core_is_here/app/bootstrap.php.cache'; require_once __DIR__.'/../the_core_is_here/app/AppKernel.php'; </code></pre> <p>This is flexible, and can be organized as you like, but make sure this two lines have the correct path</p> <p>Keep in mind that all the assets (JS, CSS, images ...) you include into your HTML are relative to the front controller location, so you will need to link them using the full url of the domain name where they reside <strong>or</strong> copy them also to the B domain <strong>or</strong> use assetic </p> <p>At the end you will have something like:</p> <pre><code>/ .. home .. .. DOMAINA .. .. .. public_html .. .. .. .. app.php .. .. .. .. img .. .. .. .. .. image.png .. .. DOMAINB .. .. .. public_html .. .. .. .. app.php .. .. .. .. img .. .. .. .. .. image.png .. .. the_core_is_here .. .. .. app .. .. .. src .. .. .. bin .. .. .. vendor </code></pre> <p>Now you should have 2 entry points for your application. You can even put different CSS and images on each to give them different aspect. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload