I'm still looking to see how to pass a shortcut in, and an export doesn't work either with or without the $ symbol.  and I thought hard links may have been an option but they are not allowed. sigh! 

anyone have any further thoughts ?

thanks

Paul ( who is thinking maybe a windows platform may be an option)

Hi Erik,  yes for the most part you have it correct, though we have a link. (the variable wasn't what I wanted) in a nutshell I'm trying to pass the link to the application to write out a report or file. vs the whole file path.  and just to clarify we have been running on VMS for years which allows for logicals and symbols which we then can use for a shortcut. 

fixed that and had to run  setsebool -P httpd_can_network_connect on

and it works thank you for all your help I learned new things today!!!

thanks

Paul

I didn't realize that selinux was part of RHEL and I changed the path to reflect where the log files is.

facstestlinux mgr]#  semanage fcontext -a -t httpd_sys_rw_content_t '/opt/cspgateway/bin/CSP.log'
[root@facstestlinux mgr]# restorecon -v '/opt/cspgateway/bin/CSP.log'
restorecon reset /opt/cspgateway/bin/CSP.log context unconfined_u:object_r:usr_t:s0->unconfined_u:object_r:httpd_sys_rw_content_t:s0
[root@facstestlinux mgr]#
 

still not working and I tried the whole dir after just doing the log file also restarted httpd and nada...

[root@facstestlinux localusers]#  chown apache:apache /opt/cspgateway/bin/*
[root@facstestlinux localusers]# ls -Z /opt/cspgateway/bin
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   cconnect.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa22.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa22Sys.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa24.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa24Sys.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa2.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPa2Sys.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSP.bak
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPcgi
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPcgiSys
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSP.ini
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSP.log
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPn3.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPn3Sys.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPnsd
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   CSPRT.ini
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   libcrypto.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   libssl.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   libz.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   mod_csp22.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   mod_csp24.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   mod_csp2.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   mod_csp.so
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   nph-CSPcgi
-rwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   nph-CSPcgiSys
drwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   temp
 

hmm no I have cspgateway  and I'm running RHEL 7

  find / -name "CSP.log" 2>/dev/null
/opt/cspgateway/bin/CSP.log
/DSA200/cachesys/csp/bin/CSP.log
[root@facstestlinux localusers]# ls -Z /opt/cspgateway
drwxr-xr-x. root   root   unconfined_u:object_r:usr_t:s0   apache
drwxrwxrwx. apache apache unconfined_u:object_r:usr_t:s0   bin
drwxr-xr-x. root   root   unconfined_u:object_r:usr_t:s0   cache
drwxr-xr-x. root   root   unconfined_u:object_r:usr_t:s0   util

and

root@facstestlinux localusers]# ls -Z /DSA200/cachesys/csp

drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 bin
drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 broker
-rw-rw-r--. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 Default.csp
drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 docbook
-rw-rw-r--. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 favicon.ico
drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 samples
drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 sys
drwxrwxr-x. cacheusr cacheusr unconfined_u:object_r:unlabeled_t:s0 user
 

yes that seems to be the case. they won't support higher than 2015.2 on VMS and whatever version of VMS Intersystems supports. though as mentioned above somewhere I heard it is on a case by case basis.

oh well

I will and as far as platform...

VMS 8.4-1H1 on itanium rx8640

I did take a test box and upgrade it to VMS 8.4.2L1 and Cache seems to be running fine on it, can't put it into production since it's not supported.

Thanks Erik, I do not know who is on the team since I go through the app vendor for any issues.

Paul