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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 101
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
2.3 srm.conf 27
2.3 srm.conf
The srm.conf file defines the server’s name space, how requests are ser-
viced and how request results areformatted.
2.3.1 Important Directives in srm.conf
DocumentRoot TheDocumentRoot isthedirectorywhich contains most
of the HTML files which will be served in response to requests. The
default DocumentRoot for both the non-secure web server and se-
cure web server is /home/httpd/html. For example, the server
might receive a request for the following document:
http://www.yourserver.com/foo.html
Theserverwill lookforthefollowing requestinthedefaultdirectory:
/home/httpd/html/foo.html
If you want to change the DocumentRoot so that it is no longer
shared by the secure web server and the non-secure web server, see
section 2.6 on page 36 for instructions.
UserDir UserDir is the name of the sub-directory within each user’s
home directorywhere they should placepersonal HTMLfiles which
are to be served by the web server. By default, the subdirectory is
public html. For example, the server might receive the following
request:
http://www.yourserver.com/˜username/foo.html
The server would look for the file:
/home/username/public_html/foo.html
In the above example, /home/username is the user’s home direc-
tory.
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 100 101

Comentarios a estos manuales

Sin comentarios