First, I want to thank you guys for your help! Here are the things that are clear to me now! This is a brand-new vm app and all the configuration for the vm-app is not clear yet. That so that when you click on the OSX FAQ, link;
You will be on at this day (01/31/2019) arriving in a 404 page not found.
Anyway, I do understand that everything is new and we do not have the ABC's of installation and configuration for OSX yet.
Until now, on trying to install the Opencart VM-App on my server, here are my observations.
- First, I have my own OSX server built from scratch with DNS, Bitnami Mamp Apache, PHP and MySQL working fine on port 80/433. My domain is properly (Almost because I am using AT&T ip address and no, it does not reverse to my domain) configured with a Letsencrypt certificate of authority. Making the server works on the OSX Client goes beyond your knowledge of Apache, PHP and MySQL. You also need to know how to configure System Preferences/Network stack and what permissions is set in the OSX directories.
The Bitnami Opencart VM-App have its own Apache, PHP, MySQL and the same installed without any issues and is behaving exactly as they show in introduction page, aka Engineering Portal.
Intruductions to VM Applications
Upon installation the Opencart VM-App pickup (I am assuming) a port 80, internal ip address from a pool of internal addresses available on the network exactly as it shows in this "Getting Started" page. Everything loaded fine and Green, but that is only the half part of the installation and configuration. What is missing here is the other half!
For the Engineering Department to develop: <- Please Engineers, ## read this! -->
- I am sure that (at some point when you are ready), you want to bring the store live on the web (www) by accessing it through your https://yourdomain/yourstore/
Some people would prefer to just have https://yourdomain/
Whatever one decides to do, is this whole part of the configuration story is that is missing here! In my views, this feature could be developed and be available under the tab, "Network", bellow the switching ports feature. Therefore, what could be added here?
[internal ip, example: 192.168.64.5] -> [https://yourdomain/yourstore]
[internal ip, example: 192.168.64.5 ]-> [https://yourdomain/]
An apparently simple thing that involves, (I know) some configuration.
- Apache needs to be configured to accommodate that!
- I am sure it won't hurt to configure your DNS to accommodate that as well.
- Your server/domain (certificate of authority) needs to work in conjunction with the store.
So far all the information that was given to me above are not a complete set of information to finish the Opencart configuration and I want you guys to think throughly about that. There are missing parts as:
Apache "LoadModules", "mod_userdir.so", "mod_vhost_alias.so", "mod_alias.so".
Obs: The reason the "alias" will never work under your original configuration is because, (I suspect) there are not originally an;
Present in the Group of users in the OSX. You can create them but that will be an extra work. Therefore, the permissions that correspond to these users does not respond to the OSX Users/Group hierarchy.
On the OSX, the
User -> should be _www
Group -> should be _www
So, the permissions for the directories should be;
You don't have permission to access /myshop/ on this server.
root# sudo chown -R _www:_www /Users/User/Sites/Store
# User home directories
Must be unchecked! Make sure the user directory exists on apache/conf/users
# Virtual hosts
needs to be unchecked but you must configure the virtual host first, otherwise Apache will give you an error upon restart in the logs.
# Secure (SSL/TLS) connections
Also needs to be configured with all your certificates path in place in the httpd-vhosts.conf.
You also need to correct the permissions on the directories. I think the permissions set originally there on Opencart VM-App does not reflect the OSX regular permissions for the server.
Obs: These are my anticipated observations, nothing is certain or definitive, please test before use. That is what I am doing, testing configurations. Your comments and critique are welcome!