Reputation: 349
How to make prestashop to use prestashop.conf
file which is a clone of 000.default.conf
on my local server?
When I disable 000-default.conf
, prestashop don't load.
When I enable that back, the web-page loads normally.
I've enabled prestashop.conf
and reloaded/restarted Apache.
I use Apache2, prestashop 1.6.1, OS is Linux Mint.
Maybe someone can give me advice what else should I change. I haven't found solution so far.
P.S. prestashop.conf is complete clone of 000-default.conf
.
Upvotes: 0
Views: 3665
Reputation: 139
Have you changed the paths to match these of your website?
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "path/of/your/website"
ServerName website-name.com
Options All Indexes FollowSymLinks
<Directory "path/of/your/website">
DirectoryIndex index.html
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require local
</Directory>
</VirtualHost>
Make shure it is in /etc/apache2/sites-enabled/ !
After modifying this, you'll need to restart the server (sudo apachectl restart)
Upvotes: 2