Oracle HTTP Server Processing Model
4-2
Oracle HTTP Server Administrator’s Guide
Oracle HTTP Server Processing Model
Once Oracle HTTP Server is started, the system is ready to listen for and respond to
http(s) requests. The request processing model is different on UNIX and Windows.
After installation, the main httpd parent process, as well as the child processes, run
as the user who installed Oracle Database. The
User
and
Group
directive are used
to set the privileges for the child processes. These directives are ignored if you are
not running as
root
.The child processes must be able to read all the content that
will be served.
Running Oracle HTTP Server as Root
On UNIX, you will hare to run as root if you want to run on ports less than 1024.
In order to run Oracle HTTP Server as
root
, perform the following steps:
1.
Shutdown Oracle HTTP Server using the following command:
■
UNIX:
ORACLE_HOME
/opmn/bin> opmnctl [verbose] stopproc
ias-component=HTTP_Server
■
Windows:
ORACLE_HOME
\opmn\bin> opmnctl [verbose] stopproc
ias-component=HTTP_Server
2.
Change to root user. Navigate to
ORACLE_HOME
/Apache/Apache/bin
on
UNIX or
ORACLE_HOME
\Apache\Apache\bin
on Windows and execute the
following command:
chown root .apachectl
chmod 6750 .apachectl
3.
Exit
root
.
4.
Restart Oracle HTTP Server using the following command:
■
UNIX:
ORACLE_HOME
/
opmn/bin> opmnctl [verbose] restartproc
ias-component=HTTP_Server
■
Windows:
ORACLE_HOME
\
opmn\bin> opmnctl [verbose]
restartproc ias-component=HTTP_Server
On Windows, Oracle HTTP Server launches a single parent process and one child
process. The child process creates multiple threads that listen and respond to client
requests.
You must decide how you want to set Oracle HTTP Server to handle processes or
threads.
Summary of Contents for HTTP Server
Page 1: ...Oracle HTTP Server Administrator s Guide 10g Release 1 10 1 Part No B12255 01 December 2003 ...
Page 12: ...xii ...
Page 22: ...xxii ...
Page 38: ...About htaccess Files 2 8 Oracle HTTP Server Administrator s Guide ...
Page 52: ...Getting Information about Processes 4 8 Oracle HTTP Server Administrator s Guide ...
Page 60: ...Configuring Reverse Proxies and Load Balancers 5 8 Oracle HTTP Server Administrator s Guide ...
Page 70: ...Specifying Log Files 6 10 Oracle HTTP Server Administrator s Guide ...
Page 170: ...9 6 Oracle HTTP Server Administrator s Guide ...
Page 178: ...opmn xml A 8 Oracle HTTP Server Administrator s Guide ...
Page 212: ...Glossary 10 ...
Page 224: ...Index 12 ...