Questions around the Aimeos bundle for the Symfony framework
Forum rules: Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#5041 by Doveman
20 Nov 2017, 18:33
Is it possible to set up multiple installations under one url?
For example:
The root url =
Installation # 1 zlc1 and address it in the browser as
Installation # 2 zlc2 and address it in the browser as

I tried it with just one and it kind of works but I have no idea if there is a way to set the configurations so that the formatting and images don't disappear. Are there any other consequences to doing this?

#5049 by aimeos
20 Nov 2017, 22:48
You should only do this if you need different custom templates for each installation.
One problem we've seen with Laravel in such cases is that the uploaded images in the admin interface are not shown and you need to reconfigure the base URL of the images for each installation:
#5090 by Doveman
24 Nov 2017, 18:16
I would like to be able to do this as I have multiple projects going on that all have different requirements but are being developed on the same url. In the end I will be able to set the live installations up with the url pointing to "web".

This works fine for the admin. All the images are correct and the pages look good. Not so with the client view. All images are lost and the formatting is all gone. Looking at the generated html source it is quite apparent why. Here is a snippet.

<link rel="canonical" href="/zlcsymfony/web/app_dev.php/list" />
<meta name="application-name" content="Aimeos" />
<script type="text/javascript" defer="defer" src="/zlcsymfony/web/app_dev.php/stock?s_prodcode% .... "></script>
<link rel="icon" type="image/x-icon" href="/zlcsymfony/web/favicon.ico" />
<link href="" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="/bundles/aimeosshop/themes/elegance/common.css" />
<link type="text/css" rel="stylesheet" href="/bundles/aimeosshop/themes/elegance/aimeos.css" />

Notice that some of the links have the "/zlcsymfony/web" pre-pended to the link and others don't . I am guessing but I suspect there is no easy solution to this. Correct?
If not I guess I will have to create multiple domains which I was hoping to avoid.