httpd.conf: inportant details for the actual server daemon - from the port to the output directory (listing 2).
# To be started in inetd as a stand alone? ServerType standalone # Port Port 80 # User/Group, as which the httpd is to run User nobody Group #-1 # ServerAdmin: who do reports/complaints go to ServerAdmin webmaster@dieser_server.domain # ServerRoot: server root directory, starting point for the output files ServerRoot /usr/local/www/ # BindAddress: support for virtual hosts # (IP-Adresse, Domainname oder "*") - see also VirtualHost. #BindAddress * # File for error reports (none / ServerRoot valid as base) ErrorLog logs/error_log # Access log (none / ServerRoot valid as base) TransferLog logs/access_log # PidFile (none / ServerRoot valid as base) PidFile logs/httpd.pid # Temporary information about the server # (none / ServerRoot valid as base) ScoreBoardFile logs/apache_runtime_status # ServerName (must be a DNS name) ServerName my.name.domain # CacheNegotiatedDocs: if the following like isn't 'commented out' # then the files cannot be kept by a proxy #CacheNegotiatedDocs # Timeout: (in seconds) compiled default is 20 minutes... Timeout 400 # The following values are sufficient for most servers... MinSpareServers 5 MaxSpareServers 10 # How many servers to begin at the start StartServers 5 # Maximum number of simultaneous requests MaxClients 150 # MaxRequestsPerChild: after how many requests a process "dies" MaxRequestsPerChild 30 # VirtualHost: if a server administers more than one IP address # and respectively process these requests # See also above: BindAddress. #<VirtualHost host.foo.com>#ServerAdmin webmaster@host.foo.com #DocumentRoot /www/docs/host.foo.com #ServerName host.foo.com #ErrorLog logs/host.foo.com-error_log #TransferLog logs/host.foo.com-access_log #</VirtualHost>
Dieser Text ist der Zeitschriften-Ausgabe 06/1996 von iX entnommen.
Parallelprogrammierung - die Kunst der Multi-Core-Nutzung
Agile ALM - agile Praktiken im Application Lifecycle Management
Webentwicklung - Applikationen für mobile Clients
HTML5, CSS3, WebGL: Das iX-Sonderheft zum Thema Webdesign fasst die wichtigsten Neuerungen der aktuellen und kommenden Webstandards zusammen.