Databases Reference
In-Depth Information
Rewrite
Rewrite relies on the
mod_rewrite
module from APACHE to rewrite an incoming
URL and modify the URL dynamically. You enable
mod_rewrite
by adding
RewriteEngine
in the
httpd.conf
coniguration ile.
For example:
#LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine on
RewriteRule ^/application$ http://hostname:port/pls/apex/f?p=102:
This rewrite rule causes the application in the URL to be rewritten to
hostname:port/pls/apex/f?p=102
.
So, application number
102
will show that
http://hostname:port/application
is
rewritten to
hostname:port/pls/apex/f?p=102
.
You need to restart the Web Server before the rewrite rule is taken into account.
The syntax is as follows:
RewriteRule url-pattern new_url [flag optional]
Additional information about rewrite rules can be found in the Apache
documentation at
http://httpd.apache.org/docs/2.0/misc/rewriteguide.
html
.
Security considerations in the HTTP server
You would like to give as little information as possible about yourself. So, you
also need to think about the security aspects when coniguring the web server,
HTTP server.
Some important security considerations related to the HTTP server are as follows:
ServerSignatureOff (Removes server info from error pages)
ServerTokensProd (Removes server version from HTTP header)
Obfuscate the password in the
dads.conf
coniguration ile. The parameter
PlsqlDatabasePassword
speciies the password for logging in to the database.
You can use the
dadTool.pl
utility to obfuscate passwords in the
dads.conf
ile.
You can ind the
dadTool.pl
utility in the following directory:
ORACLE_HTTPSERVER_HOME/ohs/modplsql/conf