Aparentemente está certo, qdo vc roda o httpd não dá nenhum erro???<div><br></div><div>Como vc está tentando acessar o servidor?<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 10:11 PM, Jean Carlo <span dir="ltr"><<a href="mailto:jean.c.goncalves@gmail.com">jean.c.goncalves@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Fedora 9<br>
<br>
#<br>
# This is the main Apache server configuration file.  It contains the<br>
# configuration directives that give the server its instructions.<br>
# See <URL:<a href="http://httpd.apache.org/docs/2.2/" target="_blank">http://httpd.apache.org/docs/2.2/</a>> for detailed information.<br>
# In particular, see<br>
# <URL:<a href="http://httpd.apache.org/docs/2.2/mod/directives.html" target="_blank">http://httpd.apache.org/docs/2.2/mod/directives.html</a>><br>
# for a discussion of each configuration directive.<br>
#<br>
#<br>
# Do NOT simply read the instructions in here without understanding<br>
# what they do.  They're here only as hints or reminders.  If you are unsure<br>
# consult the online docs. You have been warned.<br>
#<br>
# The configuration directives are grouped into three basic sections:<br>
#  1. Directives that control the operation of the Apache server process as a<br>
#     whole (the 'global environment').<br>
#  2. Directives that define the parameters of the 'main' or 'default' server,<br>
#     which responds to requests that aren't handled by a virtual host.<br>
#     These directives also provide default values for the settings<br>
#     of all virtual hosts.<br>
#  3. Settings for virtual hosts, which allow Web requests to be sent to<br>
#     different IP addresses or hostnames and have them handled by the<br>
#     same Apache server process.<br>
#<br>
# Configuration and logfile names: If the filenames you specify for many<br>
# of the server's control files begin with "/" (or "drive:/" for Win32), the<br>
# server will use that explicit path.  If the filenames do *not* begin<br>
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"<br>
# with ServerRoot set to "/etc/httpd" will be interpreted by the<br>
# server as "/etc/httpd/logs/foo.log".<br>
#<br>
<br>
### Section 1: Global Environment<br>
#<br>
# The directives in this section affect the overall operation of Apache,<br>
# such as the number of concurrent requests it can handle or where it<br>
# can find its configuration files.<br>
#<br>
<br>
#<br>
# Don't give away too much information about all the subcomponents<br>
# we are running.  Comment out this line if you don't mind remote sites<br>
# finding out what major optional modules you are running<br>
ServerTokens OS<br>
<br>
#<br>
# ServerRoot: The top of the directory tree under which the server's<br>
# configuration, error, and log files are kept.<br>
#<br>
# NOTE!  If you intend to place this on an NFS (or otherwise network)<br>
# mounted filesystem then please read the LockFile documentation<br>
# (available at<br>
<URL:<a href="http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile" target="_blank">http://httpd.apache.org/docs/2.2/mod/mpm_common.html#lockfile</a>>);<br>
# you will save yourself a lot of trouble.<br>
#<br>
# Do NOT add a slash at the end of the directory path.<br>
#<br>
ServerRoot "/etc/httpd"<br>
<br>
#<br>
# PidFile: The file in which the server should record its process<br>
# identification number when it starts.<br>
#<br>
PidFile run/httpd.pid<br>
<br>
#<br>
# Timeout: The number of seconds before receives and sends time out.<br>
#<br>
Timeout 120<br>
<br>
#<br>
# KeepAlive: Whether or not to allow persistent connections (more than<br>
# one request per connection). Set to "Off" to deactivate.<br>
#<br>
KeepAlive Off<br>
<br>
#<br>
# MaxKeepAliveRequests: The maximum number of requests to allow<br>
# during a persistent connection. Set to 0 to allow an unlimited amount.<br>
# We recommend you leave this number high, for maximum performance.<br>
#<br>
MaxKeepAliveRequests 100<br>
<br>
#<br>
# KeepAliveTimeout: Number of seconds to wait for the next request from the<br>
# same client on the same connection.<br>
#<br>
KeepAliveTimeout 15<br>
<br>
##<br>
## Server-Pool Size Regulation (MPM specific)<br>
##<br>
<br>
# prefork MPM<br>
# StartServers: number of server processes to start<br>
# MinSpareServers: minimum number of server processes which are kept spare<br>
# MaxSpareServers: maximum number of server processes which are kept spare<br>
# ServerLimit: maximum value for MaxClients for the lifetime of the server<br>
# MaxClients: maximum number of server processes allowed to start<br>
# MaxRequestsPerChild: maximum number of requests a server process serves<br>
<IfModule prefork.c><br>
StartServers       8<br>
MinSpareServers    5<br>
MaxSpareServers   20<br>
ServerLimit      256<br>
MaxClients       256<br>
MaxRequestsPerChild  4000<br>
</IfModule><br>
<br>
<br>
# worker MPM<br>
# StartServers: initial number of server processes to start<br>
# MaxClients: maximum number of simultaneous client connections<br>
# MinSpareThreads: minimum number of worker threads which are kept spare<br>
# MaxSpareThreads: maximum number of worker threads which are kept spare<br>
# ThreadsPerChild: constant number of worker threads in each server process<br>
# MaxRequestsPerChild: maximum number of requests a server process serves<br>
<IfModule worker.c><br>
StartServers         2<br>
MaxClients         150<br>
MinSpareThreads     25<br>
MaxSpareThreads     75<br>
ThreadsPerChild     25<br>
MaxRequestsPerChild  0<br>
</IfModule><br>
<br>
#<br>
# Listen: Allows you to bind Apache to specific IP addresses and/or<br>
# ports, in addition to the default. See also the <VirtualHost><br>
# directive.<br>
#<br>
# Change this to Listen on specific IP addresses as shown below to<br>
# prevent Apache from glomming onto all bound IP addresses (<a href="http://0.0.0.0" target="_blank">0.0.0.0</a>)<br>
#<br>
#Listen <a href="http://12.34.56.78:80" target="_blank">12.34.56.78:80</a><br>
Listen 80<br>
<br>
#<br>
# Dynamic Shared Object (DSO) Support<br>
#<br>
# To be able to use the functionality of a module which was built as a DSO you<br>
# have to place corresponding `LoadModule' lines at this location so the<br>
# directives contained in it are actually available _before_ they are used.<br>
# Statically compiled modules (those listed by `httpd -l') do not need<br>
# to be loaded here.<br>
#<br>
# Example:<br>
# LoadModule foo_module modules/mod_foo.so<br>
#<br>
LoadModule auth_basic_module modules/mod_auth_basic.so<br>
LoadModule auth_digest_module modules/mod_auth_digest.so<br>
LoadModule authn_file_module modules/mod_authn_file.so<br>
LoadModule authn_alias_module modules/mod_authn_alias.so<br>
LoadModule authn_anon_module modules/mod_authn_anon.so<br>
LoadModule authn_dbm_module modules/mod_authn_dbm.so<br>
LoadModule authn_default_module modules/mod_authn_default.so<br>
LoadModule authz_host_module modules/mod_authz_host.so<br>
LoadModule authz_user_module modules/mod_authz_user.so<br>
LoadModule authz_owner_module modules/mod_authz_owner.so<br>
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so<br>
LoadModule authz_dbm_module modules/mod_authz_dbm.so<br>
LoadModule authz_default_module modules/mod_authz_default.so<br>
LoadModule ldap_module modules/mod_ldap.so<br>
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br>
LoadModule include_module modules/mod_include.so<br>
LoadModule log_config_module modules/mod_log_config.so<br>
LoadModule logio_module modules/mod_logio.so<br>
LoadModule env_module modules/mod_env.so<br>
LoadModule ext_filter_module modules/mod_ext_filter.so<br>
LoadModule mime_magic_module modules/mod_mime_magic.so<br>
LoadModule expires_module modules/mod_expires.so<br>
LoadModule deflate_module modules/mod_deflate.so<br>
LoadModule headers_module modules/mod_headers.so<br>
LoadModule usertrack_module modules/mod_usertrack.so<br>
LoadModule setenvif_module modules/mod_setenvif.so<br>
LoadModule mime_module modules/mod_mime.so<br>
LoadModule dav_module modules/mod_dav.so<br>
LoadModule status_module modules/mod_status.so<br>
LoadModule autoindex_module modules/mod_autoindex.so<br>
LoadModule info_module modules/mod_info.so<br>
LoadModule dav_fs_module modules/mod_dav_fs.so<br>
LoadModule vhost_alias_module modules/mod_vhost_alias.so<br>
LoadModule negotiation_module modules/mod_negotiation.so<br>
LoadModule dir_module modules/mod_dir.so<br>
LoadModule actions_module modules/mod_actions.so<br>
LoadModule speling_module modules/mod_speling.so<br>
LoadModule userdir_module modules/mod_userdir.so<br>
LoadModule alias_module modules/mod_alias.so<br>
LoadModule rewrite_module modules/mod_rewrite.so<br>
LoadModule proxy_module modules/mod_proxy.so<br>
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br>
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br>
LoadModule proxy_http_module modules/mod_proxy_http.so<br>
LoadModule proxy_connect_module modules/mod_proxy_connect.so<br>
LoadModule cache_module modules/mod_cache.so<br>
LoadModule suexec_module modules/mod_suexec.so<br>
LoadModule disk_cache_module modules/mod_disk_cache.so<br>
LoadModule file_cache_module modules/mod_file_cache.so<br>
LoadModule mem_cache_module modules/mod_mem_cache.so<br>
LoadModule cgi_module modules/mod_cgi.so<br>
<br>
<br>
<br>
#<br>
# The following modules are not loaded by default:<br>
#<br>
#LoadModule cern_meta_module modules/mod_cern_meta.so<br>
#LoadModule asis_module modules/mod_asis.so<br>
<br>
#<br>
# Load config files from the config directory "/etc/httpd/conf.d".<br>
#<br>
Include conf.d/*.conf<br>
<br>
#<br>
# ExtendedStatus controls whether Apache will generate "full" status<br>
# information (ExtendedStatus On) or just basic information (ExtendedStatus<br>
# Off) when the "server-status" handler is called. The default is Off.<br>
#<br>
#ExtendedStatus On<br>
<br>
#<br>
# If you wish httpd to run as a different user or group, you must run<br>
# httpd as root initially and it will switch.<br>
#<br>
# User/Group: The name (or #number) of the user/group to run httpd as.<br>
#  . On SCO (ODT 3) use "User nouser" and "Group nogroup".<br>
#  . On HPUX you may not be able to use shared memory as nobody, and the<br>
#    suggested workaround is to create a user www and use that user.<br>
#  NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)<br>
#  when the value of (unsigned)Group is above 60000;<br>
#  don't use Group #-1 on these systems!<br>
#<br>
User apache<br>
Group apache<br>
<br>
### Section 2: 'Main' server configuration<br>
#<br>
# The directives in this section set up the values used by the 'main'<br>
# server, which responds to any requests that aren't handled by a<br>
# <VirtualHost> definition.  These values also provide defaults for<br>
# any <VirtualHost> containers you may define later in the file.<br>
#<br>
# All of these directives may appear inside <VirtualHost> containers,<br>
# in which case these default settings will be overridden for the<br>
# virtual host being defined.<br>
#<br>
<br>
#<br>
# ServerAdmin: Your address, where problems with the server should be<br>
# e-mailed.  This address appears on some server-generated pages, such<br>
# as error documents.  e.g. <a href="mailto:admin@your-domain.com">admin@your-domain.com</a><br>
#<br>
ServerAdmin root@localhost<br>
<br>
#<br>
# ServerName gives the name and port that the server uses to identify itself.<br>
# This can often be determined automatically, but we recommend you specify<br>
# it explicitly to prevent problems during startup.<br>
#<br>
# If this is not set to valid DNS name for your host, server-generated<br>
# redirections will not work.  See also the UseCanonicalName directive.<br>
#<br>
# If your host doesn't have a registered DNS name, enter its IP address here.<br>
# You will have to access it by its address anyway, and this will make<br>
# redirections work in a sensible way.<br>
#<br>
#ServerName <a href="http://www.example.com:80" target="_blank">www.example.com:80</a><br>
<br>
#<br>
# UseCanonicalName: Determines how Apache constructs self-referencing<br>
# URLs and the SERVER_NAME and SERVER_PORT variables.<br>
# When set "Off", Apache will use the Hostname and Port supplied<br>
# by the client.  When set "On", Apache will use the value of the<br>
# ServerName directive.<br>
#<br>
UseCanonicalName Off<br>
<br>
#<br>
# DocumentRoot: The directory out of which you will serve your<br>
# documents. By default, all requests are taken from this directory, but<br>
# symbolic links and aliases may be used to point to other locations.<br>
#<br>
DocumentRoot "/var/www/"<br>
<br>
#<br>
# Each directory to which Apache has access can be configured with respect<br>
# to which services and features are allowed and/or disabled in that<br>
# directory (and its subdirectories).<br>
#<br>
# First, we configure the "default" to be a very restrictive set of<br>
# features.<br>
#<br>
<Directory /><br>
    Options FollowSymLinks<br>
    AllowOverride None<br>
</Directory><br>
<br>
#<br>
# Note that from this point forward you must specifically allow<br>
# particular features to be enabled - so if something's not working as<br>
# you might expect, make sure that you have specifically enabled it<br>
# below.<br>
#<br>
<br>
#<br>
# This should be changed to whatever you set DocumentRoot to.<br>
#<br>
<Directory "/var/www/html"><br>
<br>
#<br>
# Possible values for the Options directive are "None", "All",<br>
# or any combination of:<br>
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<br>
#<br>
# Note that "MultiViews" must be named *explicitly* --- "Options All"<br>
# doesn't give it to you.<br>
#<br>
# The Options directive is both complicated and important.  Please see<br>
# <a href="http://httpd.apache.org/docs/2.2/mod/core.html#options" target="_blank">http://httpd.apache.org/docs/2.2/mod/core.html#options</a><br>
# for more information.<br>
#<br>
        Options Indexes FollowSymLinks<br>
<br>
<br>
#<br>
# AllowOverride controls what directives may be placed in .htaccess files.<br>
# It can be "All", "None", or any combination of the keywords:<br>
#   Options FileInfo AuthConfig Limit<br>
#<br>
<br>
RewriteEngine on<br>
 AllowOverride All<br>
<br>
#<br>
# Controls who can get stuff from this server.<br>
#<br>
    Order allow,deny<br>
    Allow from all<br>
<br>
</Directory><br>
<br>
#<br>
# UserDir: The name of the directory that is appended onto a user's home<br>
# directory if a ~user request is received.<br>
#<br>
# The path to the end user account 'public_html' directory must be<br>
# accessible to the webserver userid.  This usually means that ~userid<br>
# must have permissions of 711, ~userid/public_html must have permissions<br>
# of 755, and documents contained therein must be world-readable.<br>
# Otherwise, the client will only receive a "403 Forbidden" message.<br>
#<br>
# See also: <a href="http://httpd.apache.org/docs/misc/FAQ.html#forbidden" target="_blank">http://httpd.apache.org/docs/misc/FAQ.html#forbidden</a><br>
#<br>
<IfModule mod_userdir.c><br>
    #<br>
    # UserDir is disabled by default since it can confirm the presence<br>
    # of a username on the system (depending on home directory<br>
    # permissions).<br>
    #<br>
    UserDir disable<br>
<br>
    #<br>
    # To enable requests to /~user/ to serve the user's public_html<br>
    # directory, remove the "UserDir disable" line above, and uncomment<br>
    # the following line instead:<br>
    #<br>
    #UserDir public_html<br>
<br>
</IfModule><br>
<br>
#<br>
# Control access to UserDir directories.  The following is an example<br>
# for a site where these directories are restricted to read-only.<br>
#<br>
#<Directory /home/*/public_html><br>
#    AllowOverride FileInfo AuthConfig Limit<br>
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec<br>
#    <Limit GET POST OPTIONS><br>
#        Order allow,deny<br>
#        Allow from all<br>
#    </Limit><br>
#    <LimitExcept GET POST OPTIONS><br>
#        Order deny,allow<br>
#        Deny from all<br>
#    </LimitExcept><br>
#</Directory><br>
<br>
#<br>
# DirectoryIndex: sets the file that Apache will serve if a directory<br>
# is requested.<br>
#<br>
# The index.html.var file (a type-map) is used to deliver content-<br>
# negotiated documents.  The MultiViews Option can be used for the<br>
# same purpose, but it is much slower.<br>
#<br>
DirectoryIndex index.html index.html.var<br>
<br>
#<br>
# AccessFileName: The name of the file to look for in each directory<br>
# for additional configuration directives.  See also the AllowOverride<br>
# directive.<br>
#<br>
AccessFileName .htaccess<br>
<br>
#<br>
# The following lines prevent .htaccess and .htpasswd files from being<br>
# viewed by Web clients.<br>
#<br>
<Files ~ "^\.ht"><br>
    Order allow,deny<br>
    Deny from all<br>
</Files><br>
<br>
#<br>
# TypesConfig describes where the mime.types file (or equivalent) is<br>
# to be found.<br>
#<br>
TypesConfig /etc/mime.types<br>
<br>
#<br>
# DefaultType is the default MIME type the server will use for a document<br>
# if it cannot otherwise determine one, such as from filename extensions.<br>
# If your server contains mostly text or HTML documents, "text/plain" is<br>
# a good value.  If most of your content is binary, such as applications<br>
# or images, you may want to use "application/octet-stream" instead to<br>
# keep browsers from trying to display binary files as though they are<br>
# text.<br>
#<br>
DefaultType text/plain<br>
<br>
#<br>
# The mod_mime_magic module allows the server to use various hints from the<br>
# contents of the file itself to determine its type.  The MIMEMagicFile<br>
# directive tells the module where the hint definitions are located.<br>
#<br>
<IfModule mod_mime_magic.c><br>
#   MIMEMagicFile /usr/share/magic.mime<br>
    MIMEMagicFile conf/magic<br>
</IfModule><br>
<br>
#<br>
# HostnameLookups: Log the names of clients or just their IP addresses<br>
# e.g., <a href="http://www.apache.org" target="_blank">www.apache.org</a> (on) or <a href="http://204.62.129.132" target="_blank">204.62.129.132</a> (off).<br>
# The default is off because it'd be overall better for the net if people<br>
# had to knowingly turn this feature on, since enabling it means that<br>
# each client request will result in AT LEAST one lookup request to the<br>
# nameserver.<br>
#<br>
HostnameLookups Off<br>
<br>
#<br>
# EnableMMAP: Control whether memory-mapping is used to deliver<br>
# files (assuming that the underlying OS supports it).<br>
# The default is on; turn this off if you serve from NFS-mounted<br>
# filesystems.  On some systems, turning it off (regardless of<br>
# filesystem) can improve performance; for details, please see<br>
# <a href="http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap" target="_blank">http://httpd.apache.org/docs/2.2/mod/core.html#enablemmap</a><br>
#<br>
#EnableMMAP off<br>
<br>
#<br>
# EnableSendfile: Control whether the sendfile kernel support is<br>
# used to deliver files (assuming that the OS supports it).<br>
# The default is on; turn this off if you serve from NFS-mounted<br>
# filesystems.  Please see<br>
# <a href="http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile" target="_blank">http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile</a><br>
#<br>
#EnableSendfile off<br>
<br>
#<br>
# ErrorLog: The location of the error log file.<br>
# If you do not specify an ErrorLog directive within a <VirtualHost><br>
# container, error messages relating to that virtual host will be<br>
# logged here.  If you *do* define an error logfile for a <VirtualHost><br>
# container, that host's errors will be logged there and not here.<br>
#<br>
ErrorLog logs/error_log<br>
<br>
#<br>
# LogLevel: Control the number of messages logged to the error_log.<br>
# Possible values include: debug, info, notice, warn, error, crit,<br>
# alert, emerg.<br>
#<br>
LogLevel warn<br>
<br>
#<br>
# The following directives define some format nicknames for use with<br>
# a CustomLog directive (see below).<br>
#<br>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"<br>
\"%{User-Agent}i\"" combined<br>
LogFormat "%h %l %u %t \"%r\" %>s %b" common<br>
LogFormat "%{Referer}i -> %U" referer<br>
LogFormat "%{User-agent}i" agent<br>
<br>
# "combinedio" includes actual counts of actual bytes received (%I)<br>
and sent (%O); this<br>
# requires the mod_logio module to be loaded.<br>
#LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"<br>
\"%{User-Agent}i\" %I %O" combinedio<br>
<br>
#<br>
# The location and format of the access logfile (Common Logfile Format).<br>
# If you do not define any access logfiles within a <VirtualHost><br>
# container, they will be logged here.  Contrariwise, if you *do*<br>
# define per-<VirtualHost> access logfiles, transactions will be<br>
# logged therein and *not* in this file.<br>
#<br>
#CustomLog logs/access_log common<br>
<br>
#<br>
# If you would like to have separate agent and referer logfiles, uncomment<br>
# the following directives.<br>
#<br>
#CustomLog logs/referer_log referer<br>
#CustomLog logs/agent_log agent<br>
<br>
#<br>
# For a single logfile with access, agent, and referer information<br>
# (Combined Logfile Format), use the following directive:<br>
#<br>
CustomLog logs/access_log combined<br>
<br>
#<br>
# Optionally add a line containing the server version and virtual host<br>
# name to server-generated pages (internal error documents, FTP directory<br>
# listings, mod_status and mod_info output etc., but not CGI generated<br>
# documents or custom error documents).<br>
# Set to "EMail" to also include a mailto: link to the ServerAdmin.<br>
# Set to one of:  On | Off | EMail<br>
#<br>
ServerSignature On<br>
<br>
#<br>
# Aliases: Add here as many aliases as you need (with no limit). The format is<br>
# Alias fakename realname<br>
#<br>
# Note that if you include a trailing / on fakename then the server will<br>
# require it to be present in the URL.  So "/icons" isn't aliased in this<br>
# example, only "/icons/".  If the fakename is slash-terminated, then the<br>
# realname must also be slash terminated, and if the fakename omits the<br>
# trailing slash, the realname must also omit it.<br>
#<br>
# We include the /icons/ alias for FancyIndexed directory listings.  If you<br>
# do not use FancyIndexing, you may comment this out.<br>
#<br>
Alias /icons/ "/var/www/icons/"<br>
<br>
<Directory "/var/www/icons"><br>
    Options Indexes MultiViews FollowSymLinks<br>
    AllowOverride None<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
#<br>
# WebDAV module configuration section.<br>
#<br>
<IfModule mod_dav_fs.c><br>
    # Location of the WebDAV lock database.<br>
    DAVLockDB /var/lib/dav/lockdb<br>
</IfModule><br>
<br>
#<br>
# ScriptAlias: This controls which directories contain server scripts.<br>
# ScriptAliases are essentially the same as Aliases, except that<br>
# documents in the realname directory are treated as applications and<br>
# run by the server when requested rather than as documents sent to the client.<br>
# The same rules about trailing "/" apply to ScriptAlias directives as to<br>
# Alias.<br>
#<br>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"<br>
<br>
#<br>
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased<br>
# CGI directory exists, if you have that configured.<br>
#<br>
<Directory "/var/www/cgi-bin"><br>
    AllowOverride None<br>
    Options None<br>
    Order allow,deny<br>
    Allow from all<br>
</Directory><br>
<br>
#<br>
# Redirect allows you to tell clients about documents which used to exist in<br>
# your server's namespace, but do not anymore. This allows you to tell the<br>
# clients where to look for the relocated document.<br>
# Example:<br>
# Redirect permanent /foo <a href="http://www.example.com/bar" target="_blank">http://www.example.com/bar</a><br>
<br>
#<br>
# Directives controlling the display of server-generated directory listings.<br>
#<br>
<br>
#<br>
# IndexOptions: Controls the appearance of server-generated directory<br>
# listings.<br>
#<br>
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable<br>
<br>
#<br>
# AddIcon* directives tell the server which icon to show for different<br>
# files or filename extensions.  These are only displayed for<br>
# FancyIndexed directories.<br>
#<br>
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip<br>
<br>
AddIconByType (TXT,/icons/text.gif) text/*<br>
AddIconByType (IMG,/icons/image2.gif) image/*<br>
AddIconByType (SND,/icons/sound2.gif) audio/*<br>
AddIconByType (VID,/icons/movie.gif) video/*<br>
<br>
AddIcon /icons/binary.gif .bin .exe<br>
AddIcon /icons/binhex.gif .hqx<br>
AddIcon /icons/tar.gif .tar<br>
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<br>
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<br>
AddIcon /icons/a.gif .ps .ai .eps<br>
AddIcon /icons/layout.gif .html .shtml .htm .pdf<br>
AddIcon /icons/text.gif .txt<br>
AddIcon /icons/c.gif .c<br>
AddIcon /icons/p.gif .pl .py<br>
AddIcon /icons/f.gif .for<br>
AddIcon /icons/dvi.gif .dvi<br>
AddIcon /icons/uuencoded.gif .uu<br>
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<br>
AddIcon /icons/tex.gif .tex<br>
AddIcon /icons/bomb.gif core<br>
<br>
AddIcon /icons/back.gif ..<br>
AddIcon /icons/hand.right.gif README<br>
AddIcon /icons/folder.gif ^^DIRECTORY^^<br>
AddIcon /icons/blank.gif ^^BLANKICON^^<br>
<br>
#<br>
# DefaultIcon is which icon to show for files which do not have an icon<br>
# explicitly set.<br>
#<br>
DefaultIcon /icons/unknown.gif<br>
<br>
#<br>
# AddDescription allows you to place a short description after a file in<br>
# server-generated indexes.  These are only displayed for FancyIndexed<br>
# directories.<br>
# Format: AddDescription "description" filename<br>
#<br>
#AddDescription "GZIP compressed document" .gz<br>
#AddDescription "tar archive" .tar<br>
#AddDescription "GZIP compressed tar archive" .tgz<br>
<br>
#<br>
# ReadmeName is the name of the README file the server will look for by<br>
# default, and append to directory listings.<br>
#<br>
# HeaderName is the name of a file which should be prepended to<br>
# directory indexes.<br>
ReadmeName README.html<br>
HeaderName HEADER.html<br>
<br>
#<br>
# IndexIgnore is a set of filenames which directory indexing should ignore<br>
# and not include in the listing.  Shell-style wildcarding is permitted.<br>
#<br>
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t<br>
<br>
#<br>
# DefaultLanguage and AddLanguage allows you to specify the language of<br>
# a document. You can then use content negotiation to give a browser a<br>
# file in a language the user can understand.<br>
#<br>
# Specify a default language. This means that all data<br>
# going out without a specific language tag (see below) will<br>
# be marked with this one. You probably do NOT want to set<br>
# this unless you are sure it is correct for all cases.<br>
#<br>
# * It is generally better to not mark a page as<br>
# * being a certain language than marking it with the wrong<br>
# * language!<br>
#<br>
# DefaultLanguage nl<br>
#<br>
# Note 1: The suffix does not have to be the same as the language<br>
# keyword --- those with documents in Polish (whose net-standard<br>
# language code is pl) may wish to use "AddLanguage pl .po" to<br>
# avoid the ambiguity with the common suffix for perl scripts.<br>
#<br>
# Note 2: The example entries below illustrate that in some cases<br>
# the two character 'Language' abbreviation is not identical to<br>
# the two character 'Country' code for its country,<br>
# E.g. 'Danmark/dk' versus 'Danish/da'.<br>
#<br>
# Note 3: In the case of 'ltz' we violate the RFC by using a three char<br>
# specifier. There is 'work in progress' to fix this and get<br>
# the reference data for rfc1766 cleaned up.<br>
#<br>
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)<br>
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)<br>
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)<br>
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)<br>
# Norwegian (no) - Polish (pl) - Portugese (pt)<br>
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)<br>
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)<br>
#<br>
AddLanguage ca .ca<br>
AddLanguage cs .cz .cs<br>
AddLanguage da .dk<br>
AddLanguage de .de<br>
AddLanguage el .el<br>
AddLanguage en .en<br>
AddLanguage eo .eo<br>
AddLanguage es .es<br>
AddLanguage et .et<br>
AddLanguage fr .fr<br>
AddLanguage he .he<br>
AddLanguage hr .hr<br>
AddLanguage it .it<br>
AddLanguage ja .ja<br>
AddLanguage ko .ko<br>
AddLanguage ltz .ltz<br>
AddLanguage nl .nl<br>
AddLanguage nn .nn<br>
AddLanguage no .no<br>
AddLanguage pl .po<br>
AddLanguage pt .pt<br>
AddLanguage pt-BR .pt-br<br>
AddLanguage ru .ru<br>
AddLanguage sv .sv<br>
AddLanguage zh-CN .zh-cn<br>
AddLanguage zh-TW .zh-tw<br>
<br>
#<br>
# LanguagePriority allows you to give precedence to some languages<br>
# in case of a tie during content negotiation.<br>
#<br>
# Just list the languages in decreasing order of preference. We have<br>
# more or less alphabetized them here. You probably want to change this.<br>
#<br>
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl<br>
nn no pl pt pt-BR ru sv zh-CN zh-TW<br>
<br>
#<br>
# ForceLanguagePriority allows you to serve a result page rather than<br>
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)<br>
# [in case no accepted languages matched the available variants]<br>
#<br>
ForceLanguagePriority Prefer Fallback<br>
<br>
#<br>
# Specify a default charset for all content served; this enables<br>
# interpretation of all content as UTF-8 by default.  To use the<br>
# default browser choice (ISO-8859-1), or to allow the META tags<br>
# in HTML content to override this choice, comment out this<br>
# directive:<br>
#<br>
AddDefaultCharset UTF-8<br>
<br>
#<br>
# AddType allows you to add to or override the MIME configuration<br>
# file mime.types for specific file types.<br>
#<br>
#AddType application/x-tar .tgz<br>
<br>
#<br>
# AddEncoding allows you to have certain browsers uncompress<br>
# information on the fly. Note: Not all browsers support this.<br>
# Despite the name similarity, the following Add* directives have nothing<br>
# to do with the FancyIndexing customization directives above.<br>
#<br>
#AddEncoding x-compress .Z<br>
#AddEncoding x-gzip .gz .tgz<br>
<br>
# If the AddEncoding directives above are commented-out, then you<br>
# probably should define those extensions to indicate media types:<br>
#<br>
AddType application/x-compress .Z<br>
AddType application/x-gzip .gz .tgz<br>
<br>
#<br>
# AddHandler allows you to map certain file extensions to "handlers":<br>
# actions unrelated to filetype. These can be either built into the server<br>
# or added with the Action directive (see below)<br>
#<br>
# To use CGI scripts outside of ScriptAliased directories:<br>
# (You will also need to add "ExecCGI" to the "Options" directive.)<br>
#<br>
#AddHandler cgi-script .cgi<br>
<br>
#<br>
# For files that include their own HTTP headers:<br>
#<br>
#AddHandler send-as-is asis<br>
<br>
#<br>
# For type maps (negotiated resources):<br>
# (This is enabled by default to allow the Apache "It Worked" page<br>
#  to be distributed in multiple languages.)<br>
#<br>
AddHandler type-map var<br>
<br>
#<br>
# Filters allow you to process content before it is sent to the client.<br>
#<br>
# To parse .shtml files for server-side includes (SSI):<br>
# (You will also need to add "Includes" to the "Options" directive.)<br>
#<br>
AddType text/html .shtml<br>
AddOutputFilter INCLUDES .shtml<br>
<br>
#<br>
# Action lets you define media types that will execute a script whenever<br>
# a matching file is called. This eliminates the need for repeated URL<br>
# pathnames for oft-used CGI file processors.<br>
# Format: Action media/type /cgi-script/location<br>
# Format: Action handler-name /cgi-script/location<br>
#<br>
<br>
#<br>
# Customizable error responses come in three flavors:<br>
# 1) plain text 2) local redirects 3) external redirects<br>
#<br>
# Some examples:<br>
#ErrorDocument 500 "The server made a boo boo."<br>
#ErrorDocument 404 /missing.html<br>
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"<br>
#ErrorDocument 402 <a href="http://www.example.com/subscription_info.html" target="_blank">http://www.example.com/subscription_info.html</a><br>
#<br>
<br>
#<br>
# Putting this all together, we can internationalize error responses.<br>
#<br>
# We use Alias to redirect any /error/HTTP_<error>.html.var response to<br>
# our collection of by-error message multi-language collections.  We use<br>
# includes to substitute the appropriate text.<br>
#<br>
# You can modify the messages' appearance without changing any of the<br>
# default HTTP_<error>.html.var files by adding the line:<br>
#<br>
#   Alias /error/include/ "/your/include/path/"<br>
#<br>
# which allows you to create your own set of files by starting with the<br>
# /var/www/error/include/ files and<br>
# copying them to /your/include/path/, even on a per-VirtualHost basis.<br>
#<br>
<br>
Alias /error/ "/var/www/error/"<br>
<br>
<IfModule mod_negotiation.c><br>
<IfModule mod_include.c><br>
    <Directory "/var/www/error"><br>
        AllowOverride None<br>
        Options IncludesNoExec<br>
        AddOutputFilter Includes html<br>
        AddHandler type-map var<br>
        Order allow,deny<br>
        Allow from all<br>
        LanguagePriority en es de fr<br>
        ForceLanguagePriority Prefer Fallback<br>
    </Directory><br>
<br>
#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var<br>
#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var<br>
#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var<br>
#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var<br>
#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var<br>
#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var<br>
#    ErrorDocument 410 /error/HTTP_GONE.html.var<br>
#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var<br>
#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var<br>
#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var<br>
#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var<br>
#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var<br>
#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var<br>
#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var<br>
#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var<br>
#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var<br>
#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var<br>
<br>
</IfModule><br>
</IfModule><br>
<br>
#<br>
# The following directives modify normal HTTP response behavior to<br>
# handle known problems with browser implementations.<br>
#<br>
BrowserMatch "Mozilla/2" nokeepalive<br>
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0<br>
BrowserMatch "RealPlayer 4\.0" force-response-1.0<br>
BrowserMatch "Java/1\.0" force-response-1.0<br>
BrowserMatch "JDK/1\.0" force-response-1.0<br>
<br>
#<br>
# The following directive disables redirects on non-GET requests for<br>
# a directory that does not include the trailing slash.  This fixes a<br>
# problem with Microsoft WebFolders which does not appropriately handle<br>
# redirects for folders with DAV methods.<br>
# Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.<br>
#<br>
BrowserMatch "Microsoft Data Access Internet Publishing Provider"<br>
redirect-carefully<br>
BrowserMatch "MS FrontPage" redirect-carefully<br>
BrowserMatch "^WebDrive" redirect-carefully<br>
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully<br>
BrowserMatch "^gnome-vfs/1.0" redirect-carefully<br>
BrowserMatch "^XML Spy" redirect-carefully<br>
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully<br>
<br>
#<br>
# Allow server status reports generated by mod_status,<br>
# with the URL of <a href="http://servername/server-status" target="_blank">http://servername/server-status</a><br>
# Change the ".<a href="http://example.com" target="_blank">example.com</a>" to match your domain to enable.<br>
#<br>
#<Location /server-status><br>
#    SetHandler server-status<br>
#    Order deny,allow<br>
#    Deny from all<br>
#    Allow from .<a href="http://example.com" target="_blank">example.com</a><br>
#</Location><br>
<br>
#<br>
# Allow remote server configuration reports, with the URL of<br>
#  <a href="http://servername/server-info" target="_blank">http://servername/server-info</a> (requires that mod_info.c be loaded).<br>
# Change the ".<a href="http://example.com" target="_blank">example.com</a>" to match your domain to enable.<br>
#<br>
#<Location /server-info><br>
#    SetHandler server-info<br>
#    Order deny,allow<br>
#    Deny from all<br>
#    Allow from .<a href="http://example.com" target="_blank">example.com</a><br>
#</Location><br>
<br>
#<br>
# Proxy Server directives. Uncomment the following lines to<br>
# enable the proxy server:<br>
#<br>
#<IfModule mod_proxy.c><br>
#ProxyRequests On<br>
#<br>
#<Proxy *><br>
#    Order deny,allow<br>
#    Deny from all<br>
#    Allow from .<a href="http://example.com" target="_blank">example.com</a><br>
#</Proxy><br>
<br>
#<br>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.<br>
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)<br>
# Set to one of: Off | On | Full | Block<br>
#<br>
#ProxyVia On<br>
<br>
#<br>
# To enable a cache of proxied content, uncomment the following lines.<br>
# See <a href="http://httpd.apache.org/docs/2.2/mod/mod_cache.html" target="_blank">http://httpd.apache.org/docs/2.2/mod/mod_cache.html</a> for more details.<br>
#<br>
#<IfModule mod_disk_cache.c><br>
#   CacheEnable disk /<br>
#   CacheRoot "/var/cache/mod_proxy"<br>
#</IfModule><br>
#<br>
<br>
#</IfModule><br>
# End of proxy directives.<br>
<br>
### Section 3: Virtual Hosts<br>
#<br>
# VirtualHost: If you want to maintain multiple domains/hostnames on your<br>
# machine you can setup VirtualHost containers for them. Most configurations<br>
# use only name-based virtual hosts so the server doesn't need to worry about<br>
# IP addresses. This is indicated by the asterisks in the directives below.<br>
#<br>
# Please see the documentation at<br>
# <URL:<a href="http://httpd.apache.org/docs/2.2/vhosts/" target="_blank">http://httpd.apache.org/docs/2.2/vhosts/</a>><br>
# for further details before you try to setup virtual hosts.<br>
#<br>
# You may use the command line option '-S' to verify your virtual host<br>
# configuration.<br>
<br>
#<br>
# Use name-based virtual hosting.<br>
#<br>
#NameVirtualHost *:80<br>
#<br>
# NOTE: NameVirtualHost cannot be used without a port specifier<br>
# (e.g. :80) if mod_ssl is being used, due to the nature of the<br>
# SSL protocol.<br>
#<br>
<br>
#<br>
# VirtualHost example:<br>
# Almost any Apache directive may go into a VirtualHost container.<br>
# The first VirtualHost section is used for requests without a known<br>
# server name.<br>
#<br>
#<VirtualHost *:80><br>
#    ServerAdmin <a href="mailto:webmaster@dummy-host.example.com">webmaster@dummy-host.example.com</a><br>
#    DocumentRoot /www/docs/<a href="http://dummy-host.example.com" target="_blank">dummy-host.example.com</a><br>
#    ServerName <a href="http://dummy-host.example.com" target="_blank">dummy-host.example.com</a><br>
#    ErrorLog logs/dummy-host.example.com-error_log<br>
#    CustomLog logs/dummy-host.example.com-access_log common<br>
#</VirtualHost><br><div><div class="Wj3C7c"><br>
--<br>
Fedora-users-br mailing list<br>
<a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Gabriel Z. Lovison<br>
</div>