Hello All
I used Windows VPS hosting (with IIS 7.5) and creating of multistore was very simple:
1. creating shop in OC admin panel, for example testshop
2. executing this from command prompt: appcmd.exe add vdir /app.name:"mysite.com/" /path:/testshop /physicalPath:C:\inetpub\vhosts\mysite.com\httpdocs\shop
My shop is on /shop/ subdirectory and above command worked perfect: when user navigate to url: http://mysite.com/testshop he actually pointed to testshop. There is no need to create any directory or something else, just above steps.
Now I moved to Linux/Ubuntu and Apache2 and I'm looking for such option, where I can create shop on OC admin panel side (this works OK) but how to create virtual directory in Apache?
Maybe it can be solved using .httaccess? I try many options but it was not worked
What I need is to be able to create http://mysite.com/store1, http://mysite.com/store2 etc. and that all of them points to http://mysite.com/shop.
Thank you for any idea.
P.S. I'm using Plesk (not cPanel) and OC version 1.5.6.4
No OC version posted. Although, followed is an example on how to create a virtual directory with .htaccess: https://stackoverflow.com/questions/936 ... cess-files
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello Straightlightstraightlight wrote: ↑Sun Dec 17, 2017 4:29 amNo OC version posted. Although, followed is an example on how to create a virtual directory with .htaccess: https://stackoverflow.com/questions/936 ... cess-files
I'm using 1.5.6.4 and thank you for the link, but I do not understand how it work in my case. I see that I need .htaccess file (mod_rewrite is enabled on Apache) but I don't see how all this should be done. If you understand, could you be so kind and give me some light?
Thanks.
This post might be useful for subdomains: viewtopic.php?f=181&t=200167&p=705674#p705678
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thank you but it is not helped. If there is no store1 directory, link does not work, even if I created new store http://mysite.com/store1straightlight wrote: ↑Sun Dec 17, 2017 5:24 amThis post might be useful for subdomains: viewtopic.php?f=181&t=200167&p=705674#p705678
Who is online
Users browsing this forum: No registered users and 173 guests