httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Pettijohn <ed...@pettijohn.no-ip.biz>
Subject Re: [users@httpd] Almost There
Date Fri, 07 Nov 2014 09:07:41 GMT
What about the Includes?
On 11/06/2014 10:14 PM, Steve Matzura wrote:
> It occurred to me that apache2.conf might be what's wanted. Here it
> is, without the comments, and lots of white space removed.
>
> ServerRoot "/etc/apache2"
> LockFile /var/lock/apache2/accept.lock
> PidFile ${APACHE_PID_FILE}
> Timeout 300
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 15
>
> <IfModule mpm_prefork_module>
>     StartServers          5
>     MinSpareServers       5
>     MaxSpareServers      10
>     MaxClients          150
>     MaxRequestsPerChild   0
> </IfModule>
>
> <IfModule mpm_worker_module>
>     StartServers          2
>     MaxClients          150
>     MinSpareThreads      25
>     MaxSpareThreads      75 
>     ThreadsPerChild      25
>     MaxRequestsPerChild   0
> </IfModule>
>
> User ${APACHE_RUN_USER}
> Group ${APACHE_RUN_GROUP}
> AccessFileName .htaccess
>
> <Files ~ "^\.ht">
>     Order allow,deny
>     Deny from all
> </Files>
>
> DefaultType text/plain
> HostnameLookups Off
> ErrorLog /var/log/apache2/error.log
> LogLevel warn
> Include /etc/apache2/mods-enabled/*.load
> Include /etc/apache2/mods-enabled/*.conf
> Include /etc/apache2/httpd.conf
> Include /etc/apache2/ports.conf
> LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" vhost_combined
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
> Include /etc/apache2/conf.d/
> Include /etc/apache2/sites-enabled/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message