User's Manual
Testing the Apache Installation
Beta Draft Getting Started 2-3
Testing the Apache Installation
1. Start your web browser and enter the following URL:
http://localhost
Your browser should display a page similar to:
2. In the default Apache Web server configuration file set up a public virtual
directory as public_html for accessing your PHP files. By using your preferred
editor open the Apache configuration file /etc/httpd/conf/httpd.conf and
remove the "#" character at the start of the line with the following directive:
#UserDir public_html
This enables a browser to make a HTTP request using a registered user on the
system and to serve files from the users $HOME/public_html directory. For
example:
http://localhost/~user
For example: your Apache httpd.conf file should contain the following lines:
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
#UserDir disable
#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
See also: For further information about unlocking an Oracle
Database account, see Chapter 6, "Managing Users and Security", in
the Oracle Database Express Edition 2 Day DBA guide.