Install Prestashop Multishop - Multistore


  • | 820 points

    Hello,

    I have installed Laragon and it works very well with Prestashop when I use a single shop but I am not able to use Prestashop in mode multishop

    Could you please help me?

    This is my auto.mydomain.test.conf file

    define ROOT "C:/laragon/www/mydomain/"
    define INSTALL_DIR "C:/laragon"
    define SITE "mydomain.test"

    <VirtualHost *:80>
    DocumentRoot "${ROOT}"
    ServerName ${SITE}
    ServerAlias *.${SITE}
    <Directory "${ROOT}">
    AllowOverride All
    Require all granted
    </Directory>
    </VirtualHost>

    <VirtualHost *:443>
    DocumentRoot "${ROOT}"
    ServerName ${SITE}
    ServerAlias *.${SITE}
    <Directory "${ROOT}">
    AllowOverride All
    Require all granted
    </Directory>

    SSLEngine on
    SSLCertificateFile      C:/laragon/etc/ssl/laragon.crt
    SSLCertificateKeyFile   C:/laragon/etc/ssl/laragon.key
    

    </VirtualHost>

    Config SSL des Virtual Host mydomain

    <VirtualHost *:80>
    ServerName mydomainshop1
    DocumentRoot "c:/laragon/www/mydomain"
    <Directory "c:/laragon/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
    </Directory>
    </VirtualHost>

    <VirtualHost *:80>
    ServerName mydomainshop2
    DocumentRoot "c:/laragon/www/mydomain"
    <Directory "c:/laragon/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
    </Directory>
    </VirtualHost>

    <VirtualHost *:80>
    ServerName mydomainshop3
    DocumentRoot "c:/laragon/www/mydomain"
    <Directory "c:/laragon/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require local
    </Directory>
    </VirtualHost>

    <VirtualHost *:443>
    DocumentRoot "${INSTALL_DIR}/www/mydomain"
    ServerName mydomainshop1
    ServerAlias mydomainshop1
    <Directory "${INSTALL_DIR}/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride all
    Require local
    </Directory>

    SSLEngine on
    SSLCertificateFile      C:/laragon/etc/ssl/laragon.crt
    SSLCertificateKeyFile   C:/laragon/etc/ssl/laragon.key
    

    </VirtualHost>

    <VirtualHost *:443>
    DocumentRoot "${INSTALL_DIR}/www/mydomain"
    ServerName mydomainshop2
    ServerAlias mydomainshop2
    <Directory "${INSTALL_DIR}/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride all
    Require local
    </Directory>

    SSLEngine on
    SSLCertificateFile      C:/laragon/etc/ssl/laragon.crt
    SSLCertificateKeyFile   C:/laragon/etc/ssl/laragon.key
    

    </VirtualHost>

    <VirtualHost *:443>
    DocumentRoot "${INSTALL_DIR}/www/mydomain"
    ServerName mydomainshop3
    ServerAlias mydomainshop3
    <Directory "${INSTALL_DIR}/www/mydomain/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride all
    Require local
    </Directory>

    SSLEngine on
    SSLCertificateFile      C:/laragon/etc/ssl/laragon.crt
    SSLCertificateKeyFile   C:/laragon/etc/ssl/laragon.key
    

    </VirtualHost>


  • | 820 points

    Hello,
    Vu que tous le monde est confiné, je me demandais si quelqu'un aurais le temps de m'aider à installer un Prestashop multiboutiques en local sur Laragon.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.