Differences

This shows you the differences between two versions of the page.

Link to this comparison view

freebsd_apache_configuration [2015/06/01 22:15] – created - external edit 127.0.0.1freebsd_apache_configuration [2025/07/21 07:50] (current) – removed steve
Line 1: Line 1:
-====== FreeBSD Apache Configuration ====== 
  
-  * [[FreeBSD]] 
-  * [[FreeBSD Apache]] 
- 
- 
-== httpd-default.conf == 
- 
-<code> 
-sed -i '' -e 's/^Timeout .*/Timeout 15/' -e 's/^ServerTokens .*/ServerTokens Prod/' -e 's/^ServerSignature .*/ServerSignature Off/' /usr/local/etc/apache22/extra/httpd-default.conf 
-</code> 
- 
- 
-=== Configuration === 
- 
-Configuration files 
- 
-  * ''/usr/local/etc/apache22/httpd.conf'' 
-  * ''/usr/local/etc/apache22/extra/httpd-default.conf'' 
-  * ''/usr/local/etc/apache22/extra/httpd-info.conf'' 
-  * ''/usr/local/etc/apache22/extra/httpd-mpm.conf'' 
-  * ''/usr/local/etc/apache22/extra/httpd-ssl.conf'' 
-  * ''/usr/local/etc/apache22/extra/httpd-vhosts.conf'' 
- 
-=== httpd.conf === 
- 
-Default configuration settings: 
- 
-<code> 
-ServerRoot /usr/local 
-DocumentRoot /usr/local/www/apache22/data 
-Options Indexes FollowSymLinks 
-AllowOverride None 
-ErrorLog /var/log/httpd-error.log 
-CustomLog /var/log/httpd-access.log combined 
-ScriptAlias /cgi-bin/ /usr/local/www/apache22/cgi-bin/ 
-</code> 
- 
-Changes: 
- 
-  * Disable ''libexec/apache22/cgi_module'' 
- 
-=== httpd-default.conf === 
- 
-Default configuration settings: 
- 
-<code> 
-Timeout 300 
-KeepAlive On 
-MaxKeepAliveRequests 100 
-KeepAliveTimeout 5 
-ServerTokens Full 
-ServerSignature On 
-</code> 
- 
-  * Change ''Timeout'' to 15 
-  * Change ''KeepAlive'' to ''Off'' 
-  * Change ''ServerTokens'' to ''Prod'' 
-  * Change ''ServerSignature'' to ''Off'' 
- 
-=== httpd-info.conf === 
- 
-  * Update ''ExtendedStatus'' to ''On'' 
-  * Add ''Allow from localhost'' to manual and info 
- 
-=== httpd-ssl.conf === 
- 
-  * Remove default virtual hosts 
- 
-=== httpd-vhosts.conf === 
- 
-  * Remove default virtual host entries 
- 
-=== Logging === 
- 
-Log files: 
- 
-  * ''/var/log/httpd-error.log'' 
-  * ''/var/log/httpd-access.log'' 

Navigation
QR Code
QR Code freebsd_apache_configuration (generated for current page)