Wednesday, March 31, 2021

Application Express Limitations in APEX Service

  • Application authentication schemes not supported : LDAP, SSO, HTTP Header variable etc.
  • OCI Web Application Firewall (WAF) service is not natively supported.
  • Deployment of customer managed Oracle REST Data Services is not supported.
  • Custom domain names are not natively supported.
  • Oracle APEX runtime environment is not supported.
  • Option to make a Service Request in Workspace Administration is DISABLED.
  • Option to set SMTP parameters by using the APEX_INSTANCE_ADMIN package only.
  • Limited support of procedures and functions for APEX_INSTANCE_ADMIN
  • Disabled REST Administration interface, Workspace Purge Settings etc.

How to install JDK on linux

 Login to the server

wget https://files-cdn.liferay.com/mirrors/download.oracle.com/otn-pub/java/jdk/8u121-b13/jdk-8u121-linux-x64.rpm

rpm -ivh jdk-8u121-linux-x64.rpm

java -version

vi /etc/profile.d/java.sh

#!/bin/bash

JAVA_HOME=/usr/java/jdk1.8.0_121/

PATH=$JAVA_HOME/bin:$PATH

export PATH JAVA_HOME

export CLASSPATH=.


chmod +x /etc/profile.d/java.sh

source /etc/profile.d/java.sh

java -version

Wednesday, March 24, 2021

How to check which users logged and its time in linux server

 Someone in the server deleted a file. I need to know which user logged in also I need the IP


cat /var/log/secure | grep Accepted | awk '{print $1,$2,$3,$6,$11}'

Mar 22 03:52:19 Accepted 157.49.207.225

Mar 22 04:23:55 Accepted 202.83.59.155

Friday, March 12, 2021

Auto redirection of urls from http to https

Normally when a site is enabled with SSL, we need to auto redirect urls from http to https

Go to your web site's default document root folder.

Open your .httaccess file or create one ( I assume mod redirect is enabled in your web server)

Paste the below code.

RewriteEngine On 
RewriteCond %{HTTPS}  !=on 
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] 

Test your domain without http, it will automatically redirect to https