I am trying to get Miva Empresa working via a Docker image and think I'm pretty close. But still when I try to open a .mvc file, it just downloads it instead of displaying the html.
I followed the doc as seemed reasonable:
* mivavm and env.so (renamed appropriately) moved to `/usr/local/apache2/cgi-bin/`
* chmod and chown both
* created a `/usr/local/apache2/mivadata` folder and chmod/chown it
* added to the httpd.conf
* restarted apache
Here is the new lines from httpd.conf
I'm not seeing any errors, html pages display as they should, but .mvc just download.
If it matters, I'm running on a Macbook Pro, M1 chip, and using the Macos_x64 mivavm binary. I'm also using the https://hub.docker.com/_/httpd image
I followed the doc as seemed reasonable:
* mivavm and env.so (renamed appropriately) moved to `/usr/local/apache2/cgi-bin/`
* chmod and chown both
* created a `/usr/local/apache2/mivadata` folder and chmod/chown it
* added to the httpd.conf
* restarted apache
Here is the new lines from httpd.conf
Code:
SetEnv HTTP_MvCONFIG_DIR_MIVA /usr/local/apache2/htdocs SetEnv HTTP_MvCONFIG_DIR_DATA /usr/local/apache2/mivadata SetEnv HTTP_MvCONFIG_DIR_BUILTIN /usr/local/sbin/mivavm-v5.35/lib/builtins SetEnv HTTP_MvCONFIG_DIR_CA /etc/ssl/certs SetEnv HTTP_MvCONFIG_FILE_CA /etc/ssl/certs/ca-certificates.crt SetEnv HTTP_MvCONFIG_DATABASE_MIVASQL /usr/local/sbin/mivavm-v5.35/lib/databases/mivasql.so SetEnv HTTP_MvCONFIG_DATABASE_MYSQL /usr/local/sbin/mivavm-v5.35/lib/databases/mysql.so SetEnv HTTP_MvCONFIG_SYSTEMLIB_GD /usr/local/sbin/mivavm-v5.35/lib/builtins/mvlibgd.so SetEnv HTTP_MvCONFIG_SSL_OPENSSL /lib/libssl.so.6 SetEnv HTTP_MvCONFIG_SSL_CRYPTO /lib/libcrypto.so.6 SetEnv HTTP_MvCONFIG_COOKIES 1 AddType application/x-miva-compiled .mvc Action application/x-miva-compiled /cgi-bin/mivavm
If it matters, I'm running on a Macbook Pro, M1 chip, and using the Macos_x64 mivavm binary. I'm also using the https://hub.docker.com/_/httpd image
Comment