gabbodrummer Posted September 23, 2019 Share Posted September 23, 2019 i have to migrate from prestashop 1.6 to prestashop 1.7, in the new version i have made a multishop site. how should I set the httpd.conf and the conf file of the related site for it to work? now my conf site file is: <VirtualHost *:80> ServerAdmin [email protected] ServerName www.example.it ServerAlias example.it DocumentRoot /home/sites/www.example.it/web/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /home/sites/www.example.it/web/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted </Directory> AddType application/x-httpd-php .php5 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php RewriteEngine on #RewriteCond %{HTTPS} off #RewriteCond %{REQUEST_URI} !^/.well-known/ [NC] #RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [NC,R=301,L] #RewriteOptions inherit </VirtualHost> <VirtualHost *:443> Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateKeyFile /etc/letsencrypt/live/www.example.it/privkey.pem SSLCertificateFile /etc/letsencrypt/live/www.example.it/cert.pem SSLCertificateChainFile /etc/letsencrypt/live/www.example.it/chain.pem ServerAdmin [email protected] ServerName www.example.it ServerAlias example.it DocumentRoot /home/sites/www.example.it/web <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /home/sites/www.example.it/web> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Require all granted </Directory> AddType application/x-httpd-php .php5 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php Header always set Strict-Transport-Security "max-age=63072000; includeSubdomains;" php_admin_value open_basedir "/home/sites/www.example.it:/home/sites/www.example.it/private:/home/sites/www.example.it/tmp:/tmp" php_admin_value session.save_path "/home/sites/www.example.it/tmp" php_admin_value upload_tmp_dir "/var/www/clients/client1/web1/tmp" php_admin_value sendmail_path] "/usr/sbin/sendmail -t -i -f [email protected]" php_admin_value max_input_vars 10500 php_admin_value memory_limit 512M php_admin_value max_execution_time 44000 php_admin_value upload_max_filesize 512M RewriteEngine on RewriteOptions inherit <Directory /home/sites/*/web> AllowOverride All </Directory> </VirtualHost> What should I add or change in this file? is there any other file I need to change? thanks Link to comment Share on other sites More sharing options...
NemoPS Posted September 26, 2019 Share Posted September 26, 2019 It shouldn't really be necessary, you can just set the other domain in cpanel/plesk to point to the main prestashop directory, then create the url for the multishop context Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now