All pastes #2050724 Raw Edit

Unnamed

public text v1 · immutable
#2050724 ·published 2011-04-26 02:39 UTC
rendered paste body
MaxClients 256

HostnameLookups Off

NameVirtualHost *:81
Listen 81
Listen 80

DocumentRoot /rmccurdy

<IfModule mod_ssl.c>
    # SSL name based virtual hosts are not yet supported, therefore no
    # NameVirtualHost statement here
   # Listen 443
</IfModule>


ExtendedStatus On

<VirtualHost www.rmccurdy.com:80>

BandwidthModule On
ForceBandWidthModule On

MaxConnection 192.168.1.0/24 0
BandWidth 192.168.1.0/24 0

LargeFileLimit * 2000 20000




MaxConnection all 3


HostnameLookups Off

<Location /stats1>
    SetHandler server-status
    Order deny,allow
    Allow from all
   # Allow from localhost ip6-localhost
</Location>






       ServerAdmin webmaster@localhost

        DocumentRoot /rmccurdy
        <Directory /rmccurdy>
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /rmccurdy>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>


        ErrorLog /var/log/apache2/error.log

        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

</VirtualHost>

<IfModule mod_status.c>
<Location /stats1>
    SetHandler server-status
    Order deny,allow
    Allow from all
   # Allow from localhost ip6-localhost
</Location>

</IfModule>


ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 5
KeepAlive off
#MaxKeepAliveRequests 100
#KeepAliveTimeout 15
    StartServers          5
    MinSpareServers       50
    MaxSpareServers      200
    MaxClients          256
    MaxRequestsPerChild   2000
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/ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" 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/