How to publish static HTML pages on the Oracle HTTP Server

          

Explain how to publish static HTML pages on the Oracle HTTP Server.


Oracle HTTP Server (Apache) - Explain how to publish static HTML pages on the Oracle HTTP Server. posted by Babu Kunwar
<<Previous   Next>>

Explain how to publish static HTML pages on the Oracle HTTP Server.

Publishing a HTML file from the OHS is just a simple task you have not to do a lot of task just point to directory conf under ORACLE_HOME/Apache/Apache/conf. Find httpd.conf edit the file with some editor and add the following line to it:

Alias /htmldocs/ “/redirecting/directory/generate/” <Directory / “/redirecting/directory/generate”> Allow from All </Directory>

In order to view the affect we need to restart the server and after restarting provide URL:

http://redirecting.hostname:7777/htmldocs/index.html

The directory attribute is used to enclose a group of directives that apply only to the named directory and subdirectories of that directory.



Write your comment - Share Knowledge and Experience


<<Previous   Next >> 
More links
Oracle database tables

What is a Database Table?
How many types of tables supported by Oracle? Explain them.
Can you explain how to create a aew table in your schema?
Explain with an example how to create a new table by selecting rows from another table.
Depict a sample script for renaming an existing table.
Sample script to drop an existing table.
How to Add a new column to an existing table?............

Interview questions
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring