Skip Headers


Oracle® HTTP Server Administrator's Gui de
10g Release 1 (10.1)

Part Number B12255-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Ta
ble of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback
Go to previous page
Previous
Go to next page
Next
View PDF

9
Frequently Asked Questions

This chapter provides answers to frequently asked questions about Oracle HTTP Ser ver.

See Also:

"Frequently Asked Questions" in the Apache Server docum entation.

Documentation from the Apache Software Foundation i s referenced when applicable.


Note:

Readers using this guide in PDF or hard copy formats will be unable to access third-p arty documentation, which Oracle provides in HTML format only. To access the third-party documentation referenced in this guide, use the HTML version of this guide and click the hyperlinks.


Creating Application-specific Error Pages

Oracle HTTP Server has a default content handler for dealing with errors. You can use the ErrorDocument directive to override the defaults.

See Also:

"ErrorDocument directive" in the Apache Server documentation.

Offering HTTPS to ISP (Virtual Host) Customers

For HTTP, Oracle HTTP Server supports two types of virtual hosts: name-based and IP-based. HTTPS supports only IP-based virtual host s.

If you are using IP-based virtual hosts for HTTP, then the customer has a virtual server listening on port 80 of a per-customer IP address. To provide HTTPS for these customers, simply add an additional virtual host for e ach user listening on port 4443 of that same per-customer IP address and use SSL directives, such as SSL RequireSSL to specify the per-customer SSL characteristics. Note that each customer can have their own wallet and server certific ate.

If you are using name-based virtual hosts for HTTP, each customer has a virtual server listening on port 80 of a shared IP address. To provide HTTPS for those customers, you can add a single shared IP virtual host liste ning on port 4443 of the shared IP address. All customers will share the SSL configuration, including the wallet and ISP's server cer tificate.

See Also:

"Running Oracle HTTP Server as Root" for instructions on running Oracle HTTP Server with ports lesser than 1024.

Using Oracle HTTP Serv er as Cache

You can use the Oracle HTTP Server as a cache by setting the ProxyRequests to "On" and CacheRoot directives.

See Also:

"ProxyRequests and CacheRoot directives" in the Apache Server documentation.

Using Different Language and Character Se t Versions of Document

You can use multiviews, a general name given to the Apache server's ability to provide language and character-specific document variants in response to a request.

See Also: < a name="1008256">

"Multiviews" in the Apache Server documentation.

Sending Proxy Sensitive Requests to Oracle HTTP Server Behind a Firewall

You should use the Proxy directives, and not the Cache directives, to send proxy sensitiv e requests across firewalls.

Oracle HTTP Server Version Number

Oracle HTTP Se rver is based on Apache version 1.3.28.

Apache v2.0 Support with Oracle Database, 10g Release 1 (10.1)

Oracle Database, 10g Release 1 (10.1) is still based on the 1.3.x stack from Apache organization.

Applying Apache Security patches to Oracle HTTP Server

You cannot apply the Apache security patches to Oracle HTTP Server for the following reasons:

< /a>

Supporting PHP

mod_php is not supported, however, you have the following two options:

Creating Application Name Space that Works Across Firewalls and Clusters

The general idea is that all servers in a distributed Web site should agree on a single URL namesp ace. Every server serves some part of that namespace, and is able to redirect or proxy requests for URLs that it does not serve to a server that is "closer" to that URL. For example, your namespaces could be the following:

/
app1/login.html
/app1/catalog.html
/app1/dologin.jsp
/app2/orderFor
m.html
/apps/placeOrder.jsp

We could initia lly map this namespace to two Web servers by putting app1 on server1 and app2 on server2. Server1's configu ration might look like the following:

Redirect permanent /app2 http://server2/app2
Alias /app1 /myApps/application1
<Directory /myApps/application1>
  .
..
</Directory>

Server2's configurati on is complementary. If you decide to partition the namespace by content type (HTML on server, JSP on server2), change server configu ration and move files around, but do not have to make changes to the application itself. The resulting configuration of server1 might look like the following:

RedirectMatch permanent (.*) \.jsp$ http://server2/$1.jsp
AliasMatch ^/app(.*) \.html$ /myPages/application$1.html
<DirectoryMatch "^/myPages/applicati
on\d">
  ...
</DirectoryMatch>

Note that the amount of actual redirection can be minimized by configuring a hardware load balancer to send reques ts to server1 or server2 based on the URL.

Protecting Web Site From Hackers

T here are many attacks, and new attacks are invented everyday. Following are some general guidelines for securing your site. You can n ever be completely secure, but you can avoid being an easy target.