httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Matzura ...@noisynotes.com>
Subject Re: [users@httpd] Almost There
Date Sat, 08 Nov 2014 16:30:17 GMT
Apollogies for having taken so long to reply with updated status.

I suspect my old installatioin of Apache 2.2.4 is buggered. There is
absolutely no httpd program anywhere on the system, and the official
documentation keeps telling me if I use:

httpd -S

I can get an analysis of what's going on in httpd.conf to make some
kind of intelligent guess at what Apache is doing with the inbound
service request.

I do have a fresh installation of the latest (as of August, 2014)
Apache. I think I'm going to try this implementation on that system
and see if it behaves better. One of the things that has also troubled
me is that in the sites-enabled directory, there is only one site
file, the one listed for the server's main Web address, leading to the
question of how the second one gets created.

More later.

On Fri, 07 Nov 2014 03:07:41 -0600, you wrote:

>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
>

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


Mime
View raw message