Red Hat NETWORK PROXY SERVER 3.7 - Manual de usuario Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 37
28 Configuring Your Secure Web Server
DirectoryIndex The DirectoryIndex is the defaultpage servedby the
server when a user requests an index of a directory by specifying a
forward slash (/) at the end of the directory name.
For example, when a user requests the page
http://www.yourserver.com/thisdirectory/, they are go-
ing to get either the DirectoryIndex page if it exists, or a server-
generated directory listing. The default for DirectoryIndex is
index.html index.shtml index.cgi. The server will try to
find any one of these three files, and will return the first one it finds.
If it doesn’tfind any of thesefiles, the serverwill generateand return
an HTML listing of the subdirectories and files in the directory.
Alias TheAlias setting allowsdirectoriestobeoutsidetheDocumentRoot
directory and yet still accessible to the web server. Any URL end-
ing in the alias will automatically resolve to the alias’ path. By de-
fault, one alias is already set up. An icons directory can be ac-
cessed by the URL http://www.yourserver.com/icons/. The
icons directory, an alias, is actually /home/httpd/icons/, not
/home/httpd/html/icons/.
ScriptAlias TheScriptAlias settingdefineswhereCGI scripts (or other
types of scripts) can be found. Generally, you don’t want to leave
CGI scripts within the DocumentRoot. If CGI scripts are in
DocumentRoot, they are visible as text documents. Even if you
don’t care if people can see (and then use) your CGI scripts, reveal-
ing how theywork createsopportunities for unscrupulous people to
exploit any securityholes inthe script,and maycreatea security risk
for your server. By default, the cgi-bin directory is a ScriptAlias
of/cgi-bin/,andisactuallylocatedin/home/httpd/cgi-bin/.
2.3.2 Other Directives in srm.conf
FancyIndexing FancyIndexing affects the appearance of server gen-
erated directory listings, by adding icons and descriptions, etc. If
FancyIndexing is turned on, clicking on the column headers will
sort the order of the display by that header. Another click on the
same header will switch from ascending to descending order and
back. FancyIndexing is set to on by default.
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 100 101

Comentarios a estos manuales

Sin comentarios