Last updated on JUNE 21, 2017
Applies to:Oracle HTTP Server - Version 10.1.2.0.2 and later
Information in this document applies to any platform.
Oracle HTTP Server fails to start with "Invalid command 'RewriteRule', perhaps mis-spelled or defined by a module not included in the server configuration" errors similar to the following:
Syntax error on line 1073 of /app/product/10.1.3.5/OracleAS_1/Apache/Apache/conf/httpd.conf:
Invalid command 'RewriteRule', perhaps mis-spelled or defined by a module not included in the server configuration
Add following line the ORACLE_HOME/Apache/Apache/conf/httpd.conf as below in order to configure reverse proxy between DMZ and APEX Oracle Server.
Backend Server (Where Apex is installed) ORACLE_HOME/Apache/Apache/conf/httpd.conf
NameVirtualHost <backend server IP ADDRESS>:8001
<VirtualHost <backend server IP ADDRESS>:8001>
DocumentRoot /u00/SOA/Apache/Apache/htdocs # Set to the Document root of the server
RewriteRule ^/(.*) https://frontendserver.com/pls/apex$1 [R]
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms