Configuring the access.conf file
The access.conf file is the third of three files that must be configured to set up the HTTP server. The access.conf file configured below has no security settings, which means that all HTTP clients can access the HTTP server. In the access.conf file listed below, all values configured appear in bold type.
To configure the access.conf file
1. Click Application Starter, File Manager.
2. Type /etc/apache/ in the Address box.
3. Double-click on access.conf.
4. Configure the access.conf file.
You can refer to the following access.conf file for a reference.
5. Save the access.conf file.
Notes
After you configure the access.conf file, you must restart the HTTP server. For information about restarting the HTTP server, see Starting and stopping the HTTP server.
For information about saving a file in Corel LINUX, see the Corel LINUX User Guide.
In the access.conf file listed below, the "#" symbol means a comment.
# access.conf: Global access configuration
# Online docs at http://www.apache.org/
# This file defines server settings which affect which types of services
# are allowed, and in what circumstances.
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
# Originally by Rob McCool
# This should be changed to whatever you set DocumentRoot to.
<Directory /var/www>
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you (or at least, not yet).
Options Indexes FollowSymLinks
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
AllowOverride None
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
# /usr/lib/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory /usr/lib/cgi-bin>
AllowOverride None
Options ExecCGI FollowSymLinks
</Directory>