]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-httpd.conf
- note: start-stop-daemon only called when RC_LOGGING="no", but there's no
[packages/apache.git] / apache-httpd.conf
index 3168cec40a75d215c6d5649308cf1ea41b1511c2..25a390d40a5efc8f8c74bb0967c7b88c427e2a74 100644 (file)
@@ -22,7 +22,7 @@ Group http
 # ports, instead of the default. See also the <VirtualHost>
 # directive.
 #
-# Change this to Listen on specific IP addresses as shown below t
+# Change this to Listen on specific IP addresses as shown below to
 # prevent Apache from glomming onto all bound IP addresses.
 #Listen 192.168.1.1:80
 Listen 80
@@ -39,7 +39,7 @@ ServerAdmin you@example.com
 #
 # If your host doesn't have a registered DNS name, enter its IP address here.
 #
-#ServerName www.example.com:80
+ServerName localhost
 
 # ErrorLog: The location of the error log file.
 # If you do not specify an ErrorLog directive within a <VirtualHost>
@@ -53,11 +53,38 @@ ErrorLog logs/error_log
 # alert, emerg.
 LogLevel warn
 
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 5
+UseCanonicalName On
+AccessFileName .htaccess
+ServerTokens Full
+ServerSignature On
+HostnameLookups Off
+
 # Include other modules and packages config.
-# TODO: use conf.d here oneday
-Include httpd.conf/*.conf
+Include conf.d/*.conf
 
 # Include webapps config
 Include webapps.d/*.conf
 
-# vim:syn=apache
+<IfModule alias_module>
+       # ScriptAlias: This controls which directories contain server scripts.
+       # ScriptAliases are essentially the same as Aliases, except that
+       # documents in the target directory are treated as applications and
+       # run by the server when requested rather than as documents sent to the
+       # client.  The same rules about trailing "/" apply to ScriptAlias
+       # directives as to Alias.
+       #
+       ScriptAlias /cgi-bin/ "/home/services/httpd/cgi-bin/"
+
+       <Directory "/home/services/httpd/cgi-bin">
+               AllowOverride None
+               Options None
+               <IfModule mod_authz_host.c>
+                       Order allow,deny
+                       Allow from all
+               </IfModule>
+       </Directory>
+</IfModule>
This page took 0.03635 seconds and 4 git commands to generate.