Hey guys i know this is something dumb, having issues seeing it. Empresa install on ubuntu 18.04
Standard Apache2 , no Suexec just a testing environment.
Vhost config file:
<VirtualHost 127.0.0.1:80>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /home/remindme/public_html>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ServerName 127.0.0.1
ServerAdmin [email protected]
DocumentRoot /home/remindme/public_html
DirectoryIndex index.mvc
SetEnv MvCONFIG_DIR_MIVA /home/remindme/public_html
SetEnv MvCONFIG_DIR_DATA /home/remindme/mivadata
SetEnv MvCONFIG_DIR_BUILTIN /home/remindme/mivavm/lib/builtins
SetEnv MvCONFIG_DIR_CA /etc/ssl/certs
SetEnv MvCONFIG_SSL_OPENSSL /lib/libssl.so.6
SetEnv MvCONFIG_SSL_CRYPTO /lib/libcrypto.so.6
SetEnv MvCONFIG_DATABASE_MIVASQL /home/remindme/mivavm/lib/databases/mivasql.so
SetEnv MvCONFIG_DATABASE_MYSQL /home/remindme/mivavm/lib/databases/mysql.so
SetEnv MvCONFIG_COOKIES 0
AddType application/x-miva-compiled .mvc
Action application/x-miva-compiled /cgi-bin/mivavm
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/remind_error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Apache2.conf is unaltered. mivavm-v5.33 binary is in place with correct perms, along with env.so renamed to libmivaconfig.so.
Something is causing apache to look at the mivavm binary as a folder and not an executable. Here is the debug error i get.
[Wed Jun 17 12:58:50.479965 2020] [core:info] [pid 14875:tid 140192241010432] [client 127.0.0.1:41064] AH00130: File does not exist: /usr/lib/cgi-bin/mivavm/diagtool.mvc, referer: http://127.0.0.1/
Im sure it is something very dumb cause those are the only ones i do! Been looking at it for 2 hours and my eyes hurt. Hopefully one of you guys will see my mistake right away. Thanks.
Standard Apache2 , no Suexec just a testing environment.
Vhost config file:
<VirtualHost 127.0.0.1:80>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /home/remindme/public_html>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
ServerName 127.0.0.1
ServerAdmin [email protected]
DocumentRoot /home/remindme/public_html
DirectoryIndex index.mvc
SetEnv MvCONFIG_DIR_MIVA /home/remindme/public_html
SetEnv MvCONFIG_DIR_DATA /home/remindme/mivadata
SetEnv MvCONFIG_DIR_BUILTIN /home/remindme/mivavm/lib/builtins
SetEnv MvCONFIG_DIR_CA /etc/ssl/certs
SetEnv MvCONFIG_SSL_OPENSSL /lib/libssl.so.6
SetEnv MvCONFIG_SSL_CRYPTO /lib/libcrypto.so.6
SetEnv MvCONFIG_DATABASE_MIVASQL /home/remindme/mivavm/lib/databases/mivasql.so
SetEnv MvCONFIG_DATABASE_MYSQL /home/remindme/mivavm/lib/databases/mysql.so
SetEnv MvCONFIG_COOKIES 0
AddType application/x-miva-compiled .mvc
Action application/x-miva-compiled /cgi-bin/mivavm
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/remind_error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Apache2.conf is unaltered. mivavm-v5.33 binary is in place with correct perms, along with env.so renamed to libmivaconfig.so.
Something is causing apache to look at the mivavm binary as a folder and not an executable. Here is the debug error i get.
[Wed Jun 17 12:58:50.479965 2020] [core:info] [pid 14875:tid 140192241010432] [client 127.0.0.1:41064] AH00130: File does not exist: /usr/lib/cgi-bin/mivavm/diagtool.mvc, referer: http://127.0.0.1/
Im sure it is something very dumb cause those are the only ones i do! Been looking at it for 2 hours and my eyes hurt. Hopefully one of you guys will see my mistake right away. Thanks.
Comment