This content has been marked as final. Show 2 replies
Well, the first thing to understand is that when you call the Forms Servlet (frmservlet) you are calling a java application and not static content like an html page. So, changing the URL isn't exactly as easy as it would be for a simple web page. On the other hand, hiding the the real URL or redirecting to the proper url can be done fairly easily.
All of these assume you are using Application Server.
OPTION 1 - Hide The URL +(more information can be found in MyOracleSupport note 300326.1)+
<blockquote>There are several ways in which you can hide the real url, but probably the easiest will be to use an IFRAME. The only potential problem with this is that some security software or browser security settings may prevent this from working. So, here's what you do:
1. Using an HTML or text editor, create a static html file with the following code. Replace my Forms url with your own.
2. In the Oracle home from where OHS is running, find the htdocs directory within the OHS (apache) directories.
<HTML> <HEAD> <TITLE>My Application</TITLE> </HEAD> <FRAMESET ROWS="100%,*" FRAMEBORDER=NO FRAMESPACING=0 BORDER=0> <FRAME SRC="http://someServer:port/forms/frmervlet?config=myconfg" NAME="redir_frame"> </FRAMESET> <NOFRAMES> Sorry, your browser does not support frames. Click <A HREF="http://someServer:port/forms/frmervlet?config=myconfg" TARGET=_top>here</A> </NOFRAMES> <BODY> <!-- ADD ANY EXTRA HTML CODE AS NEEDED --> </BODY> </HTML>
3. Rename "index.html", "index.html_original"
4. Copy your html file to this directory and name it "index.html"
It is possible that the html file being used is not "index.html". To determine the correct page, you may need to review your httpd.conf file as this is where the default page is set. Look for DirectoryIndex</blockquote>
OPTION 2 - Redirect To The Proper URL
<blockquote>1. Find and open httpd.conf
2. Within the file, locate this: <Directory />
3. Just below this line add the following. Use your own Forms url
RedirectMatch ^/$ /forms/frmservlet?config=somewhere</blockquote>